tag 446117 confirmed
thanks

Hello Leonardo,


On Wed, Oct 10, 2007 at 05:25:26PM +0200, Leonardo wrote:
> Package: jftp
> Version: 1.51~pre3-1
> Severity: important
> 
> on call:
> tempo:~# jftp
> Exception in thread "main" java.lang.ClassFormatError: net.sf.jftp.JFtp
> (unrecognized class file version)
>    at java.lang.VMClassLoader.defineClass(libgcj.so.81)
>    at java.lang.ClassLoader.defineClass(libgcj.so.81)
>    at java.security.SecureClassLoader.defineClass(libgcj.so.81)
>    at java.net.URLClassLoader.findClass(libgcj.so.81)
>    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.81)
>    at java.lang.ClassLoader.loadClass(libgcj.so.81)
>    at java.lang.ClassLoader.loadClass(libgcj.so.81)
>    at gnu.java.lang.MainThread.run(libgcj.so.81)
> tempo:~# 
> 
> this occour either a root or as normal user and also on another host.
> (this is a sarge updated to etch then lenny, the other an install born as
> etch the updated to lenny)

The problem is that jftp is compiled with SUN Java 6 and you ecxecute it
with GCJ. The current GCJ in Debian doesnt understand the class format
from SUN Java 6. The solution for this is to put

  'target="1.5" source="1.5"'

into the 'javac'-tags in build.xml.


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to