Sun Oct 24, 2021 4:19 pm
Login Register Lost Password? Contact Us

Compile/Link failed for embedded java program

Questions around writing code and queries

Tue Aug 19, 2014 7:20 pm Change Time Zone


When I tried to compile a java embedded ecl code, it reports the following error.

eclcc unknown: 3118: Mismatch in subminor version number (4.2.2 v 4.2.4)
eclcc 0:
eclcc 0: ---------- compiler output --------------
eclcc 0: /usr/bin/ld: cannot find -ljavaembed
eclcc 0: collect2: ld returned 1 exit status
eclcc 0:
eclcc 0: --------- end compiler output -----------

Does it mean the library of java embed is missing? Where is the directory I can check for it?

Thank you in advance.
Posts: 1
Joined: Wed Jul 30, 2014 6:15 pm

Wed Aug 20, 2014 6:01 pm Change Time Zone

I remember seeing this checklist on the web site:


Community Advisory Board Member
Community Advisory Board Member
Posts: 1005
Joined: Wed Jun 29, 2011 7:13 pm

Wed Aug 20, 2014 8:05 pm Change Time Zone

It sounds like you installed an RPM version without plugin support.

For RPM based systems, there are two different installation packages available. One package includes the optional plug-ins to support embedded code from other languages, such as JAVA, JavaScript, R, or Python.

If you want support for other languages, choose the package for your distro that begins with:


You must install the packages that have the plug-ins using the --nodeps option.

Then you will have to install the dependencies for each language you wish to support. The dependencies to support each language are installed separately.

Hope this helps,

Posts: 157
Joined: Wed May 18, 2011 1:35 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest