Hi Johnny, If you are using Mac OS X Server 10.5 (don't know if same behavior with Mac OS X client), the cause is that the launch script of wotaskd "uses" java 5 whatever the java settings you choose.
There is some minor modification at the OS level. I try to retrieve that and I'll keep you posted. Philippe On 8 janv. 2013, at 03:15, Johnny Miller wrote: > Could the org.eclipse.jdt.launching.JRE_CONTAINER be causing the problem? > > <?xml version="1.0" encoding="UTF-8"?> > <classpath> > <classpathentry kind="src" path="Sources"/> > <classpathentry kind="con" path="WOFramework/ERExtensions"/> > <classpathentry kind="con" path="WOFramework/ERJars"/> > <classpathentry kind="con" path="WOFramework/ERPrototypes"/> > <classpathentry kind="con" path="WOFramework/JavaWOExtensions"/> > <classpathentry kind="con" path="WOFramework/WOOgnl"/> > <classpathentry kind="con" path="WOFramework/JavaEOAccess"/> > <classpathentry kind="con" path="WOFramework/JavaEOControl"/> > <classpathentry kind="con" path="WOFramework/JavaFoundation"/> > <classpathentry kind="con" path="WOFramework/JavaJDBCAdaptor"/> > <classpathentry kind="con" path="WOFramework/JavaWebObjects"/> > <classpathentry kind="con" path="WOFramework/JavaXML"/> > <classpathentry kind="con" > path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > <classpathentry kind="con" path="WOFramework/KMIAddressBookModel"/> > <classpathentry kind="con" path="WOFramework/KMIContentModel"/> > <classpathentry kind="con" path="WOFramework/KMIExtensions"/> > <classpathentry kind="con" path="WOFramework/KMIFoundation"/> > <classpathentry kind="con" path="WOFramework/MooTools"/> > <classpathentry kind="con" path="WOFramework/KMIAuthenticationModel"/> > <classpathentry kind="con" path="WOFramework/KMIWebCMSBusinessLogic"/> > <classpathentry kind="con" path="WOFramework/ERAttachment"/> > <classpathentry kind="lib" > path="Libraries/postgresql-9.1-902.jdbc3.jar"/> > <classpathentry kind="lib" path="Libraries/mail.jar"/> > <classpathentry kind="con" path="WOFramework/PostgresqlPlugIn"/> > <classpathentry kind="con" path="WOFramework/KMIECommerceModel"/> > <classpathentry kind="output" path="bin"/> > </classpath> > > > > On Jan 7, 2013, at 4:05 PM, Chuck Hill <[email protected]> wrote: > >> Check the classpath file in the apps. They can specify a different JVM. >> >> >> On 2013-01-07, at 5:07 PM, Johnny Miller wrote: >> >>> I think I'm running Java 1.6? >>> >>> If I run "which java" from the command line I get /usr/bin/java and if I >>> run java -version I get Java 1.6.0_26. >>> >>> Is there something else I can check? >>> >>> On Jan 7, 2013, at 2:58 PM, Chuck Hill <[email protected]> wrote: >>> >>>> Are you SURE you are running with a 1.5 JVM on that machine? >>>> >>>> >>>> On 2013-01-07, at 4:53 PM, Johnny Miller wrote: >>>> >>>>> Hi, >>>>> >>>>> I have a system running OS X 10.5.8 with Java 1.6.0_26 >>>>> >>>>> I've been compiling applications for this environment for Java 1.5. But >>>>> I had an app that was using ERXFileUtilities.stringFromFile(File f) and >>>>> that requires Java 1.6 in the newer versions of Wonder. So I tried >>>>> compiling my app for Java 1.6 but when I go to deploy it I get the >>>>> following error: >>>>> >>>>> /Library/WebObjects/Extensions/ >>>>> java.lang.UnsupportedClassVersionError: Bad version number in .class file >>>>> at java.lang.ClassLoader.defineClass1(Native Method) >>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:676) >>>>> at >>>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) >>>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >>>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:56) >>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195) >>>>> at java.security.AccessController.doPrivileged(Native Method) >>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:317) >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252) >>>>> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84) >>>>> >>>>> I'm kind of confused how to fix this... does anybody have a suggestion? >>>>> >>>>> Aloha, >>>>> Mr. Johnny Miller >>>>> Web Development Manager >>>>> Kahalawai Media Company >>>>> Lahaina, HI 96761 >>>>> tel: (808) 661-7962 | mobile: (808) 283-0791 >>>>> website | e-mail >>>>> >>>>> _______________________________________________ >>>>> Do not post admin requests to the list. They will be ignored. >>>>> Webobjects-dev mailing list ([email protected]) >>>>> Help/Unsubscribe/Update your Subscription: >>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >>>>> >>>>> This email sent to [email protected] >>>> >>>> -- >>>> Chuck Hill Senior Consultant / VP Development >>>> >>>> Practical WebObjects - for developers who want to increase their overall >>>> knowledge of WebObjects or who are trying to solve specific problems. >>>> http://www.global-village.net/gvc/practical_webobjects >>>> >>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest >>>> Growing Companies in B.C! >>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of >>>> Canada’s Fastest-Growing Companies by PROFIT Magazine! >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their overall >> knowledge of WebObjects or who are trying to solve specific problems. >> http://www.global-village.net/gvc/practical_webobjects >> >> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest >> Growing Companies in B.C! >> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of >> Canada’s Fastest-Growing Companies by PROFIT Magazine! >> >> >> >> >> >> >> >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
