A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Java runtime error cannot find java.dll
Joined: Aug 31, 2005
Oct 30, 2005 10:00:00
When I compile any
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.
Joined: Oct 12, 2004
Oct 31, 2005 13:14:00
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 ]
Joined: Feb 21, 2006
Feb 27, 2006 16:30:00
You may want to have a look at this
B&S(2.3.1)<br />There are no stupid questions. Answers maybe
I agree. Here's the link:
subject: Java runtime error cannot find java.dll
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015