java priority

Chacotako

Member
Apr 29, 2001
154
1
81
Is there an easy way to set 32-bit over 64 without the GUI? Our clients are all running os x 10.6, but there are a couple of applications that do not run with 64-bit. I was hoping there would be a command-line option for easy deployment. Maybe even specify these specific apps to run that specific framework/architecture?

Thanks
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I believe that's what the JAVA_HOME environment variable is for. However, you probably also need to specify the correct java binary. A number of distros come with alternatives now so that you can use update-alternatives to specify which installed version of an app that you want to use by default. But that's global so if you need to have different versions for different apps at the same time you'll probably need to do something custom for each app. Either something like custom startup scripts that setup the proper environment before launching the app or separate user's for them with the environment setup via that user's startup files.