aspose file tools*
The moose likes Beginning Java and the fly likes Need Urgent Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need Urgent Help" Watch "Need Urgent Help" New topic
Author

Need Urgent Help

vahid isabeigi
Greenhorn

Joined: Oct 25, 2004
Posts: 1
Greetings folks. I have recently undertaken an incomplete project in Java and in order to obtain the required files, I have downloaded the following components into my PC (I am using Xp, by the way):

--J2SE Development Kit 5.0 (With netBeans IDE 4.0 Beta 2)
--Java Media Framework 2.1.1e

After having completed the installation process, I tried typing in "java.exe" in the command prompt for a test. However, the below are the messages I have received:

"Error opening registry key 'Software\JavaSoft\Java Runtime Environment' "
"Error: could not find java.dll"
"Error: could not find Java 2 Runtime Environment"

Additionally, when I happen to run the portion of the project that has been completed, I come across the following message:

"Error: could not find Java 2 Runtime Environment"

I would be very grateful if any of you could render me his/her assistance. I am stuck at this point and am supposed to make progress until a specified time frame. The above mentioned hindrance has been costing me a lot of time. Any help will be deeply appreciated.

Best Regards,
Vahid Isabeigi
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

This may not have been the best forum of javaranch for this post.

Java in General may be better.

My only suggestion is to reinstall. I don't recommend playing around with registration keys on a computer you use for work unless you know exactly what to change.


A good workman is known by his tools.
Mike Gershman
Ranch Hand

Joined: Mar 13, 2004
Posts: 1272
If you are running a recent version of Windows, uninstall your Java stuff, then run System Restore to go back to a day before you installed Java, then reinstall Java and try java.exe again.

If that doesn't work, re-download Java and try the whole thing again, going back as far as you can in System Restore.

If that doesn't work, you may have to reinstall Windows. Ask your company's Windows System Administration group.


Mike Gershman
SCJP 1.4, SCWCD in process
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'd recommend uninstalling every JRE and JDK from your machine, restarting, then installing whatever JDK/JRE you want.

If that doesn't work, there might be an environment variable or two (e.g. PATH and JAVA_HOME) that could use adjusting. If you'd like help setting those, just ask.

If that doesn't work, post again and I'd be glad to point out the documentation on Windows registry settings used by the JRE. (At the moment, I don't recall where they are, but I can find them.)


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
Don't get me started about those stupid light bulbs.
 
subject: Need Urgent Help