|
From: Leif M. <le...@ta...> - 2006-01-13 19:54:08
|
Matthew, Most likely you are not running with the JVM that you think you are. If you are using the following in your config file then the Wrapper will be locating java on the system path: wrapper.java.command=java Try doing something like this: wrapper.java.command=%JAVA_HOME%/bin/java You can see what is being run by adding the property: wrapper.debug=true Cheers, Leif Matthew Pearson wrote: > > Hi, > > I'm trying to run a Java app using Java Service Wrapper on Linux. The > application runs fine > by itself, but when I try to run it using the script method described > on the Java Service Wrapper > web site I get a class file versioning error: > > [mp49@pc003 bin]$ run_ddh console > Running DdhMonitorService... > wrapper | --> Wrapper Started as Console > wrapper | Launching a JVM... > jvm 1 | java.lang.UnsupportedClassVersionError: > gda/ddh/monitor/DdhMonitorService (Unsupported major.minor version 49.0) > etc..... > > I'm using the latest JDK (version 5_06), so I'm not sure what's > causing this. A google search didn't help much. > > Thanks, > Matthew |