|
From: Leif M. <le...@ta...> - 2010-02-20 20:12:40
|
Javier, The error message you are getting is coming from the Java process, not the Wrapper itself. It looks like Java is somehow getting confused. Could you please try running the following from a command prompt and see what you get? X:\jdk1.6.0_18\bin\javaw.exe -version If that does not cause an error, my next questions will be: 1) Are you running as a service or in a console? 2) If as a service, what happens if you run in a console. (Could be a different environment) Also, when using the Wrapper, you should use the java.exe binary rather than javaw.exe. The Wrapper process makes use of Java's console. wrapper.java.command=X:\jdk1.6.0_18\bin\java.exe Cheers, Leif On Sun, Feb 21, 2010 at 12:12 AM, Javier Godoy <ma...@rj...> wrote: > After I installed Java 7 on my system, the wrapper refuses to start, but > configuration file specifies a 1.6 JVM not 1.7 > > wrapper | Java Service Wrapper Community Edition 32-bit 3.3.9 > wrapper | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights > Reserved. > wrapper | http://wrapper.tanukisoftware.org > wrapper | > wrapper | Launching a JVM... > jvm 1 | Registry key 'Software\JavaSoft\Java Runtime > Environment\CurrentVersion' > jvm 1 | has value '1.7', but '1.6' is required. > jvm 1 | Error: could not find java.dll > > Currently my only setting affecting the JVM is > wrapper.java.command=X:\jdk1.6.0_18\bin\javaw.exe > > It seems as if the wrapper is looking for the JRE at the registry, can I > configure it to use a specified JRE? > > > Regards > > Javier |