• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Urgent Help

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.)
 
reply
    Bookmark Topic Watch Topic
  • New Topic