ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » IBM MQ and OpenJDKs

Post new topic  Reply to topic
 IBM MQ and OpenJDKs « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Mon Jun 17, 2019 11:27 am    Post subject: IBM MQ and OpenJDKs Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Does IBM support any version of OpenJDK, from any vendor, for use with IBM MQ Clients, specifically the Resource Adapter?

I can’t find anything that says it supports any specific flavor/version, or what criteria an OpenJDK must meet to be used with IBM MQ.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 17, 2019 12:02 pm    Post subject: Re: IBM MQ and OpenJDKs Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

PeterPotkay wrote:
Does IBM support any version of OpenJDK, from any vendor, for use with IBM MQ Clients, specifically the Resource Adapter?

I can’t find anything that says it supports any specific flavor/version, or what criteria an OpenJDK must meet to be used with IBM MQ.


Have you tried handling/treating the OpenJDK as if it were an oracle JDK?
I am thinking the main difference will be in the SSL behavior. For the rest it should behave the same as an IBM JDK...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Jun 19, 2019 6:58 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Regarding the Oracle JRE, I found this:

https://blogs.oracle.com/java-platform-group/oracle-jdk-releases-for-java-11-and-later

Which closes with:
"What should we call them? Ideally, we would simply refer to all Oracle JDK builds as the "Oracle JDK," either under the GPL or the commercial license depending on your situation. However, for historical reasons while the small remaining differences exist, we will refer to them separately as Oracle's OpenJDK builds, and the Oracle JDK."


Does IBM MQs support for Oracles implementation distinguish between the GPL (a.k.a. Oracles OpenJDK) version and the commercially licensed (a.ka. Oracle JDK) version?

If you are a JMS app on Red Hat Linux (IBM!) in JBOSS (owned by RedHat, which is owned by IBM!) calling MQ (IBM!), what would the most straight forward way for the new app to use a supported JRE? Does installing (just a self-extracting jar file) the MQ Resource Adapter on the JBOSS server provide the IBM JRE for the app to use? If yes, this would be ideal. Why should they go hunting for some OpenJDK version from who knows what 3rd party vendor? Unless their app has its own dependency on some specific flavor, I guess.

I thought this was good enough to bookmark as I research this topic:
https://blog.joda.org/2018/08/java-is-still-available-at-zero-cost.html


(Java and I are frequently on non speaking terms. Apologies if the questions aren't precise.)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 19, 2019 9:14 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

PeterPotkay wrote:

If you are a JMS app on Red Hat Linux (IBM!) in JBOSS (owned by RedHat, which is owned by IBM!) calling MQ (IBM!), what would the most straight forward way for the new app to use a supported JRE? Does installing (just a self-extracting jar file) the MQ Resource Adapter on the JBOSS server provide the IBM JRE for the app to use? If yes, this would be ideal. Why should they go hunting for some OpenJDK version from who knows what 3rd party vendor? Unless their app has its own dependency on some specific flavor, I guess.

I thought this was good enough to bookmark as I research this topic:
https://blog.joda.org/2018/08/java-is-still-available-at-zero-cost.html


(Java and I are frequently on non speaking terms. Apologies if the questions aren't precise.)

I think the real question here would be can you run JBOSS on an IBM JDK?
The IBM JDK might not be free but should ensure all compatibility problems for IBM MQ are met.

Now if you go for a non IBM JDK, the OpenJDK would be the reference implementation going forward with Java 11 and the differences between the Oracle JDK and the Open JDK are few and far between. (which won't help if your code is counting on any of those differences...)

Hope it helps
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Thu Jun 20, 2019 6:33 am    Post subject: Re: IBM MQ and OpenJDKs Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

PeterPotkay wrote:
Does IBM support any version of OpenJDK, from any vendor, for use with IBM MQ Clients, specifically the Resource Adapter?

Using MQ v9.1.2 and Linux as an example, under 'Supported Software', IBM lists the following versions of Java for use with the MQ client, or MQ resource adapter:
  • IBM Runtime Environment, Java Technology Edition, v7.0 - v8.0.5.0
  • Oracle Java SDK/JRE/JDK, v7.0 - v8.0
And it only supports the IBM JRE when "the SDK is supplied with an IBM product", which seems to suggest that the MQ client would also need to be compiled using an IBM Java compiler, in order to run in an IBM JRE.

PeterPotkay wrote:
I can't find anything that says it supports any specific flavor/version, or what criteria an OpenJDK must meet to be used with IBM MQ.

There's a lot more variablity with OpenJDK, because anybody can take the source, optionally modify it, and then create their own build, (for better or worse). That opens up a few questions about any given build, such as: "How was it modified?"; "How was it built?"; or "Is it complete?"; and probably the most important question, "Did IBM test it?". Even if it is "functionally identical aside from some cosmetic and packaging differences", IBM is not likely to support any build that it didn't specifically test for.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » IBM MQ and OpenJDKs
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.