Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do I need to do to stop my Java app from triggering the Java 6 legacy download on OS X

I have a Java app available for 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 the legacy Java SE 6 runtime." This is obviously a non-optimal experience for users. Besides which, I'd like it to use Java 8 so it can benefit from better security/performance/fixes etc.

What do I need to change about the way I package my app so it can just use the latest Java?

BTW My Info.plist file has JVMVersion set to 1.5+ and I've tried changing it to 1.8+ but that has no effect.

like image 514
nevster Avatar asked Sep 26 '22 08:09

nevster


1 Answers

It appears from Java 8, this is the way Oracle means for it to be done:

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

like image 169
nevster Avatar answered Oct 13 '22 02:10

nevster