gerclub.blogg.se

How to know jdk path in mac
How to know jdk path in mac









how to know jdk path in mac

Here is an illustration and examples from my setup: usr/libexec/java_home -v 1.7.0_06 -exec javac -version To run a different version of Java, either specify the full path, or use the java_home tool: This is of course rather involved and will get broken every time wuala autoupdates but otherwise it works.

how to know jdk path in mac

I.e simply replacing: exec with: /usr/libexec/java_home -v 1.6.0 -exec Where I needed to run Wuala using Java 1.6 whilst I needed to develop with JDK 1.7 and I managed this by opening the Wuala.app package and changing its startup script in: /Applications/Wuala.app/Contents/MacOS/wualaįrom: exec java $" -installed $* I had a similar problem like you have with Minecraft with Wuala. The JRE version used by the system can be determined I don't think it's possible to switch JRE (runtime environments) see here:











How to know jdk path in mac