How to Specify Java Version in Tizen Studio on macOS

Original Created Jan 03, 2020 | Regeneration Apr 22, 2026

I'm unable to run Tizen Studio because it's using OpenJDK runtime instead of my preferred Oracle Java 8 installation. The issues I'm facing are:

  1. Tizen Studio doesn't respect my JAVA_HOME environment variable settings
  2. Modifying eclipse.ini doesn't change the Java version being used

I need to configure Tizen Studio to use Oracle Java 8 without uninstalling my existing OpenJDK installations. I'm currently running macOS.

Problem Understanding

Tizen Studio, which is based on Eclipse, doesn't automatically use the Java version specified in JAVA_HOME during startup. This is a common Eclipse behavior where the environment variable isn't read at boot time.

Solution Methods

  1. Modify eclipse.ini:

    • Locate the eclipse.ini file in your Tizen Studio installation directory
    • Add the following lines at the beginning of the file (before any -vmargs):
      -vm
      /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin
      
    • Replace the path with your actual JDK 8 installation path
    • Save the file and restart Tizen Studio
  2. Alternative Method:

    • Create a symbolic link to force Tizen Studio to use your preferred JDK:
      sudo ln -sfn /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home /Library/Java/Home
      

Code Examples

For the eclipse.ini modification:

-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin

Additional Tips

  • Make sure to add the -vm argument before any -vmargs in eclipse.ini
  • Verify your Java installation path using:
    /usr/libexec/java_home -V
    
  • After making changes, restart Tizen Studio completely for the changes to take effect
  • For more information, refer to Eclipse documentation on eclipse.ini configuration

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.