SUSE Support

Here When You Need Us

Command 'idlj' fails with syntax error Expected `{'; encountered `;'.

This document (000020782) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15 SP4


The idlj command in version 3.0 from java-1_8_0-ibm-devel in version 1.8.0_sr7.11-150000.3.62.1 fails to compile with the following error message:

testfile.idl (line 13):  Expected `{'; encountered `;'.
struct AMOElement;
testfile.idl (line 14):  AMOElement is an undeclared type.
typedef sequence<AMOElement> AMOElementList;



Change to corba 2.4 by using the flag "-corba 2.4":

$ sdk/bin/idlj -corba 2.4 testfile.idl



IBM idlj is by default compliance with the corba level 2.3, but the forward declaration is supported with the corba level 2.4.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020782
  • Creation Date: 22-Sep-2022
  • Modified Date:18-Oct-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.