|
From: Niambh S. <NSc...@cu...> - 2010-07-23 14:59:43
|
Have you this property set wrapper.java.command=%JAVA_HOME%\bin\java N.. -----Original Message----- From: Tasso Angelidis [mailto:ta...@rb...] Sent: 23 July 2010 15:56 To: wra...@li... Subject: Re: [Wrapper-user] UnsupportedClassVersionError My wrapper.conf doesn't specify the version. The only jre installed in eclipse (Windows, Preferences, Installed JREs) is jre6 and it's pointing to the JRE not the JDK -----Original Message----- From: Niambh Scullion [mailto:NSc...@cu...] Sent: Friday, July 23, 2010 10:40 AM To: wra...@li... Subject: Re: [Wrapper-user] UnsupportedClassVersionError Can you check what version of java you built the application with and is it the same version of java that is set in the wrapper.conf. Niambh -----Original Message----- From: Tasso Angelidis [mailto:ta...@rb...] Sent: 23 July 2010 15:15 To: wra...@li... Subject: [Wrapper-user] UnsupportedClassVersionError Hi I tried wrapper 3.3.9 and the latest 3.5.2 My application was working a couple of weeks ago until I had to rebuild my application jar and now I'm getting... INFO | jvm 1 | 2010/07/22 16:48:15 | WrapperSimpleApp: Class com.mycom.MyApp found but could not be initialized: java.lang.UnsupportedClassVersionError: Bad version number in .class file I'm using JDK 1.6u20 b02 The application inside eclipse works fine. ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. |