Re: java version in windows and tomcat server

2008-08-19 Thread Len Popp
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 <[EMAIL PROTECTED]> wrote: > Hi, > > when I cr

java version in windows and tomcat server

2008-08-19 Thread sam wun
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