-   Linux - Software (
-   -   new java install run error (

James@linux 09-04-2012 06:34 AM

new java install run error
hi all I just installed a new version of java jre1.7.0_07 it is all installed and I have already set it as my default java using

sudo update-alternatives --config java

however when I go to fire up a program with java I get an error

java: relocation error: java: symbol JLI_MemAlloc, version SUNWprivate_1.1 not defined in file with link time reference

there is one other version of java on the system that was the default. I am completely at a loss for what to do I have researched this topic a bit but could find no resolution. any help would be greatly appreciated or at least a link to an answer thanks!

knudfl 09-05-2012 12:15 AM

Welcome to LQ.

Version "" : $ readelf -s | grep JLI_MemAlloc
31: 00002aa0 68 FUNC GLOBAL DEFAULT 11 JLI_MemAlloc@@SUNWprivate_1.1
145: 00002aa0 68 FUNC GLOBAL DEFAULT 11 JLI_MemAlloc

Version "1.7" : readelf -s | grep JLI_MemAlloc
156: 00009540 65 FUNC LOCAL DEFAULT 13 JLI_MemAlloc

About applications compiled with the symbol JLI_MemAlloc@@SUNWprivate_1.1:
It seems you will have to use a "java6" to run those.


All times are GMT -5. The time now is 11:47 PM.