Archive for the Category: Java

Adoptium Released Java 17 Builds

The Eclipse Adoptium (previously known as Adopt OpenJDK) has released Java 17 builds for AIX ppc64, alpine-Linux x64, Linux aarch64, Linux arm32, Linux ppcle64, Linux s390x, Linux x64, Mac aarch64, Mac x64, Windows x32 & x64. The mission of the Eclipse Adoptium Top-Level Project is to produce high-quality runtimes and associated technology for use within […]

Also posted in JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows Comments Off on Adoptium Released Java 17 Builds

Java 17 Released

Oracle has just released Java 17. https://www.oracle.com/news/announcement/oracle-releases-java-17-2021-09-14/ https://openjdk.java.net/projects/jdk/17/ https://www.infoworld.com/article/3606833/jdk-17-the-new-features-in-java-17.html Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in today’s demanding embedded environments. Java offers the rich user interface, performance, versatility, portability, and security that today’s applicationsrequire. Regards, Roger Lacroix Capitalware Inc.

Also posted in IBM i (OS/400), JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Java 17 Released

IBM Announces IBM Semeru Runtimes

IBM has introduced no-cost IBM Semeru Runtimes to develop and run Java applications. https://developer.ibm.com/blogs/introducing-the-ibm-semeru-runtimes/ https://developer.ibm.com/languages/java/semeru-runtimes/ IBM Semeru Runtimes use the class libraries from OpenJDK, along with the Eclipse OpenJ9 Java Virtual Machine to enable developers to build and deploy Java applications that will start quickly, deliver great performance, all while using less memory. Key highlights […]

Also posted in JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on IBM Announces IBM Semeru Runtimes

MQ Request/Reply Scenario with Async Getter Thread

Ok. Continuing on with the previous blog posting here, the StackOverflow user says that s/he wants the getter component to be run in a separate thread. To me, the request does not really make a lot of sense. If the user wants to do a Get with CorrelId then they should be coding for synchronous […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Open Source, Programming, Raspberry Pi, Unix, Windows Comments Off on MQ Request/Reply Scenario with Async Getter Thread

Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

On StackOverflow, someone asked a question about putting 2 messages on a queue with unique correlation ids and then retrieve a message with a particular correlation id. Here is a fully functioning Java/MQ program that will put 2 messages on a queue with unique correlation ids and then retrieve a message with a particular correlation […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Open Source, Programming, Raspberry Pi, Unix, Windows Comments Off on Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

Microsoft OpenJDK Builds

I had to rub my eyes and read the announcement twice!! 🙂 Microsoft announces the general availability of Microsoft Build of OpenJDK: https://devblogs.microsoft.com/java/announcing-general-availability-of-microsoft-build-of-openjdk/ Java at Microsoft spans from Azure to Minecraft, across SQL Server to Visual Studio Code, LinkedIn and beyond! We use more Java than one can imagine. The Microsoft Build of OpenJDK is […]

Also posted in JMS, Linux, macOS (Mac OS X), Open Source, Programming, Windows Comments Off on Microsoft OpenJDK Builds

Java MQ Code to Clear a Queue of Messages

If you have done the following runmqsc command to clear a queue: And you wanted to do the same thing via a program, here is a fully functioning Java MQ example that will connect to a remote queue manager, issue a PCF “Clear Queue” command, get the PCF response messages and output if the PCF […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Raspberry Pi, Unix, Windows Comments Off on Java MQ Code to Clear a Queue of Messages

Updates to My ByteArray Class

Last year, I posted a blog item called Java’s Missing Byte Array Class regarding the missing ByteArray class in Java and I published my ByteArray class for all to use. I have fixed a bug in the getBytes method and added 2 new methods: public int convertToInt_BE() public void replaceAndResize(byte[] oldByteArray, byte[] newByteArray) I have […]

Also posted in HPE NonStop, IBM i (OS/400), JMS, Linux, macOS (Mac OS X), Open Source, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Updates to My ByteArray Class

Programmatically Get IBM MQ Version for Both Client and Queue Manager

Recently, on both StackOverflow and mqseries.net, people have been asking about getting both the client and queue manager versions numbers for MQ. It is pretty easy to get both the client and queue manager from the command line. For the IBM MQ installation that is running the queue manager, you simply issue the following command: […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, JMS, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Raspberry Pi, Unix, Windows Comments Off on Programmatically Get IBM MQ Version for Both Client and Queue Manager

All Java and JVM features since JDK 8 to 16

David Csakvari has a blog posting called: A categorized list of all Java and JVM features since JDK 8 to 16 If you ever wondered or needed to know what has changed between releases of Java, David Csakvari’s blog posting has an excellent list of changes. On the flip side, if you are a new […]

Also posted in HPE NonStop, IBM i (OS/400), JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on All Java and JVM features since JDK 8 to 16