Ciao,
I need to start a java form compiler from linux.
The script that comes with the program simply says (after some
checks):
java -classpath Packager.jar:Filler.jar -jar EPT.jar
However, if I run it, I get:
java version "1.2"
gij (GNU libgcj) version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: EPT.jar
at 0x40267aab: java.lang.Throwable.Throwable(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x40259640: java.lang.Error.Error(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4025b440: java.lang.LinkageError.LinkageError(java.lang.Stri ng)
(/usr/lib/./libgcj.so.3)
at 0x4025cad0: java.lang.NoClassDefFoundError.NoClassDefFoundErro r(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x402b184f: gnu.gcj.runtime.FirstThread.run()
(/usr/lib/./libgcj.so.3)
at 0x4024cfbc: _Jv_ThreadRun(java.lang.Thread)
(/usr/lib/./libgcj.so.3)
at 0x40219cdc: _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048920: ?? (??:0)
at 0x406ad7f7: __libc_start_main (/lib/i686/libc.so.6)
at 0x080486c1: ?? (??:0)
I guess that the error is in the fact that the command is ignoring the
-jar option, so that the EPT.jar is not read.
Java version and linux system are written on the log. How should I
translate the command line to get it working?
Thanks,
Stefano