Setup Java
Syndeia requires Java 8 (or higher). In this section, you will check if Java 8 is installed on your computer and is being used by the SysML modeling tools, such as MagicDraw. If not, instructions are provided to download Java 8 and use it with the SysML modeling tools.
Check if SysML tool is using Java 8
If you are using MagicDraw, then you could be using 32 bit or 64 bit edition of MagicDraw. You will need to check the specific edition of MagicDraw to determine the right edition of Java 8—32 bit edition of MagicDraw will require 32 bit edition of Java 8 and 64 bit edition of MagicDraw will require 64 bit edition of Java 8. Launch MagicDraw, go to Help > About MagicDraw, and select the Licensing tab. Check the value of the property Installed at.
- On Windows, if MagicDraw is installed at C:\Program Files (x86) folder, you are using a 32 bit edition of MagicDraw and will need Java 8 32 bit edition. If MagicDraw is installed at C:\Program Files folder, you are using a 64 bit edition of MagicDraw and will need Java 8 64 bit edition.
- On Mac, refer to this article to check if your Mac is 32-bit or 64-bit -Â https://support.apple.com/en-us/HT201948.
Next, check the value of the property Version (under Java Virtual Machine), as shown above.
- If the value starts with Java 1.8.0, then you have Java 8 installed on your machine and MagicDraw is setup to use the same. Skip the remainder of this section and proceed to the next section.
- If the value does not start with Java 1.8.0 (e.g. it starts with Java 1.7.0), then MagicDraw is not using Java 8.
Install Java 8 on your machine
Follow the steps below to: (1) check if you have Java 8 installed on your machine, and (2) install Java 8 if not.
- If you have a 64 bit (or 32 bit) edition of the SysML tool, then you need Java 8 64 bit (or 32 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, or under /Library/Java/JavaVirtualMachines on Mac OS X. If you have either of these folders, then skip the remainder of this section and continue with the next section. 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.
 - 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.Â
On Windows, if you are installing 64 bit edition, it will install under C:\Program Files\Java folder, and if you are installing 32 bit edition, it will install under C:\Program Files (x86)\Java folder. On Mac OS X, it will typically install under /Library/Java/JavaVirtualMachines.
Setup your SysML tool to use Java 8
In the previous step, you have either (1) identified that Java 8 is already installed in your machine, or (2) downloaded and installed Java 8 in your machine. In this step, you will change settings in MagicDraw to use Java 8. Follow the steps below.
- Go to the MagicDraw installation folder.
- Go to the bin folder and locate the magicdraw.properties file. Open this file in a text editor.
- Locate the variable JAVA_HOME at the beginning of the file and set its value as the location of Java 8 installation on your machine.
- Restart MagicDraw.Â
- Go to Help → About MagicDraw, and select the Licensing tab and check the MagicDraw environment if it is now using Java 8.