Out Of Environment Space on Windows 98

From: Mike Kienenberger (mkienen..laska.net)
Date: Fri Feb 11 2005 - 13:45:44 EST

  • Next message: Andrus Adamchik: "Re: Out Of Environment Space on Windows 98"

    I'm finally testing Cayenne under Win98 in order to fix this issue:

    http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-99

    The patch works fine, but I hit another error.

    It turns out that Win9x only allows 256 characters by default in the
    environment!

    Considering a minimal set of the following, that's 159 characters.

    CAYENNE_HOME=..
    MAIN_CLASS=org.objectstyle.cayenne.modeler.Main
    JAVACMD=%JAVA_HOME%\bin\javaw
    DEFAULT_CLASSPATH=%CAYENNE_HOME%\lib\modeler\cayenne-modeler.jar

    You also have to add in JAVA_HOME which is going to be a minimum of another
    25 characters.

    So we're looking at around 184 characters JUST for cayenne's modeler.bat
    file.

    That means there can't be more than 70 characters in the environment to
    start with.
    My bare-minimum fresh windows 98 install has 170 characters defined in the
    environment.

    That only leaves 80 characters, provided my math is right.

    I shorted DEFAULT_CLASSPATH to DC and made it work.

    Is there a point to making this more Win9x friendly?
    Or should we just document the problem?

    -Mike



    This archive was generated by hypermail 2.0.0 : Fri Feb 11 2005 - 13:45:15 EST