lock Running Modelio on a MacOS X workstation

2 years 3 months ago - 7 months 3 days ago #3990 by pan
If you have a problem running Modelio on MacOS X please first check the system requirements .

If you are using a version of Modelio greater or equal than Modelio 3.3:
- JDK 8 must be installed on your OS (not only JRE)
- Be sure that Java 8 is the default JDK version available before launching Modelio. If you type java -version, what does it return?
-- If it returns Java 8 it's OK
-- If it returns Java 7, edit your ~/.bash_profile file and add these lines:
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
setjdk() {
  export JAVA_HOME=$(/usr/libexec/java_home -v $1)
}
This will set the Java 7 as default version for Java.
Then if you need to set the Java 8 just type "setjdk 1.8" on the shell.

If you have JDK 9:
Modelio is not compatible with Java 9.
It seems that even if the default version is Java 8 Modelio can fail to start.
In the modelio.ini provided by Modelio 3.7, 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
In order to launch Modelio you should modify the file on this way
-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
--add-modules=ALL-SYSTEM
-Xms512m
-Dpython.console.encoding=UTF-8
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
Please 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


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?
The topic has been locked.
Moderators: oslcde
Time to create page: 0.024 seconds
^ Back to Top