Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 54512 invoked from network); 27 Jul 2010 13:12:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jul 2010 13:12:29 -0000 Received: (qmail 20226 invoked by uid 500); 27 Jul 2010 13:12:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 20174 invoked by uid 500); 27 Jul 2010 13:12:26 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 20166 invoked by uid 99); 27 Jul 2010 13:12:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 13:12:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 13:12:16 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.4/8.14.4) with ESMTP id o6RDBZX9025034 for ; Tue, 27 Jul 2010 15:11:55 +0200 Received: from z011101.bk.fin.local ([130.11.7.101]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Jul 2010 15:11:48 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011101.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Jul 2010 15:11:47 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Unsupported class version error Date: Tue, 27 Jul 2010 15:11:47 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B550B56958D@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unsupported class version error Thread-Index: Acsth02cnpLrkjzARXG1OLirZfMMZQABe5eg References: From: To: X-OriginalArrivalTime: 27 Jul 2010 13:11:47.0635 (UTC) FILETIME=[44B21030:01CB2D8D] X-Virus-Checked: Checked by ClamAV on apache.org So try running with Java 1.5 or higher ... Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: leif.landen@gmail.com [mailto:leif.landen@gmail.com] Im=20 >Auftrag von Leif Ershag >Gesendet: Dienstag, 27. Juli 2010 14:28 >An: Ant Users List >Betreff: Re: Unsupported class version error > >What java-version are you running ant with? It looks like the=20 >jsch-lib is >compiled with a higher versionnr than you support? > >//Leif Ershag > >On Tue, Jul 27, 2010 at 1:31 PM, Lis Maria=20 > wrote: > >> Hi, >> >> I am trying to copy a zip file to a remote machine using the=20 >ant scp task. >> The jar file required for this task jsch-0.1.43 is also put=20 >inside the ANT >> lib folder. But i get the below exception while this target=20 >gets triggered >> >> BUILD FAILED >> java.lang.UnsupportedClassVersionError: Bad version number=20 >in .class file >> at java.lang.ClassLoader.defineClass1(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:620) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 >> 4) >> at=20 >java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:56) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:195) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >> at=20 >java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:164) >> >> >> >> Can some one help? >> >> Thanks, >> Lis Thomas >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org