Computing.Net > Forums > Programming > JDK6 not installed properly

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

JDK6 not installed properly

Reply to Message Icon

Name: lxggogettas
Date: July 2, 2009 at 15:33:09 Pacific
OS: Microsoft Windows Vista Ultimate
CPU/Ram: 1.5 GHz / 1013 MB
Product: Hewlett-packard / Hp pavilion dv6500 notebook pc
Subcategory: Java
Comment:

Hi am new to programming though i really like it.i
downloaded
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???



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: July 3, 2009 at 09:58:15 Pacific
Reply:

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:

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys
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
correctly.

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
imply.


0

Response Number 2
Name: lxggogettas
Date: July 5, 2009 at 03:42:32 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: JDK6 not installed properly

P+D Wizard, My App will not install www.computing.net/answers/programming/pd-wizard-my-app-will-not-install/2321.html

please help (VC++) www.computing.net/answers/programming/please-help-vc/5522.html

linux prog. www.computing.net/answers/programming/linux-prog/6861.html