Discussions

General J2EE: Do Sun Java System Web Server 6.1 support Java 1.5?

  1. I was told that the jaba web server only support java 1.4 only. Is there any patches ot setting that I can change to make it work with java 1.5?

    Thanks
  2. 6.1 SP4 does support JDK1.5 on Solaris, Linux and Windows
    see:
    http://docs.sun.com/source/819-0290/rn61sp4.html#wp39544a
  3. Hi Peter,
       Thanks for your help.

    Regards
    Gooi
  4. My current client is using Sun One Web 6.1 with Java 1.5 in current release without any special thing except the change of XML parser so we had to change our code to use JAXP.
  5. Hi Sebastian,
       Below are the error that I get on my web server and after some investigation, found that it is not compatible with java 1.5


    java.lang.UnsupportedClassVersionError: HelloWorldExample (Unsupported major.minor version 49.0)

    Regards
    Gooi
  6. Look like running Sun One on 1.4 with compiled code for 1.5