JDK6 not installed properly

Hewlett-packard / Hp pavilion dv6500 notebo...
July 2, 2009 at 15:33:09
Specs: Microsoft Windows Vista Ultimate, 1.5 GHz / 1013 MB
Hi am new to programming though i really like it.i
JDK 6 from net but sth went wrong. i installed
with wizard fully in java folder and with help
4rm book(java6 in 21 days by cadenhead)
when i type in java -version command in c..
line it gives me the full version info.
but the command line does not recognize the
javac command necessary for compiling
source files.i changed system path in env't
variables(SYS properties) to c:\Program
Files\Java\jdk1.6.0\bin but command for javac
is not recogized. Any help is v much
appreciated thnx in advance
Is netbeans easier to use than JDK 6???

See More: JDK6 not installed properly

Report •

July 3, 2009 at 09:58:15
Start a new Command Prompt window and type PATH at the
C:\> prompt. You should see something like this, all on one
line that possibly wraps around so it looks like several lines:

tem32\Wbem;C:\Program Files\Java\jdk1.6.0_14\bin

Just make sure it includes the JDK directory (which typically
includes the update number e.g. _14 and not just 1.6.0) Then
copy that directory name into your clipboard and do:

C:\> DIR "C:\Program Files\Java\jdk1.6.0_14\bin"

and make sure javac.exe is listed.

The reason java -version works is that the installation copies
java.exe into C:\Windows\system32 but javac.exe remains in
the JDK bin directory. You probably haven't set up the PATH

Finally, NetBeans is a development environment that requires
the JDK to be present before you can install it. By all means
use it if you want, but it's not an alternative to the JDK as you

Report •

July 5, 2009 at 03:42:32
yup its now workingvery perfectly.thnx klink for that technical support.thnk al now start learning java.cud anyone be having better ideas on which languages to start with.am doing java and C.am also learning some web designing
.i just want to get to know some stuff whch i can use to employ my sel;f

Report •

Related Solutions

Ask Question