installation of JDK-6 does not allow me to do javac from the command line (Sorry :D )

rookie1010

Senior member
Mar 7, 2004
984
0
0
Hello

I installed jdk-6 ( Java SE Development Kit and NetBeans IDE Cobundle (JDK 6 / NB 5.5) Final Release) from the
sun site

onto my laptop. and tried to compile a java class using the following command line
Javac Server.java

i get the error message

"'javac' is not recognised as an internal or external command, operable program or batch file."

does not the installation of netbeans IDE 5.5 mean that i can using java at the command line?
 

rookie1010

Senior member
Mar 7, 2004
984
0
0
thanks for the replies

i have added the path for java/bin to the user variable

what is the difference between user variables and system variables, why do i need to add the path for java executbales to user variables, but not for system variables?
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
User variables apply only to you and system variables apply to everyone on that computer. It shouldn't matter if you use a system or user variable so long as it ends up applied to your environment.