Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

switch JDK in RAD7 WAS 6.1

 
Bob Liu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic