• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Can't we use other jdk other than IBM JDK in RAD WebSphere?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using RAD WebSphere in my project. We can define which JDK to use by defining the argument -vm in eclipse.ini. But I found that we can only use the IBM JDK(or something as IBM SDK) in Websphere. Is that true?

I am looking forward to your opinions.
 
Bartender
Posts: 3648
16
Mac OS X Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's possible to use other JDK here
 
Bartender
Posts: 1146
38
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link Tsang provided show you how to change JDK / JRE, but we are talking about JDKs provided by IBM. Are you asking if it's possible to use OpenJDK or Oracle JDK with WebSphere ? It may work but I think it wouldn't be a supported configuration (for obvious reasons)
 
vladimir zhang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I mean if we can change to oracle jdk. I have tried many times but there are always some problems. So maybe we can't use other JDK, but only the IBM JDK.

Thank you all for your response!
 
vladimir zhang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But what I am using is:

IBM Rational® Application Developer™ for WebSphere® Software
Version: 7.5.5.5

Not version 8.5, so I didn't find the managesdk.bat ...
 
Claude Moore
Bartender
Posts: 1146
38
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't remember if RAD 7.5 can target WAS 8.5. With RAD 8.5, you tipically configure a WebSphere Appserver runtime (in Server perspective), and if I'm not wrong you may choose which JDK to use (1.6 / 1.7).
Anyway I don't think you may use Oracle (or OpenJDK) with WebSphere. There are, IMHO, at least two good reasons not do to so.
First, even if the whole thing were working, you would end to have a not officially supported configuration. And that's a pity.
Second, why would you want to change JDK / JRE ? WebSphere is shipped with a JDK that's both certified and optimized for the whole WebSphere enviroment / product: classloaders, ORBs, Java EE services implementations, web console, resource handling (datasources, queues). Changing the JRE will result in having something that's simply not WebSphere. So I can't see the point.

 
vladimir zhang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Claude Moore wrote:I don't remember if RAD 7.5 can target WAS 8.5. With RAD 8.5, you tipically configure a WebSphere Appserver runtime (in Server perspective), and if I'm not wrong you may choose which JDK to use (1.6 / 1.7).
Anyway I don't think you may use Oracle (or OpenJDK) with WebSphere. There are, IMHO, at least two good reasons not do to so.
First, even if the whole thing were working, you would end to have a not officially supported configuration. And that's a pity.
Second, why would you want to change JDK / JRE ? WebSphere is shipped with a JDK that's both certified and optimized for the whole WebSphere enviroment / product: classloaders, ORBs, Java EE services implementations, web console, resource handling (datasources, queues). Changing the JRE will result in having something that's simply not WebSphere. So I can't see the point.



Thanks for your help!

In fact, in my project, I was asked to gather information about JVM garbage collection and we are more familiar with the Oracle JDK. So I tried to change it. But since it doesn't work, I'll use the IBM JDK. Although there are some differences between the two JDK, I think they may not cause big problems.
 
Claude Moore
Bartender
Posts: 1146
38
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It may be interesting using Java Mission Control - shipped with JDK 1.8 (don't remember which update) to analize WebSphere's virtual machine via JMX. I never tried it, but I suppose it may work because JMX is a standard.
For heap analysis, you may want to download Heap Analizer: have a look at this link. I've found it very useful when I needed to verify some memory leaks.
By the way: Websphere has an integrate version of TPV, which tracks JDBC connection pool, cpu, memory, response usage. Give it a try.

Good luck and good work !
 
vladimir zhang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Claude Moore wrote:It may be interesting using Java Mission Control - shipped with JDK 1.8 (don't remember which update) to analize WebSphere's virtual machine via JMX. I never tried it, but I suppose it may work because JMX is a standard.
For heap analysis, you may want to download Heap Analizer: have a look at this link. I've found it very useful when I needed to verify some memory leaks.
By the way: Websphere has an integrate version of TPV, which tracks JDBC connection pool, cpu, memory, response usage. Give it a try.

Good luck and good work !



Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!