|
From: Sal I. <sal...@sy...> - 2003-10-29 18:55:24
|
this seems to have little to do with the wrapper. the problem you're seeing is an unfortunate screw up on sun's side. i've seen it before. it happens when you install 1.4 so 1. verify that if you type java from the command line you should also get this error: Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.4', but '1.3' is required. 2. regedit "Software\JavaSoft\Java Runtime Environment\CurrentVersion" and set the value to 1.3 note that when you do this, any 1.4 program you're running might stop functioning, so be ready to set it back if that happens. 3. run java from the command prompt & make sure it doesn't give you the error 4. run "java -version" to see which version you're using 5. if you still have a version mismatch, remove java.exe from %WinDir%. that's where the 1.4 installation puts it. note that because of this, even if you point JAVA_HOME to your 1.3 installation & you put "%JAVA_HOME%\bin" in your path, it's still the %WinDir% version that gets picked up. don't know why the sun guys are doing this, it goes against all we've learned in the past few years about %WinDir%!!! run "java -version" to make sure you're running the right version 6. try with the wrapper! 7. if this still fails look at the log file for more errors. -----Original Message----- From: wra...@li... [mailto:wra...@li...]On Behalf Of Williams, Rhian Sent: Wednesday, October 29, 2003 10:22 AM To: 'wra...@li...' Subject: [Wrapper-user] error starting service Hi, I am using the WrapperSimpleApp helper class to launch my application. Everything works fine when I run the myapp.bat file and I installed it as a service. However when I try and start the service I an internal NT error and the following is written to the log files I initially thought this might be because the JAVA_HOME pointed to java 1.3 version, however I changed this to point to the 1.4 java and I still got the same error I would really appreciate any tips INFO | jvm 5 | 2003/10/29 19:01:52 | Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' INFO | jvm 5 | 2003/10/29 19:01:52 | has value '1.4', but '1.3' is required. INFO | jvm 5 | 2003/10/29 19:01:52 | Error: could not find java.dll INFO | jvm 5 | 2003/10/29 19:01:52 | Error: could not find Java 2 Runtime Environment. ERROR | wrapper | 2003/10/29 19:01:52 | JVM exited while loading the application. Regards, Rhian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |