The moose likes Websphere and the fly likes How do I specify JDK for WebSphere? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How do I specify JDK for WebSphere?" Watch "How do I specify JDK for WebSphere?" New topic

How do I specify JDK for WebSphere?

Sri Nivas
Ranch Hand

Joined: Apr 18, 2001
Posts: 58
How do I specify the version of JDK WebSphere uses? When you do a typical installation, WebSphere uses IBM JDK, but if I want to change it to Sun's JDK afterwards, how do I do it?
I am using IBM WebSphere Application Server 3.5.0.
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
I think you can't.
Using WebSphere (3.x or 4.x) forces you to use IBM JDK.
Please let me know if I'm wrong.

/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Jun Hong
Ranch Hand

Joined: Sep 05, 2001
Posts: 181
Hi guys,
You can use other JDK and we are using JDK1.3 from sun.
This is a paragraph from info center:
In the Installation Options dialog, select Custom Installation; then click Next.
In the Choose Application Server Components dialog, select those components you want and deselect those components you do not want. You will likely want to include the default options.
Clicking Other JDK displays the Select Java Development Kit dialog. If you have a non-IBM Java development kit installed, we recommend that you specify that you want the Java Development Kit (IBM Developer Kit 1.3.0.). Also specify the destination directory for the IBM Developer Kit. Further, to use the IBM Developer Kit, you must remove your other JDKs from the jre\lib\ext directory. If you use a JDK other than IBM Developer Kit to run WebSphere Application Server, it must be at the XML4j/Xerces 3.1.1 level. Finally, click Next. Otherwise, click Back to exit the dialog.
Go to info center for more info.
Jun Hong

Jun Hong<br />SCJP, SCJD, SCWCD, SCEA<br />IBM Certified Systems Expert(V4.0)
Jun Hong
Ranch Hand

Joined: Sep 05, 2001
Posts: 181
Also EJB Java client is not limited to IBM JDK. Check out the document from info center. However, you need client side plug-in.
Jun Hong
Ricardo Alvarado

Joined: Feb 23, 2004
Posts: 19
MMM... I got another question....
I'm using WebSphere 4 and I need to use the newest sdk version for it. I already installed and I wish to change only the version in the websphere application developer.
I think this is possible, like it used to be an easy way with JBuilder.
Where o how can I change the SDK (JDK) version???
I agree. Here's the link:
subject: How do I specify JDK for WebSphere?
It's not a secret anymore!