Thu Aug 18, 2022 10:26 am
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



ECL IDE integration with java

Topics specific to the use of the ECL IDE

Fri Aug 23, 2013 1:32 pm Change Time Zone

This is with respect to the Open NLP integration with HPCC that I am currently working upon. I would need java installed in the HPCC environment to make this OpenNLP libraries working.

I tried to follow the steps given in this link

https://github.com/arjunachala/arjunach ... ntergation

for step 2, I downloaded the corresponding jdk file for a 32 bit os since I run on a Virtual Machine and followed the steps as given in this link

http://www.wikihow.com/Install-Oracle-J ... untu-Linux

Due to Proxy restrictions, I had to opt to install java manually only. (sudo apt-get install does not work due to proxy restrictions)

I recieved the following error on compiling the sample program given at the end of first link

“Error: System error: 0: Error loading /var/lib/HPCCSystems/myeclccserver/libW20130823-183501.so: libjvm.so: cannot open shared object file: No such file or directory (0, 0)”

Any detailed document that could help on the installation of open jdk ? or am i doing something wrong here/ missing a few steps ?

Thanks,
Sunil
sunilatCTS
 
Posts: 6
Joined: Wed Jan 16, 2013 10:20 am

Fri Aug 23, 2013 1:43 pm Change Time Zone

The standard advice is "Install the java package file that represents the default java install for your distro"

I would think that the best bet if you can't use apt-get is to retrieve the deb file manually, then install it using dpkg (though I suppose you would need to find all the deb files for dependencies too.

On my Ubuntu 12.04 system, running

ldd /opt/HPCCSystems/plugins/libjavaembed.so

tells me that the jdk library is being resolved to

libjvm.so => /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so

Other distros may well use other versions (I think 13.04 uses java-7 for example) and/or install to different places.
richardkchapman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 110
Joined: Fri Jun 17, 2011 8:59 am


Return to ECL IDE

Who is online

Users browsing this forum: No registered users and 1 guest