简体   繁体   中英

how to make app compatible for both java 1.5 and 1.6?

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, ie for java i.5 and java 1.6?

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM