Reference to "%JAVA_HOME%"\bin\java in jelly.bat should be "%JAVA_HOME%\bin\java" ---------------------------------------------------------------------------------
Key: JELLY-273 URL: http://issues.apache.org/jira/browse/JELLY-273 Project: Commons Jelly Issue Type: Bug Components: core / taglib.core Environment: Windows XP Reporter: David M. Karr Priority: Minor 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]