Recently I was trying to run some custom Java code using the latest SAS 9.4 M8 libraries with Java 11 and ran into a unexpected exception:
java.lang.NoClassDefFoundError: org/omg/CORBA/Object
This was a surprise as CORBA underpins the SAS 9.4 IOM servers and their APIs (like the SAS Metadata Server and SAS Workspace Server). My code worked fine with SAS 9.4 M7 and so I assumed it must be related to the switch to Java 11 in SAS 9.4 M8 and there must be a way to get it working again.
I searched up Java 11 and CORBA, and as one often does, landed on a StackOverflow page: https://stackoverflow.com/questions/13517497/java-lang-noclassdeffounderror-org-omg-corba-interfacedef
One of the answers Continue reading “SAS 9.4 M8 Java 11 and CORBA”