LinuxDude
Posts: 8
Joined: Thu Jul 30, 2009 12:24 am

What to do for Java 6 on OS X?

Hello AI,

Simple question. We have a Java 6 app and need to generate a OS X installer.

I know that AI doesn't allow me to bundle a JRE in the OS X installer bundle. That's fine.

We will require users to either install Java 6, or to be using Snow Leopard which comes with Java 6.

But... when we are building the bundle, is there a way to specify which Java installation to use? Otherwise it will probably use Java 5 by default, even if Java 6 is installed. Also, is there a way to get it to give an alert to the user if Java 6 isn't installed? I think it's fairly easy for a Mac user to install Java 6 by using the update system, but I don't know much about it (I have never used OS X).

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: What to do for Java 6 on OS X?

Hi,
is there a way to specify which Java installation to use?
You can try setting a minimum JRE version in the Settings tab of your Java Product. Perhaps this thread will help you:
http://www.advancedinstaller.com/forums ... 18&p=22799
Also, is there a way to get it to give an alert to the user if Java 6 isn't installed?
This should be handled automatically by the MAC OS X Java launcher.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”