Summary This article clarifies which version of the IDL to java compiler (idlj) is being used by the Artix samples and where this is located. Environment Artix 5.6 All Supported Operating Systems Question/Problem Description idlj command used by the Artix CORBA samples cannot be found. Artix CORBA samples fail to build. Clarifying Information The Artix Java 5.6 CORBA samples require the IDL to Java compiler shipped with the JDK in order to be build. Error Message BUILD FAILED /opt/artix_java_5.6/samples/corba/hello_world/build.xml:28: The following error occurred while executing this line: /opt/artix_java_5.6/samples/corba/hello_world/build.xml:57: Execute failed: java.io.IOException: Cannot run program "idlj": java.io.IOException: error=2, No such file or directory Defect/Enhancement Number Cause The cause of this problem is a misconfigured JAVA_HOME environment variable and subsequently the bin directory of the JDK not available on the PATH Resolution idlj, the IDL to Java compiler is located in the bin directory of the JDK. Ensure the JAVA_HOME environment variable is pointing to a valid JDK location prior to setting the Artix environment through the artix_java_env script. This will ensure the bin directory of the JDK is added to the PATH variable and idlj is available when building any of the Artix Java samples needing the IDL to Java compiler. Workaround Notes Attachment
↧