I am using a 3rd party package which only supports Sun JDK5, not IBM JDK 5. I use RAD7(WebSpher 6.1, JDK 5) for my web application development. How do I switch my local RAD7 's compile JDK and WAS 6.1 runtime JDK to Sun's?
It shouldn't matter which JDK (Sun or IBM) you compile against, because they should both provide the same API. (They may be implemented differently but that doesn't matter to the compiler.)
And WAS doesn't support using JVMs other than the IBM version.
I suspect that when your third-party supplier says their code only "supports" the Sun JVM, that really means they haven't tested it with any other JVMs. You may well find that it works fine with IBM's JVM.