jvm problem to run/install bin file

I am trying to run:

./program_xv1.0.bin -is:javahome /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre

the bin start to execute… then comes the message: :eek:

Your JVM is 11.3-b02. The bin program requires that JVM to be at least 1.4.0

I looked around, and it sounds like my macbook_64bits has a jre version latter than 1.4.0 – as you can see in the command line 1.6.

So, any suggestions? :idea:


rpm -qa "*java*"

java -version

says?

It says…

rpm -qa “*java”

timezone-java-2009d-0.1.1
kdebindings3-java-3.5.10-14.26
mysql-connector-java-5.1.6-1.44
gcc-java-4.3-34.243
gcc41-java-4.1.3_20080612-26.8
gcc43-java-4.3.3_20081022-9.2
gettext-java-0.17-60.7
monodevelop-java-1.0-1.139
matthewlib-java-0.7.1-3.40
libreadline-java-0.8.0-226.95

any clues? :smiley:

No, because one command is missing and the output of the other does not seem to be complete.

here the missing command…

java -version

java version “1.6.0_0”
IcedTea6 1.4 (suse-24.3.1-x86_64) Runtime Environment (build 1.6.0_0-b14)
OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode)

As you see the version is newer… :open_mouth:

Yes, the version is a lot newer but your program seems to be too dumb to notice that as you are using the free java which has a slightly different naming scheme.

You can try to install “java-1_6_0-sun” via YaST, available if you have the “NON-OSS”-Repository activated.

Use


update-alternatives --config java

(as root) to check that SUN-java is activated and activate it if necessary.

:smiley: Thanks a lot… it solved!