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

Michael Koch konqueror at gmx.de
Fri Jun 6 18:37:36 UTC 2008


On Thu, May 15, 2008 at 07:43:37AM +0200, Sandro Tosi wrote:
> Package: eclipse
> Version: 3.2.2-5
> Severity: important
> 
> Hello,
> eclipse fails to start since it misses a JRE/JDK, but:
> 
>   # apt-get install eclipse
>   Reading package lists... Done
>   Building dependency tree       
>   Reading state information... Done
>   eclipse is already the newest version.
>   0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
> 
>   # apt-show-versions eclipse
>   eclipse/unstable uptodate 3.2.2-5
> 
> so no Depends is missing here, but anyway I got:
> 
>   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:
>   /usr/lib/j2sdk1.4-sun/bin/java
> 
> in a box at startup, and in a terminal this:
> 
>   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?

>   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.


Cheers,
Michael





More information about the pkg-java-maintainers mailing list