Bug#481292: eclipse: fails to start, missing JRE/JDK

Sandro Tosi matrixhasu at gmail.com
Mon Jun 9 23:31:36 UTC 2008


Hi Michael,
sorry for the late reply

>>   searching for compatible vm...
>>     testing /usr/lib/jvm/java-7-icedtea...not found
>>     testing /usr/lib/jvm/java-gcj...not found
>>     testing /usr/lib/kaffe/pthreads...not found
>>     testing /usr/lib/jvm/java-6-sun...not found
>>     testing /usr/lib/jvm/java-1.5.0-sun...not found
>>     testing /usr/lib/j2se/1.5...not found
>>     testing /usr/lib/j2se/1.4...not found
>>     testing /usr/lib/j2sdk1.5-ibm...not found
>>     testing /usr/lib/j2sdk1.4-ibm...not found
>>     testing /usr/lib/j2sdk1.6-sun...not found
>>     testing /usr/lib/j2sdk1.5-sun...not found
>>     testing /usr/lib/j2sdk1.4-sun...not found
>
> What package satisfying java1-runtime or java2-runtime have you actually
> installed?

I got this:

$ grep-available -F Provides java1-runtime | egrep "^Package|^Version"
Package: gij-4.1
Version: 4.1.2-19
Package: gij-4.2
Version: 4.2.3-4
Package: gij-4.3
Version: 4.3.0-5
Package: java-gcj-compat-headless
Version: 1.0.77-4
Package: sablevm
Version: 1.13-1.2
Package: java-gcj-compat
Version: 1.0.77-4
Package: gij
Version: 4:4.3-1
$ grep-available -F Provides java2-runtime | egrep "^Package|^Version"
Package: gij-4.1
Version: 4.1.2-19
Package: gij-4.2
Version: 4.2.3-4
Package: gij-4.3
Version: 4.3.0-5
Package: java-gcj-compat-headless
Version: 1.0.77-4
Package: java-gcj-compat
Version: 1.0.77-4
Package: gij
Version: 4:4.3-1


>>   Could not create /usr/local/lib/eclipse/.eclipseextension. Please run as root:
>>       touch /usr/local/lib/eclipse/.eclipseextension
>>       chmod 2775 /usr/local/lib/eclipse/.eclipseextension
>>       chown root:staff /usr/local/lib/eclipse/.eclipseextension
>>
>> Moreover, why should I run some commands as root to use a users' tool? Shouldn't it be done in postint when installing the package?
>
> Thats right. I wonder why I don't get that. I will investigate that.

If you want me to do some test, just ask: I'd be happy to help fix this.

Cheers,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the pkg-java-maintainers mailing list