commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David M. Karr (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Created: (JELLY-273) Reference to "%JAVA_HOME%"\bin\java in jelly.bat should be "%JAVA_HOME%\bin\java"
Date Thu, 28 Dec 2006 01:53:21 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message