Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 30246 invoked from network); 19 Aug 2008 15:27:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2008 15:27:49 -0000 Received: (qmail 5849 invoked by uid 500); 19 Aug 2008 15:27:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5802 invoked by uid 500); 19 Aug 2008 15:27:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 5778 invoked by uid 99); 19 Aug 2008 15:27:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 08:27:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of len.popp@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2008 15:26:40 +0000 Received: by wa-out-1112.google.com with SMTP id l35so2737waf.16 for ; Tue, 19 Aug 2008 08:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=5izwjlW70aG+AXYcweCBnaHR99I3nJ5QXv3zqmXVaV4=; b=opbbpfRA2Qe1rR2xc+b6Ph2Lp4HvZkkVJG4PADRsX31Brfkz9gQnlS2/2n13lIvoAU aQbVzDz28B0WF5n1sqzWxSzg88ZeUQkyKUqiceuhfVUwclVkIpRqfPcaGbHeuhgmVv8+ mgEBB5NCQz+p78cCY2DtVKQrJLLX8s10vGIoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tTwAuwR0DuO/BZLVus475J2psroJplMJ3FytMA1LXAzPh5k1etk/6bbIbuFIY+6eRi VojFgdizcAbBu2f5xZ53MMMKspKsAUxt4uGfLoJHpt8/4q1BRy2S96AMonBoBhgiSql9 HbG2vrOqyDSEQsa8Cl6sgMktqnDQMJBwJpZNs= Received: by 10.114.182.1 with SMTP id e1mr6707331waf.154.1219159629136; Tue, 19 Aug 2008 08:27:09 -0700 (PDT) Received: by 10.114.93.19 with HTTP; Tue, 19 Aug 2008 08:27:09 -0700 (PDT) Message-ID: <497fac690808190827s7b593c51l81d9cfcd00f29f6@mail.gmail.com> Date: Tue, 19 Aug 2008 11:27:09 -0400 From: "Len Popp" To: "Tomcat Users List" Subject: Re: java version in windows and tomcat server In-Reply-To: <20080819134437.243650@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19048064.post@talk.nabble.com> <20080819122949.243680@gmx.com> <20080819134437.243650@gmx.com> X-Virus-Checked: Checked by ClamAV on apache.org No, it will not work. If you compile with a new compiler you need a new JRE to run it. You can tell Eclipse to compile the code for an older JRE. The setting is in Project > Properties > Java Compiler. -- Len On Tue, Aug 19, 2008 at 09:44, sam wun wrote: > Hi, > > when I create a web project in windows Eclipse (3.4), I use jre6. > > But in my tomcat server (linux), it s using jre5. > > Do I have to make the jre version to be the same for both platforms? > > Because if I package it in a war file in windows, the lib jar files are > all in jre6 version. > > Then when I deploy this war file to the tomcat server, will it still work? > > > > Thanks > > >> > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org