Question
I'm having trouble running the Tizen emulator and device manager after installing Tizen SDK with OpenJDK. I've tried both VS 2017 and 2019, but keep getting these errors:
- "Couldn't create Java machine"
- "A fatal exception has occurred. Program will exit"
I've already:
- Set the JAVA_HOME parameter
- Disabled Hyper-V
- Tried OpenJDK 12 with JavaFX 12 (which resolved the device manager issue but not the emulator)
- Finally got everything working with OpenJDK 10 and JavaFX 11
What's the proper configuration for running Tizen tools, and why do newer JDK versions cause problems?
Answer
Problem Understanding
The issue stems from version compatibility between Tizen SDK tools and Java runtime environments. The emulator and device managers have specific requirements for Java versions and components.
Solution Methods
-
Recommended Configuration:
- Install OpenJDK 10 (required for full compatibility)
- Install JavaFX 11 (must be version 11)
- Set JAVA_HOME to point to your OpenJDK 10 installation
-
Troubleshooting Steps:
- Verify JAVA_HOME is correctly set in your environment variables
- Ensure both OpenJDK and JavaFX are properly installed
- Check that all required Java components are in the PATH
- Disable Hyper-V if you're using Windows
-
Alternative Approach:
- If you must use newer Java versions, try:
- OpenJDK 11 with JavaFX 11
- OpenJDK 17 with JavaFX 17 (may require additional configuration)
- If you must use newer Java versions, try:
Additional Tips
- The Tizen SDK tools were primarily tested with OpenJDK 10 and JavaFX 11
- Newer Java versions might work but may require additional configuration
- Always check the official documentation for the latest compatibility information
- When encountering issues, check the Tizen Studio logs for more detailed error information