File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes a secondary problem from JRun installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "a secondary problem from JRun installation" Watch "a secondary problem from JRun installation" New topic
Author

a secondary problem from JRun installation

Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Now I've got another problem related to installation of JRun.
When I try to run the program Leap with the arg of 2000, this is what I get:

C:\JavaClass>java Leap 2000
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.2', but '1.3' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

During the install I chose jdk1.2.2 both for the "Select a Java runtime" box (the default) and the next info box told me that I was using the 1.2.2 JVM.

What's going on here?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
you should use the 1.3 jvm.try that it might work.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20545
    ∞

It sounds like you somehow compiled with 1.3 and are running with 1.2.
Take a look at your path and see if you have a reference to a 1.3 VM somewhere.


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Hi, I have had the same problem but it was while ago.
I believe that JRun comes with jdk 1.2.2 ( or maybe just jre). when You are installing JRun there is an option to include it or not. I guess You chose to include it so it has come on top of the 1.3 that has already been installed. That is why the windows file containing registry keys has changed. So I say, remove 1.2.2 and remove JRun. Then install 1.3 again and install JRun but without jdk but just give it a path to the 1.3 that is already installed. That should correct the JRun too, and it should run fine.

I hope this helps.
Vladan
[This message has been edited by Vladan Radovanovic (edited December 13, 2000).]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Originally posted by Vladan Radovanovic:
I believe that JRun comes with jdk 1.2.2 ( or maybe just jre). when You are installing JRun there is an option to include it or not. I guess You chose to include it so it has come on top of the 1.3 that has already been installed. That is why the windows file containing registry keys has changed. So I say, remove 1.2.2 and remove JRun. Then install 1.3 again and install JRun but without jdk but just give it a path to the 1.3 that is already installed. That should correct the JRun too, and it should run fine.

I uninstalled 1.2.2 and 1.3 and JRun. Reinstalled 1.2.2. Same problem. Uninstalled 1.2.2 and reinstalled 1.3. Good so far. Reinstalled JRun. Doesn't work. See my other post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a secondary problem from JRun installation