Cannot run modeler.bat

From: Brusowankin, David (David.Brusowanki..uggenheimpartners.com)
Date: Tue Jun 17 2003 - 16:45:04 EDT

  • Next message: Andrus Adamchik: "Re: Cannot run modeler.bat"

    Hi Cayenne Users,

    Two problems in trying to get Cayenne to run.

    I am running Windows 2000 and using the Sun 1.4.2 beta JVM.

    1st
    ===========
    When I run modeler.bat I get the following error from the Java Virtual
    Machine Launcher pop up:

            Could not find the main class. Program will exit.

    When I run it directly from the the command line:
            C:\Program Files\cayenne-1.0b4\bin>javaw -cp
    ..\lib\modeler\cayenne-modeler.jar org.objectstyle.cayenne.modeler.Editor

    it works !

    My CLASSPATH is:

    CLASSPATH=%JAVA_HOME_CLASSPATH%;%JRE_CLASSPATH%;c:\Program
    Files\cayenne-1.0b4\lib\cayenne.jar;c:\Program
    Files\cayenne-1.0b4\lib\servlet-2.3.jar;c:\Program
    Files\cayenne-1.0b4\lib\modeler\cayenne-modeler.jar;c:\Program
    Files\cayenne-1.0b4\lib\modeler\scope-bin-1.1.jar;c:\Program
    Files\cayenne-1.0b4\lib\cayenne-nodeps.jar;C:\Program Files\Microsoft SQL
    Server 2000 Driver for JDBC\lib;C:\Program Files\Access
    Converter\Lib;"C:\Program Files\Java\j2re1.4.2\lib\ext\QTJava.zip"

    =============
    2nd
    ===

    How do I connect to Microsoft SQL server ?

    Thanks,

    David

    ****************************************************************************
    *******
    This message and any attachment are confidential and may be privileged
    or otherwise protected from disclosure. If you are not the intended
    recipient, please telephone or email the sender and delete this message
    and any attachment from your system. If you are not the intended
    recipient you must not copy this message or attachment or disclose the
    contents to any other person.
    ****************************************************************************
    *******



    This archive was generated by hypermail 2.0.0 : Tue Jun 17 2003 - 16:51:29 EDT