installation of JDK-6 does not allow me to do javac from the command line
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?
Re: installation of JDK-6 does not allow me to do javac from the command line
Sure, but you probably need to configure PATH yourself. Search the forum, it has been asked often enough. The instructions are the same for 6 as for any other version.
Re: installation of JDK-6 does not allow me to do javac from the command line
thansk for the reply
i will configure the path, why doesn't the installation configure the path by itself?
Re: installation of JDK-6 does not allow me to do javac from the command line
Several reasons.
1) The combined installation may not be meant to be used from the command line. After all, you've got the IDE, don't you?
2) Messing with the PATH is problematic. You never know what is already in there? What if another JVM is already in there? Can you be sure the user wants you to override it?
Re: installation of JDK-6 does not allow me to do javac from the command line