aspose file tools*
The moose likes Servlets and the fly likes could not find Java 2 Runtime Environment. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "could not find Java 2 Runtime Environment." Watch "could not find Java 2 Runtime Environment." New topic
Author

could not find Java 2 Runtime Environment.

bujji adapa
Greenhorn

Joined: Oct 17, 2001
Posts: 11
I've been using jsdk2.0 server from a long time.As of sudden today it's giving me the following error.
C:\JSDK2.0\bin>servletrunner
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.1', but '1.3' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
java.exe: No error
Can anybody help me in this regard?
bujji.
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
this sounds like an error in your classpath. It looks to me like your classpath has been changed so that the server is finding java.exe that microsoft provide (in the winnt/win32 folder) instead of the one in c:/jdk1.3/bin.
first of all make sur that c:\jdk1.3\bin is the first thing in your classpath - if you still have problems then please shout and i will try and help again
------------------
Chanoch Wiggers
Architect for Professional Java Mobile Programming


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: could not find Java 2 Runtime Environment.