Noble Bell wrote:What are developers doing to run their software on a Mac? Is there a way to create an installer, for free, that will detect and install missing or out of data JRE on a Mac silently?
Bear Bibeault wrote:Luckily, OS X will prevent you from stealthily installing anything. The last thing people want is to have things installed against their wishes or without their knowledge. If your application requires Java 8, make this known to your customers and require them to install Java 8 instead of surreptitiously trying to do it under the covers.
You can help this along by providing clear instructions on how to do so.
Campbell Ritchie wrote:You should however write exactly the same Java® code for OsX as for Linux and Windows®. The only difference in the installation should be the version of JVM you install.
Which means OP would have to avoid using a file chooser.
Liutauras Vilda wrote: . . .
For ex.: javax.swing.JFileChooser doesn't work on OS X as works on Windows.
It is similar to Java Web Start for the Java Platform or Zero Install for Linux.
So was I. That was the first I had heard of it.
Noble Bell wrote:I was unaware of the file chooser being different. . . .
Campbell Ritchie wrote:That is not how you use a file chooser.