Couldn't start CLion on Suse SLES 11 SP3

Hello,

when starting ./clion.sh I'll get following error message:

JVMJ9TI001E Agent library yjpagent-linux could not be opened (libyjpagent-linux.so: wrong ELF class: ELFCLASS32)
JVMJ9VM015W Initialization error for library j9jvmti26(-3): JVMJ9VM009E J9VMDllMain failed

Installed Java version:
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr7-20140410_01(SR7))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20140409_195732 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR7_20140409_1418_B195732
JIT  - r11.b06_20140409_61252
GC   - R26_Java726_SR7_20140409_1418_B195732_CMPRSS
J9CL - 20140409_195732)
JCL - 20140409_01 based on Oracle 7u55-b13

Regards,
Hans-Peter

5 comments
Comment actions Permalink

Hans-Peter, please try changing line 108 clion/bin/clion.sh from BITS="" to BITS="64". Does it help?

0
Comment actions Permalink

Thanks, Anton! It works.

Regards
Hans-Peter

0
Comment actions Permalink

Good to hear, Hans-Peter,
could you also check this fix that we have implemented?
Revert the previous change and replace line 102:
"$GREP" "64-Bit|x86_64" "$VERSION_LOG" > /dev/null
with
"$GREP" "64-Bit|x86_64|amd64" "$VERSION_LOG" > /dev/null


0
Comment actions Permalink

Hi Anton,
after your hint I've already fixed the line similar to your proposal. So your fix works.

BR
Hans-Peter

0

Please sign in to leave a comment.