JavaApplicationStub Compatibility with all java versions

Posted by neelamsharma on Server Fault See other posts from Server Fault or by neelamsharma
Published on 2010-05-06T07:21:30Z Indexed on 2010/05/06 7:28 UTC
Read the original article Hit count: 269

Filed under:
|
|

Hi, I am running a Java application on Mac Leopard & on Mac Mini. My Mac Mini upgraded, it is using Java Version 1.6.0_17 and Mac Leopard have version 1.5.0_13. To run that application on Mac Mini I have to copy JavaApplicationStub from path -"/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub" to my application "Content/Resources/Java". But this application successfully run on Mac Leopard. If I do not copy stub at Mac Mini then I am unable to launch application using app by double click, it shows icon for few second then disappears, so in that case I have to run application with its jar. I want that without copying explicitly JavaApplicationStub, how can I run app with all versions of java. If this possible then what changes I have to made?

The info.plist file contain JVMVersion is 1.4+.

Thanks!

© Server Fault or respective owner

Related posts about java

Related posts about macosx