This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.
Joined: Aug 02, 2004
well, I got run time error when I ran the vendor's sample code in RAD7 with IBM's JDK5. But I can tun it in tomcat 5.5 with Sun's JDK 5.
I can compile the web application in both JDKs as you mentioned.
I asked IBM's technical support, they said RAD7 can only run with IBM's JDK on windows. They don't suggest to switch JDK.