KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones


Download JDK 5.0 from

It will began to install by itself. Click on all "OK" buttons.

Now you have JAVA compiler on your machine. When you try to compile a java file , you need type the full path to javac.exe, e.g, somthing like "C:\Program Files\Java\jdk1.5.0_04\bin\javac". If you want to just type "javac" to compile JAVA file, you need setup your path enviorment variable and make "javac.exe" available to every path.

Following is an example for setting path variable in "Windows XP home edition"

Click on "Start" button on lower left corner.

Click on "Control Panel"

You will see Control Panel Window. Then Click on "Performance and Maintenance".

Then click on "System icon"

Now, you will see "System Properties" window. Choose the "Advance" tab. On this tab, click on "Environment variables".

You will see of new window

Double click on the line starting with "Path". You will see

Move cursor to the end of "Variable value:" and put ";" to the end, then add your full path to JDK bin directory, like "C:\Program Files\Java\jdk1.5.0_04\bin". Click "OK" buttons to close all opened windows.

Test javac, open one "Command Prompt" window, which could be found under Start->"All programs"->"Accessories"

Type javac. press "enter"

You should be able to see:

Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are u

Congratulations! You are set to go!


Try & Catch Exceptions
How to install JDK
Homework Solutions
JAVA JComboBox
JAVA JTabbedPane
Java JList
Best JAVA books
Head First JAVA, Second Editon

Effective Java Programming Language Guide

Professional Java, JDK 5 Edition

Ivor Horton's Beginning Java 2, JDK 5 Edition




Best books about JAVA programming from Amazon
Professional Java, JDK 5 Edition (Paperback Simply Java Programming: An Application-Driven Tutorial Approach (Paperback) Effective Java Programming Language Guide (Paperback) Head First Java, 2nd Edition (Paperback) Java : An Introduction to Problem Solving and Programming (4th Edition)


Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © All rights reserved(new). Privacy|Copyright
designed by

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer