Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
JDK 7 with JavaApplicationStub
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JDK 7 with JavaApplicationStub



I just installed the JDK 7, which I just noticed is now available from Oracle for MacOS (https://blogs.oracle.com/java/entry/five_update_java_releases).

I have a problem: My Java application (using JavaApplicationStub for starting) does not see it.

The details:

 - JDK 7 installs into /Library/Java/JavaVirtualMachines/1.7.0.jdk

 - JDK 6 is in /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

 - I have reordered the JDKs in the Java preferences to put 7 on top
   (thus, Java preferences correctly sees both the JDK 6 and 7 installations)

 - java -version in the terminal now shows
	java version "1.7.0_04"
   as hoped

However, launching my own bundled Java application still uses 1.6.0_31. I am assuming that JavaApplicationStub does not see the 1.7 installation.

Any hints on how to resolve this?

Regards,

Michael
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.