Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-273

Reference to "%JAVA_HOME%"\bin\java in jelly.bat should be "%JAVA_HOME%\bin\java"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core / taglib.core
    • None
    • Windows XP

    Description

      On Windows XP, when the released "jelly.bat" is executed, it complains very obtusely:

      Exception in thread "main" java.lang.NoClassDefFoundError: \bin\java

      With some experimentation, I realized that all that is required is to change:

      "%JAVA_HOME%"\bin\java -classpath "%CLASSPATH%;%JELLY_HOME%\lib\forehead-1.0-beta-5.jar" "-Dforehead.conf.file=%FOREHEAD_CONF%" "-Djelly.home=%JELLY_HOME%" "-Dtools.jar=%JAVA_HOME%\lib\tools.jar" %JELLY_OPTS% com.werken.forehead.Forehead %*

      to:

      "%JAVA_HOME%\bin\java" -classpath "%CLASSPATH%;%JELLY_HOME%\lib\forehead-1.0-beta-5.jar" "-Dforehead.conf.file=%FOREHEAD_CONF%" "-Djelly.home=%JELLY_HOME%" "-Dtools.jar=%JAVA_HOME%\lib\tools.jar" %JELLY_OPTS% com.werken.forehead.Forehead %*

      The only change is moving the double-quote from before "/bin/java" to after it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dkarr David M. Karr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: