File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

could not find Java 2 Runtime Environment.

 
bujji adapa
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 245
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic