When the Tizen Studio 5.6 starts in my MacOS Monterey 12.7.5 an error from Java is triggered:
The JVM shared library “/users/username/Documents/Tizen Studio/jdk/Contents/Home/bin/…/jre/lib/server/libjvm.dylib” does not contain the
JNI_CreateJavaVM symbol.
By God, how can I fix it?
Thanks
Hi folks, I have fixed this error on MacOS Monterrey 12.7.5 using the latest version of Tizen Studio 5.6 and I will leave the steps (How to solve it) below for anyone who faces this in the future:
(The JVM shared library “/users/username/Documents/Tizen Studio/jdk/Contents/Home/bin/…/jre/lib/server/libjvm.dylib” does not contain the
JNI_CreateJavaVM symbol.)
1- Download the latest version of Tizen Studio from the official link Visual Studio Code Extension for Tizen Web | Tizen Docs
2. Start the Tizen studio installer> When it asks to define the workspace destination folder, create a new folder in Documents by clicking on the three dots in the installer and install in this new folder
3. Finish the entire installation and close the installer
4. Download VSCode from the official link to your Mac:
Download Visual Studio Code - Mac, Linux, Windows
5. Install VSCode and download two more items: Python 2.7 and Node.js:
Python 2.7 LInk for MacOS: https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg
Node.JS link for MacOS: Node.js — Download Node.js®
6. To install Node.JS, only copy and paste this command into the VSCode terminal and press Enter/Return on MacOS:
installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
download and install Node.js (you may need to restart the terminal)
nvm install 20
verifies the right Node.js version is in the environment
node -v # should print v20.15.1
verifies the right NPM version is in the environment
npm -v # should print 10.7.0
-
Open VSCode and download the TizenStudio extension “Tizen Web” which is actually 3 extensions in 1
-
Open the VScode Settings (gear icon) > Command Palette > Type Tizen Web: Change Tizen SDK Path and press Enter.
-
In the notification that appears, copy the path that will be displayed and save it in a notepad> then click on 'Keep" to keep the current path, you don’t need to change anything, the idea here is to just copy the path.
In this official link there are more instructions on how to change the path: Visual Studio Code Extension for Tizen Web | Tizen Docs
-
Install the Tizen baseline SDK by going to VScode settings (VScode gear icon) open the Command Palette and type “Tizen Web: Install Tizen Baseline SDK”
-
In the notification that appears, perform one of the following:
If SDK is already installed, click YES, and run Tizen Web: Change SDK Path.
If SDK is not installed, to perform a fresh installation, click NO. In the notification that appears:
To start the Tizen Baseline SDK installation, click Install.
If the path of the popup is null, change the path by clicking Change Path and paste the path you saved in step 9.
-
Change the Workspace path by going to the VSCode settings (Gears icon) and type in the command palette: Tizen Web: Change Workspace Path and press Enter
In the notification that will be displayed, click to change the path and paste the same path that you copied in step 9.
-
Open Tizen Studio using the icon that can be found on Launchpad> The error will no longer be displayed
-
Open the package manager and download the additional resources that you will use in your project, then open Tizen Studio and be happy!!!