Monthly Archives: May 2021

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 […]

Java, 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 […]

HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, 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 […]

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