Hello arth,

arth schrieb am Sat 31. Dec, 19:01 (+0000):
> Package: bootchart-view
> Version: 0.9-1
> Severity: normal
> 
> Hi, Firstly, thank you for packaging this program-I'm keen to use it. I
> don't think the error I have is what you warned of in the README.Debian
> file as I have the unstable kaffe version, and my error says
> "ClassNotFound" rather than "UnsupportedClassVersionError" as in bug
> 336527. I'm afraid I know little of java, and don't know how to
> proceed. I've looked for the error on the net, and found the Debian
> package libcommons-cli-java which seems relevant. However I have this
> installed too, and it isn't in the required list for bootchart.

The bootchart-view package depends on it:

> Versions of packages bootchart-view depends on:
> ii  libcommons-cli-java       1.0-7          API for working with the command 
> l

> I've tried several other java runtime engines, and compiling
> bootchart-view myself and get similar errors with all attempts at
> running it. The full error is:
> 
> /usr/share/bootchart-view# java -jar bootchart.jar

You need to specify the path to the jar of libcommons-cli-java. Look at
/usr/bin/bootchart:

MAIN_CLASS="org.bootchart.Main"
CLASSPATH="/usr/share/bootchart-view/bootchart.jar:/usr/share/java/commons-cli.jar
PROPERTY="java.awt.headless=true"

exec java -D"$PROPERTY" -classpath "$CLASSPATH" $MAIN_CLASS "$@"

The java virual machine is called with the jar of commons-cli.

Why do you not use the command bootchart in /usr/bin?

Bye, Jörg.
-- 
Wer einen Traum verwirklichen will, muss erst aufwachen.

Attachment: pgpXsjhDsopVM.pgp
Description: PGP signature

Reply via email to