my dog learned polymorphism*
The moose likes Websphere and the fly likes Use JDK 1.4 / JRE 1.4 on WSAD 5.1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Use JDK 1.4 / JRE 1.4 on WSAD 5.1.2" Watch "Use JDK 1.4 / JRE 1.4 on WSAD 5.1.2" New topic

Use JDK 1.4 / JRE 1.4 on WSAD 5.1.2

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Hi All,

I have been successfully using JDK 1.3 and JRE 1.3 with WSAD 5.1.2. Now I have to add few jar files which are built with JDK 1.4 and including them in my project throws errors like "missing type org.ietf.jgss.GSSManager" . I did install J2SDK 1.4 on my machine but how do I force WSAD to build my project using J2SDK 1.4.

I tried following options
1. set up new JRE directory in Window -> Prefernces -> installed JREs. and selected it.
2. Go to Window -> Prefernces -> Compiler and set following values :
Compiler complice level - 1.4
Generated .Class file compatibility - 1.3
source compatibility 1.3 ( Note: new files are jar files and not the source , so I kept it 1.3 in this setting)
3. Go to project properties and repeat step# 2

Please advise.
- Anand
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30068

As far as I know, you can't upgrade the JVM/JRE. The only way to go to 1.4 is to upgrade to RAD 6 (IBM renamed WSAD to RAD when they acquired Rational.)

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Consider Paul's rocket mass heater.
subject: Use JDK 1.4 / JRE 1.4 on WSAD 5.1.2
Similar Threads
WSAD 5.1.2 and J2SE 1.5 Compiler
Upgrade jdk
class file has wrong version 48.0, should be 47.0
Upgrading JDK version to JDK 1.4.2_12 in WSAD 5.1.2 including server