View Full Version : help this is about java
da one
04-21-2007, 10:00 PM
my %^%$ computer say when im tring to compile .java file
javac is not recognisebal as internal or external command.......
ive installed jdk 6
is there a specific path to install jdk
im new 1 for this $#$$ java
help
Alaya
04-23-2007, 09:02 AM
No idea macho
amlsoft
04-23-2007, 09:13 AM
I can help u, but i dont have clear idea about the problem domain...........
do u have the .java file ?
Anusha
04-23-2007, 09:17 AM
You have to set the "path" if you wanna compile from anywhere. Otherwise you have to set the working directory to where javac.exe is located (in bin folder inside the directory jdk is installed to) and compile. This is not practical.
Follow these steps to add bin folder to path variable.
Go to:
System Properties -> Advanced (tab) -> Environment Variables
In User Variables for <user>, created New variable. Name = Path, Value = path of the bin folder inside jdk folder. Eg: C:\Program Files\jdk-1.5\bin
Press OK and close it.
Now it should work.
da one
04-23-2007, 09:53 PM
thnx ive solved it
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.