[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?



On Sat, 14 Aug 2010 21:00:10 +0200, Merciadri Luca wrote:

> Camaleón wrote:

>> Can you launch "eclipse" with some "-debug" option? Maybe you'll get
>> additonal information.
>>   
> Sure.
> 
> ==
> $ ./eclipse -debug

(...)

> -vm
> /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/../jre/lib/i386/client/libjvm.so

(...)

> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object ==
> 
> Nothing interesting there.

The above path... not sure if it's right.

Try by manually forcing the full path to java bin:

***
./eclipse -debug -vm /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java
***

Also, run "which java" and put here the output.

Greetings,

-- 
Camaleón


Reply to: