Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 5447 invoked from network); 26 Dec 2008 16:47:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Dec 2008 16:47:13 -0000 Received: (qmail 83896 invoked by uid 500); 26 Dec 2008 16:47:06 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83854 invoked by uid 500); 26 Dec 2008 16:47:06 -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 83843 invoked by uid 99); 26 Dec 2008 16:47:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2008 08:47:06 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [82.223.145.172] (HELO server.lpis.com) (82.223.145.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2008 16:46:56 +0000 Received: from localhost (localhost [127.0.0.1]) by server.lpis.com (Postfix) with ESMTP id 16629534B7 for ; Fri, 26 Dec 2008 17:46:36 +0100 (CET) Received: from server.lpis.com ([127.0.0.1]) by localhost (server.lpis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24917-01 for ; Fri, 26 Dec 2008 17:46:34 +0100 (CET) Received: from etxea (61.82-130-201.static.clientes.euskaltel.es [82.130.201.61]) by server.lpis.com (Postfix) with ESMTP id 5BF443DFEC for ; Fri, 26 Dec 2008 17:46:34 +0100 (CET) From: "Koxkorrita" To: Subject: jdk version for compiling. SOS Date: Fri, 26 Dec 2008 17:46:18 +0100 Message-ID: <000c01c96779$7aea9ef0$70bfdcd0$@info> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C96781.DCAF06F0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclneXlfR+n+GBGwScmO/D8Gff8B5w== Content-Language: es X-Virus-Scanned: amavisd-new at lpis.com X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_000D_01C96781.DCAF06F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit hello In my pc i have installed the 1.6_10 jdk. i must to compile, for generate one war for one 5.0 tomcat that runs into one 1.4 jdk, my classes. for this pourpose i make this into one build.xml file: but using the options: optimize="on" deprecation="on" source="1.4" target="1.6"> always appears into my tomcat this: 2008-12-26 17:42:07,483 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR org.apache.catalina.startup.HostConfig - Exception while expanding web application archive Goikogane.war java.lang.UnsupportedClassVersionError: com/goikogane/servlets/GOIKOInitServlet (Unsupported major.minor version 50.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo ader.java:1634) can you help me for compiling the classes for make it compatible with the 1.4 jdk? thanks ------=_NextPart_000_000D_01C96781.DCAF06F0--