Camaleón wrote:
> On Fri, 13 Aug 2010 22:57:11 +0200, Merciadri Luca wrote:
>
>
>> Camaleón wrote:
>>
>
> (...)
>
>
>>> ***
>>> update-alternatives --install /usr/bin/java java
>>> /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java 1 ***
>>>
>>>
>> Thanks for this. And about java-update-alternatives? Is one more
>> prioritary than another? (See my last message, which was apparently not
>> sent.)
>>
>
> True is that I was totally unaware about the availability of the command
> Jordan suggested, so I am as lost as you here O:-)
>
Well, I configured update-alternatives this:
==
# update-alternatives --config java
There are 3 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-4.3
+ 2 /usr/lib/jvm/java-gcj/jre/bin/java
* 3 /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/java
==
Really nice, but Eclipse seems not to like it that much:
==
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/home/merciadriluca/eclipse/jre/bin/java
java in your current PATH
==
Why?
==
$ file /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/java
/usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/java: ELF 32-bit
LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses
shared libs), for GNU/Linux 2.2.5, not stripped
==
though.
--
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.
Attachment:
signature.asc
Description: OpenPGP digital signature