...
- If you have a 64 bit (or 32bit) edition of the SysML tool (based on section 2.2.1 above), then you need Java 8 64-bit edition. Check if you have a folder with name starting in jre8 OR jdk1.8.0 under C:\Program Files\Java (or C:\Program Files(x86)\Java) on Windows. If you have either of these folders, then skip the remainder of this section and continue to section 2.2.3. If not, download Java 8 64-bit edition from the link in next step.
- Download Java 8 from the Oracle's website: http://goo.gl/YsXYkU (short URL) for your specific OS, as shown below. Note – use x64 installer if you have a 64-bit OS and 64-bit installation of the SysML tool, and use x86 installer if you have a 32-bit OS and 32-bit installation of the SysML tool.
Figure 3: Download Java 8 from Oracle's website
- Install Java – If you have admin privileges on your machine, right click on the installer (downloaded above) and select Run as administrator (on Windows) or simply double click the executable (e.g. .dmg file on Mac OS X). If you do not have admin privileges on your machine, try running the installer to check if you can install any programs. If not, please check with your system administrator to install Java 8.
...
- Close Rhapsody.
- Locate the rhapsody.ini file
- If you have a default installation of Rhapsody 8.1 (or above), then the rhapsody.ini file will under your user directory at <Your_User_Directory>\IBM\Rational\Rhapsody\8.1.2x64, e.g. C:\Users\Manas\IBM\Rational\Rhapsody\8.2.1x64, as also shown below in Figure 4.
If you do not have the IBM directory under your user folder, then look under the Rhapsody installation, e.g. C:\Program Files (x86)\IBM\Rational\Rhapsody\8.2.1x64.
Figure 4: Locate the rhapsody.ini file in Rhapsody installation
- Open the rhapsody.ini file in a text editor.
- Search for the JVM section, as shown below.
Set the value of JavaLocation variable under JVM section to the location of Java 8 on your machine, as shown in Figure 5 below.
Figure 5: Set the JavaLocation variable under JVM to the jre folder in your Java 8 installation
- Save and close the rhapsody.ini file
- Start Rhapsody. It is now set to use Java 8.
...