The Oracle Data Modeler 4 launcher.sh script correctly looks at the environment variable JAVA_HOME to find a JRE/JDK.
However, the datamodeler-Darwin.conf file has the following path set explicitly - therefore resulting in datamodeler looking at java 6 even though java 7 is installed and JAVA_HOME is correctly set
The quickest solution to get this working and make datamodeler automatically detect the correct JRE is to
simply comment/remove the above SetJavaHome line from datamodeler-Darwin.conf
And everything will work fine.
I hope the future releases will not have this path set explicitly in the darwin conf file.
just realized that it works if opening from the shell as
and not when clicking on the app from finder directly.
options may include
1. updating the plist file
2. set the path in datamodeler-Darwin.conf
3. add the following file to OracleDataModeler.app/Contents/MacOS/datamodeler.sh
Message was edited by: user960521