Forums Register Login

Java runtime error cannot find java.dll

+Pie Number of slices to send: Send
When I compile any java file it is getting compiled properly, but while executing it shows the following error in the command prompt.

Failed reading value of registry key:
Sofware\JavaSoft\Java Runtime Environment\CurrentVersion

Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
+Pie Number of slices to send: Send
I haven't got this error.
A few more information may be needed.
How are you running the java programs? Are you using an ide like eclipse or are you running it at commandline?

Is the java compiler and jre same version?


could not find Java 2 Runtime Environment


How did you install the java? The installation could be wrong or not matching for the compiled code.

If you are not sure try reinstalling jre. There should not be more than 1 jre installed.
[ October 31, 2005: Message edited by: jiju ka ]
+Pie Number of slices to send: Send
You had your fun. Now it's time to go to jail. Thanks for your help tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 13653 times.
Similar Threads
tomcat not starting
j2sdkee1.2.1 and The Sun' Tutorial Exercise 1
Not able to run java.exe from command prompt!
how to run in JDK 1.5.1
Help!!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:01:41.