Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Problem with runnning the Java interface examples

  • 1.  Problem with runnning the Java interface examples

    Posted 06/03/09 04:49 PM

    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


  • 2.  Re: Problem with runnning the Java interface examples

    Posted 06/03/09 07:28 PM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    HI,

    >I am running java version 1.6.0_13, so it should be new enough.

    yes the JVM is new, but :

    >I have recently installed opl development studio 4,2.

    this one is quite old.
    Even if normally this should not be a problem, you might want also to sue a more recent OPL version.

    Alain
    #DecisionOptimization
    #OPLusingCPLEXOptimizer