Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

typing javac at command prompt works, java does not

843804Feb 28 2004 — edited Apr 4 2004
I'm on Windows XP Home. The installation appears successful. I can see a Java folder in my Program Files with the j2re1.4.2_03 directory in it.

j2sdk1.4.2_03 is on root of C: and I set the Path to its bin directory

typing javac in command prompt shows:
-g
-g:none
-g:<lines,vars, source>
-nowarn
-verbose
-deprecation
-classpath
etc.

typing java shows:
Error opening registry key 'Software/JavaSoft/Java Runtime Environment'
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment

I can see the java.dll file in my Program Files/j2re1.4.2_03 directory.

Anyone have any suggestions for a newbie?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2004
Added on Feb 28 2004
1 comment
153 views