I've had this problem on OS X 10.5 Server you need to put this in 
/etc/launchd.conf 

setenv JAVA_VERSION 1.6
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

But... if you use the CoreImage JNI with ERAttachment you are going to have to 
use a different image conversion library like ImageMagick.  OS X 10.5 is a 32 
bit OS and there is only a 64 bit JavaVM for Java 6.  I spent a lot of time on 
that one >:(

Best,

Johnny

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail        

On Jun 6, 2013, at 12:37 PM, David Holt <[email protected]> wrote:

> Hi Johann
> 
> Thanks for that. It turns out that it IS related to the java class.
> 
> JavaMonitor is starting the app in Java 1.5.
> 
> The command line is using Java 1.6
> 
> Does anyone know why there might be a discrepancy here?
> 
> 
> 
> 
> 
> On 2013-06-06, at 12:28 PM, Johann Werner <[email protected]> wrote:
> 
>> Hi David,
>> 
>> I vaguely remember that that warning does not necessarily mean the Java 
>> version number of your jars is wrong but the cfBundleVersion of the 
>> framework is not parseable (I think its in the Info.plist file of the 
>> framework).
>> 
>> jw
>> 
>> 
>> Am 06.06.2013 um 21:04 schrieb David Holt <[email protected]>:
>> 
>>> Hi all,
>>> 
>>> Just when I thought I'd seen everything deployment could throw at me….
>>> 
>>> I had an app giving me malformed version number errors for the App and 
>>> Model framework. I discovered that there are some jars in Wonder that are 
>>> version 50 so I thought I'd switch java versions on the server rather than 
>>> try and fight Wonder.
>>> 
>>> I switched the server Java version to Java 1.6
>>> 
>>> I rebuilt the App and Model framework in eclipse with compiler settings set 
>>> to 1.6. There are no errors on my development box when I run in eclipse.
>>> 
>>> Now when I try to deploy the app with fully embedded frameworks I can start 
>>> it on the command line (it still complains about malformed version numbers).
>>> 
>>> I don't know why the app won't start in JavaMonitor and produces no log
>>> 
>>> I have deleted the app and model framework and rebuilt everything.
>>> 
>>> Have I missed something?
>>> 
>>> thanks,
>>> David
>> 
> 
> 
> _______________________________________________
> 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/jlmiller%40kahalawai.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]

Reply via email to