What do I need to do so that my Java application does not start loading Java 6 on OS X

I have a Java application to download (AuctionSieve).

When you try to run it on OS X El Capitan (or Mavericks), it pops up "To open AuctionSieve, you need to install an outdated Java SE 6 runtime." This is certainly not an optimal experience for users. Also, I would like it to use Java 8 so that it can get better protection / performance / fixes etc.

What do I need to change about how I package my application so that it can just use the latest Java?

BTW In the Info.plist file, JVMVersion is set to 1.5+, and I tried changing it to 1.8+, but this has no effect.

+5
source share
2 answers
+3
source

It comes from Java 8, since Oracle means it needs to be done:

https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javapackager.html

+1
source

Source: https://habr.com/ru/post/1234775/


All Articles