Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 49204 invoked from network); 8 Nov 2005 13:00:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Nov 2005 13:00:22 -0000 Received: (qmail 11848 invoked by uid 500); 8 Nov 2005 13:00:13 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 11828 invoked by uid 500); 8 Nov 2005 13:00:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 11817 invoked by uid 99); 8 Nov 2005 13:00:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2005 05:00:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.68.127.190] (HELO carmanconsulting.com) (216.68.127.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2005 05:00:06 -0800 Received: from CARMANI9300 (carmanconsulting.com [127.0.0.1]) by carmanconsulting.com (8.13.4/8.13.4) with ESMTP id jA8Cxk9d023066 for ; Tue, 8 Nov 2005 07:59:51 -0500 From: "James Carman" To: "'Jakarta Commons Developers List'" Subject: RE: [net] "class file has wrong version 48.0, should be 47.0" Date: Tue, 8 Nov 2005 07:59:54 -0500 Message-ID: <008201c5e464$5163ba80$6701a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4370A021.8060806@ops.co.at> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-index: AcXkY6+qMjqKUjU6TYy9aQYFs1Zz7wAAJLBA X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >From the commons-net project.properties file: "maven.compile.target=1.4" So, for some reason it is specifically targeting 1.4. -----Original Message----- From: Mario Ivankovits [mailto:mario@ops.co.at] Sent: Tuesday, November 08, 2005 7:55 AM To: Jakarta Commons Developers List Subject: Re: [net] "class file has wrong version 48.0, should be 47.0" Hi! > However, I'm not entirely sure how you are inferring that the problem > here is 1.3 vs. 1.4. You may know something I don't. I'm not sure > where the version 48.0 vs 47.0 is coming from. I've never seen that > before. This happens if you compile with javac target=1.4 but running it in an java 1.3 environment. If I remember correctly java 5.0 is version 49.0 To be safe for the future you could use "target=1.3" for your javac command. So as long as you do not use a 1.4 api you should be safe. Maven - project.properties: maven.compile.target = 1.3 maven.compile.source = 1.3 --- Mario --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org