
05-12-2008, 05:25 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,959
|
|
You have to set the class path for working folder. Otherwise you can't compile it.
Here is the simple way to do it.
Say your working folder is D:\JavaTest and the JDK installation folder is C:\Java\jdk1.6.0_05
Open the command prompt and change the working path to D:\JavaTest Then type this,
D:\JavaTest\>path=c:\Java\jdk1.6.0_05\bin\
Then type javac there. You get the possible options with Java, if you do it correctly.
But in this way, each time you start work on Java, have to repeat. If you how to change the AUTOEXEC.BAT file, no need to repeat this.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. (Close on September 4, 2008)
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|