I developed a full application in JDK 1.5 and now I come to know then my client is using IBM WebSphere Application Server - Express, 22.214.171.124 which points to JDK 1.4.
So, on deploying my application, it throws UnsupportedClassVersionError exception.
So how can we point this application server to JDK 1.5 so that my application can run without any problem?
I would suggest you stick to the JDK version that is supported by WAS version. I have experienced WAS 6.x and 7.x and played with JDK/JRE and my experience tells me to stick to what is bundled with that specific IBM product.
I would like to share my experience. I had faced this problem in my previous application.I have implemented a application using jdk1.6 but i need to deploy this application in was 6.0 which is stick to jdk1.5.At that time i approached an Architect.He suggested me ,it is better to use product in built version(jdk 1.5).So i had changed my code for jdk1.5.