Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Java runtime error cannot find java.dll
tomcat not starting
j2sdkee1.2.1 and The Sun' Tutorial Exercise 1
how to run in JDK 1.5.1
Not able to run java.exe from command prompt!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013