Re: tomcat with java 1.5 -1.6



Arne Vajhøj <arne@xxxxxxxxxx> wrote in news:4823a338$0$90271$14726298
@news.sunsite.dk:

finecur wrote:
I have a question with tomcat/eclipse/java versions.

1. On my server, run tomcat with java 1.5.0
2. On my development machine, running eclipse with java 1.5.0.

Every thing worked fine. I recently got a new computer and installed
eclipse and java 1.6.0. I found that the jar file I compiled on the
new computer no longer works on the server. Does anyone know why?

No.

"no longer works" is not sufficient description of the error
to say what the cause is.

Try give us the exact error you are getting on what code.

Arne


My favorite IDE has an option in the properties of the "project":
Source/binary format.

All versions from JDK 1.2 to JDK 6.

Just select JDK 5, if you have such an option in your Eclipse.

.



Relevant Pages

  • Re: JavaMail works inside Eclipse but not outside
    ... my java application should monitor a server process and send mail as ... inside eclipse and does not when run outside eclipse, ...
    (comp.lang.java.programmer)
  • Re: tomcat with java 1.5 -1.6
    ... On my server, ... running eclipse with java 1.5.0. ... You can upgrade your server so that Tomcat runs a 1.6 JVM. ...
    (comp.lang.java.programmer)
  • Re: what platform do you code on?
    ... platforms people are using on x86 hardware. ... Do you use Linux to develop Java? ... If so what distro and JDK ... Eclipse 3.3, everywhere, for Java, C, TeX, CVS & Subversion, and l10n ...
    (comp.lang.java.programmer)
  • Re: tomcat with java 1.5 -1.6
    ... On my server, ... running eclipse with java 1.5.0. ... All versions from JDK 1.2 to JDK 6. ...
    (comp.lang.java.programmer)
  • Re: tomcat with java 1.5 -1.6
    ... On my server, ... running eclipse with java 1.5.0. ... All versions from JDK 1.2 to JDK 6. ...
    (comp.lang.java.programmer)