On Fri, Apr 25, 2008 at 06:13:29PM +0100, andy wrote: > Hello > > I tried to run a java-based programme on a Lenny machine. This is what > happened: > > $ java jgraphpad-6.0.4.1-gpl.jar
you need to specify that you are trying to run a /jar file. try: java -jar jgraphpad-6.0.4.1-gpl.jar > Exception in thread "main" java.lang.NoClassDefFoundError: > jgraphpad-6.0.4.1-gpl.jar > at gnu.java.lang.MainThread.run(libgcj.so.90) the jvm is trying to run a java class called jgraphpad-0.6....jar which isn't a proper java class... the above -jar switch should fix it up. this assumes that you actually have a properly specified jar file that is designed to be run this way. It may not be. You could just unjar it and inspect it for more details. jar -xvf jgraph<Tab> cd into the directory and look around. A
signature.asc
Description: Digital signature