How do I make my application compatible for both java 1.5 and 1.6?

We have an application for Java applications. The app worked fine before the updates were made and now it doesn't work with java 1.6 on Mac OS x leopard.

We replaced our JavaApplicationStub application and it works from location again.

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

We are trying to make the application compatible for both java 1.5 and 1.6 without manually replacing the JavaApplicationStub .

  • Do we have any other option, replacing JavaApplicationStub ?
  • What change to Info.plist will make our application compatible with both java 1.5 and 1.6?
  • We would also like to know that the value 1.4+ is currently set to the JVMVersion. So why didn't it support the higher version from 1.4, i.e. for java i.5 and java 1.6?
+2


a source to share


1 answer


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



0


a source







All Articles