The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"How do I configure Mac OS to use Java 7 instead of Java 6"

User13User13 Member Posts: 155 Maven
edited May 2019 in Knowledge Base

Important: This article is only relevant for old RapidMiner Studio versions which were not yet bundled as an App!

 

Problem:

After installing Java 7 there are at least two Java installations available on Mac OS. When running Java the operating system follows a link to the version currently marked as default. In some cases this link still points to the Java 6 installation despite having a functional Java 7 installation.

Solution:

Open a terminal and navigate to the directory /System/Library/Frameworks/JavaVM.framework/Versions by typing:

      cd /System/Library/Frameworks/JavaVM.framework/Versions

Make sure that you have a valid Java 7 installation before changing the link to the current version. You can do this by typing:

      ./A/Commands/java -version

The output should start with “java version 1.7…“ . If it does not, do not continue with the following steps but rather see “What is Java and how do I install it?” for instructions on how to install Java 7 on Mac.

To modify the link to point at the Java 7 installation type in the following two commands (you may have to enter your password):

      sudo mv Current CurrentBackUp    
sudo ln -s A Current

Mac OS should now use Java 7 by default.

Hint: To switch back to Java 6 type in:

      sudo mv CurrentBackUp Current

 

Tagged:
Sign In or Register to comment.