Originally posted by: SystemAdmin
[baeklund said:]
I have recently installed opl development studio 4,2.
I have problems getting the java interface to work.
When running when the examples by running run.bat, I get the following error message:
C:\ILOG\OPL42\examples\java\warehouse>run
run
Buildfile: build.xml
compile:
run:
[java] java.lang.NoClassDefFoundError: %MODULE_JVMARGS%
[java] Caused by: java.lang.ClassNotFoundException: %MODULE_JVMARGS%
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] Exception in thread "main"
BUILD FAILED
C:\ILOG\OPL42\examples\java\warehouse\build.xml:13: Java returned: 1
Total time: 0 seconds
I can't find anything on this JVMARGS on the internet, does anyone know why I get this error.
I am running java version 1.6.0_13, so it should be new enough.
Hope someone has an idea how to around this problem.
#DecisionOptimization#OPLusingCPLEXOptimizer