Forum Stats

  • 3,769,909 Users
  • 2,253,029 Discussions
  • 7,875,235 Comments

Discussions

Mac OSX application bundle - select java runtime

Hey all,

I have an existing java app (not mine) which doesn't have a bundled JRE inside.

When I open it, it launches using the (I assume) default java.

Is there any way I can "tell" the app what java to use?

I have java 6, 7, and 8 installed and I want to switch between them.

Right now it always launches with java 6 no matter what I do.

I tried exporting JAVA_HOME, PATH but nothing works.

This discussion has been closed.