×
Modelio 4.0.0 released (07 Nov 2019)
Modelio 4.0.0 has been released ( www.modelio.org/forum/4-announcements/45...-4-0-0-released.html )
Running Modelio on a MacOS X workstation
6 years 9 months ago - 4 years 3 months ago #3990 by pan
Modelio requires that a JDK 8 be installed to work properly (not only JRE) JDK 8 download page
.
For MacOS X, no installation is provided. Just unzip the downloaded archive and use Modelio.
Some Mac users have stumbled across this annoying error when starting Modelio on MacOS X
The most common reason for that error is a too recent version of the JDK.
After JDK 8 has been installed on your OS and Modelio archive has been unzipped, the Modelio 3.x app/Contents/Eclipse/modelio.ini file (replace x by the minor version of Modelio that you have downloaded. For Modelio 3.8, you should edit Modelio 3.8/Contents/Eclipse/modelio.ini) must be updated.
You can do it manually by following the steps below (manual procedure) or you can use a shell script provided at the bottom of this post (automatic procedure).
In order to launch Modelio you should addafter -clearPersistedState
andafter -vmargs
so you have the following resultPlease note that this line /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java should be adapted according to your own configuration.
More information about this workaround: wiki.eclipse.org/Configure_Eclipse_for_J...e_for_Java_9_modules
For example bash .fixModelio38.sh for Modelio 3.8
If you continue to have problems after checking these points please provide us your configuration so we can help efficiently:
- Version of Modelio
- Version of your MacOS
- List of JDKs installed on your systems
- What returns java -version?
For MacOS X, no installation is provided. Just unzip the downloaded archive and use Modelio.
Some Mac users have stumbled across this annoying error when starting Modelio on MacOS X
The most common reason for that error is a too recent version of the JDK.
After JDK 8 has been installed on your OS and Modelio archive has been unzipped, the Modelio 3.x app/Contents/Eclipse/modelio.ini file (replace x by the minor version of Modelio that you have downloaded. For Modelio 3.8, you should edit Modelio 3.8/Contents/Eclipse/modelio.ini) must be updated.
You can do it manually by following the steps below (manual procedure) or you can use a shell script provided at the bottom of this post (automatic procedure).
*** Manual procedure ***
You should have this content:-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.401.v20161122-1740
-clearPersistedState
-vmargs
-Xms512m
-Dpython.console.encoding=UTF-8
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java
and
-Dosgi.requiredJavaVersion=1.8
so you have the following result
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.401.v20161122-1740
-clearPersistedState
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Dpython.console.encoding=UTF-8
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
More information about this workaround: wiki.eclipse.org/Configure_Eclipse_for_J...e_for_Java_9_modules
*** End of Manual procedure ***
*** Automatic procedure ***
For your convenience, we made a script in order to make these changes automatically. Unzip this archive in the same folder as Modelio 3.x app. It contains scripts for different versions of Modelio. Just run once the right script that matches your version of Modelio in a Terminal.For example bash .fixModelio38.sh for Modelio 3.8
*** End of Automatic procedure ***
If you continue to have problems after checking these points please provide us your configuration so we can help efficiently:
- Version of Modelio
- Version of your MacOS
- List of JDKs installed on your systems
- What returns java -version?
Last Edit: 4 years 3 months ago by pan. Reason: Script added for fixing JDK version
The topic has been locked.
Moderators: cde
Time to create page: 0.157 seconds