Application is using Java 6 from Apple instead of Java 7 from Oracle on Mac OS X?

后端 未结 5 1782
走了就别回头了
走了就别回头了 2020-11-30 17:26

I am testing my current application with Mac OS X which has Java 7 from Oracle installed. Instead using Java 7 from Oracle, it\'s using Java 6 from Apple. The default system

5条回答
  •  死守一世寂寞
    2020-11-30 18:21

    The Java version required by the app is probable specified in the application's metadata. If you right-click on the app and select Show Package Contents and browse to the Info.plist file, you should find entries which define the JVM that the application will use. E.g.

        JVMVersion
        1.5
    

    OSX may choose to use a lower JVM if the application requests it.

提交回复
热议问题