Originally posted by: SystemAdmin
>
> this is what I did and got :
>
>
> @ubuntu:~/Desktop$ ./cplex_studio122.prev.linux-x86.bin
> Preparing to install...
> Extracting the JRE from the installer archive...
> Unpacking the JRE...
> Extracting the installation resources from the installer archive...
> Configuring the installer for this system's environment...
> strings: '/lib/libc.so.6': No such file
I'm not sure what's up with this, but I don't have that file on my system, so apparently it's not necessary for installing CPLEX. I do have libc.so installed (in /usr/lib/i386-linux-gnu); not sure if that subs for libc.so.6 or not.
>
> Launching installer...
>
> exec: 2470: /tmp/install.dir.1790/Linux/resource/jre/jre/bin/java: not found
>
> what's the problem ?
> thanks
I've seen one or two other reports of Java failing to run (or failing to run the installer), but I don't recall seeing any definitive explanation, and I've never encountered it myself. Do you have the Sun Java package installed as your default Java VM? I always install it first thing (because I use a few programs that really do not like the GNU Java that ships with Ubuntu); it could be that helps. Right now I've got OpenJDK and Sun Java installed, and I'm not sure if OpenJDK would work with the CPLEX installer (it might, but I don't think I've tried it).
If you're not sure which Java you're using, open a terminal, run 'java -version', and see what it says. If you're not running the Sun version, it might be worth a try. Use Synaptic Package Manager to install the sun-java6-jre if it's not already installed. If it's installed, run 'sudo update-alternatives --config java' in a terminal to select Sun as the default Java VM.
The error message seems to be saying that the IBM installer thinks it installed a JVM in /tmp but couldn't find it when the time came to use it. I'm not sure if it does that regardless of what JVM(s) you have installed, or if it only does it when it can't find a Java it likes on your command path.
Paul
Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
#CPLEXOptimizers#DecisionOptimization