Re: Solution for CLASSPATH
On Sat, 2003-04-19 at 09:14, Arnaud Vandyck wrote:
> Great idea but it does not work for me...
> ant1.5.1-1, j2sdk1.3 - 1.3.1.02b-2 - Blackdown Java(TM) 2 SDK,
> Standard Edition and debian-classloader are installed.
> $ deb-java org.apache.tools.ant.Main
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
> But ant is there... in /usr/share/java/ant.jar
It works here. Try editing the shell script and replace
java -Djava.system.class.loader=DebianClassLoader "$@"
with: java DebianClassLoader "$@"
The problem might be that the particular property was introduced in later versions. I am using 1.4.1