Bug#481292: eclipse: fails to start, missing JRE/JDK
Sandro Tosi
matrixhasu at gmail.com
Thu May 15 05:43:37 UTC 2008
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
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?
Regards,
Sandro
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages eclipse depends on:
ii eclipse-jdt 3.2.2-5 Java Development Tools plug-ins fo
ii eclipse-pde 3.2.2-5 Plug-in Development Environment to
ii eclipse-source 3.2.2-5 Eclipse source code plug-ins
ii libc6 2.7-11 GNU C Library: Shared libraries
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii libgtk2.0-0 2.12.9-3 The GTK+ graphical user interface
ii zenity 2.22.1-1 Display graphical dialog boxes fro
Versions of packages eclipse recommends:
pn eclipse-gcj <none> (no description available)
-- no debconf information
More information about the pkg-java-maintainers
mailing list