• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

switch JDK in RAD7 WAS 6.1

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 28322
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic