You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Adrian Herscu <bm...@axentra.net> on 2005/08/16 14:47:26 UTC

Re: [jelly] Newbie question about jelly.bat

Hi all,

Found the problem (sorry for the delay) -- I think should fix this line 
in Jelly.bat:
"%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 %*

Instead of
"%JAVA_HOME%"\bin\java
there should be
"%JAVA_HOME%\bin\java"

Adrian.


Mattias Jiderhamn wrote:
> At 2005-07-22 22:45, you wrote:
> 
>> Hi all,
>>
>> I am trying to learn Jelly.
>>
>> Downloaded commons-jelly-1.0.zip.
>> Unzipped it to some <jelly-inst> dir.
>> Set JELLY_HOME=<jelly-inst>
>> Set PATH=%PATH%;%JELLY-HOME%\bin
>> Run jelly.bat and received this error message:
>> Exception in thread "main" java.lang.NoClassDefFoundError: \bin\java
>>
>> Tried also with an empty %CLASSPATH%.
> 
> 
> Have you checked your %JAVA_HOME%?


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org