How to install the Justinmind SDK

First, download the SDK from here:

Justinmind SDK For Windows

Justinmind SDK For Mac

Once the download finishes, follow these steps:

For Windows: Extract JustinmindPluginSDK.zip where you want to install the SDK and launch the file called Eclipse.

For MacOS: Open JustinmindPluginSDK.dmg, drag the JustinmindPluginSDK app to ‘Applications’ and execute.

If you don’t have Java installed in your system (version >= 11) use the contents of Java folder and follow these instructions:

Windows:

Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.

Set a PATH:

  1. Select Control Panel and then System.
  2. Click Advanced and then Environment Variables.
  3. Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
  4. The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;”C:\Program Files\Java\jdk-11\bin”

Set JAVA_HOME:

  1. Under System Variables, click New.
  2. Enter the variable name as JAVA_HOME.
  3. Enter the variable value as the installation path of the JDK (without the bin sub-folder).
  4. Click OK.
  5. Click Apply Changes.
  6. You are set.

To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.

If you want to uninstall – just undo the above steps.

Note: You can also point JAVA_HOME to the folder of your JDK installations and then set the PATH variable to %JAVA_HOME%\bin. So when you want to change the JDK you change only the JAVA_HOME variable and leave PATH as it is.

For Mac:

  1. Open a Terminal.
  2. Type “/usr/libexec/java_home”. This will show you where the current JDK home is, for example:

    /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home

  3. “/usr/libexec/java_home -V”: This lists all installed JDKs, which is shown below:

    Matching Java Virtual Machines (2):
    10, x86_64: “Java SE 10” /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home
    1.8.0_151, x86_64: “Java SE 8” /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home

  4. Move the contents of the downloaded OpenJDK 11 dir from inside the .gz file to “/Library/Java/JavaVirtualMachines/” (or where your JDK’s are installed).
  5. Once you’ve moved it there, java_home -V now shows the new JDK in place:

    Matching Java Virtual Machines (3):
    11, x86_64: “OpenJDK 11” /Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
    10, x86_64: “Java SE 10” /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home
    1.8.0_151, x86_64: “Java SE 8” /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home

Reference: https://dzone.com/articles/installing-openjdk-11-on-macos