wood burning stoves*
The moose likes Websphere and the fly likes switch JDK in RAD7 WAS 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "switch JDK in RAD7 WAS 6.1" Watch "switch JDK in RAD7 WAS 6.1" New topic
Author

switch JDK in RAD7 WAS 6.1

Bob Liu
Greenhorn

Joined: Aug 02, 2004
Posts: 8
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?

Thanks.

Bob Liu
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18657
    
    8

Well, you don't.

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.
Bob Liu
Greenhorn

Joined: Aug 02, 2004
Posts: 8
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.
Jason Liao
Ranch Hand

Joined: Jun 17, 2005
Posts: 59
Originally posted by Bob Liu:

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.


You have to ask the third-party vendor if their library/sample works in IBM JDK 5 or is it a bug?

Good luck.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: switch JDK in RAD7 WAS 6.1