views:

151

answers:

1

We have a java desktop application. App was working fine before updates had been taken and now it isn't working with java 1.6 on mac OS x leopard.

We replaced our JavaApplicationStub of app and it's working again from location.

/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub

We are looking to make app compatible for both java 1.5 and 1.6 without replacing JavaApplicationStub manually.

  • Do we have any other option then replacing JavaApplicationStub?
  • What change in Info.plist will make our app compatible for both java 1.5 and 1.6?
  • Also we would like to know, at present 1.4+ value is being set to JVMVersion key. So why didn't it support for higher version from 1.4, i.e. for java i.5 and java 1.6?
A: 

Your question could be phrased more clearly... did it stop working in 1.5 or 1.6? Assuming you have the source, what errors do you get when compiling with 1.6?

Alphax