java-7-openjdk-amd64 contains broken symlinks

Bug #1052663 reported by Leo Unglaub
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-7 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hey, sience the last update to 7u7-2.3.2-1ubuntu0.12.04.1 the directory /usr/lib/jvm/java-7-openjdk-amd64/jre/lib contains a lot of broken symlinks with cause different runtime errors on eclipse/aptana.

leo@thunder:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib$ dpkg -l openjdk*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Beschreibung
+++-======================================-======================================-============================================================================================
un openjdk-6-jre <keine> (keine Beschreibung vorhanden)
un openjdk-6-jre-headless <keine> (keine Beschreibung vorhanden)
ii openjdk-7-jre 7u7-2.3.2-1ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-7-jre-headless 7u7-2.3.2-1ubuntu0.12.04.1 OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-7-jre-lib 7u7-2.3.2-1ubuntu0.12.04.1 OpenJDK Java runtime (architecture independent libraries)

Broken Links:
lrwxrwxrwx 1 root root 51 Sep 11 18:15 charsets.jar -> ../../../java-7-openjdk-common/jre/lib/charsets.jar
lrwxrwxrwx 1 root root 60 Sep 11 18:15 compilefontconfig.jar -> ../../../java-7-openjdk-common/jre/lib/compilefontconfig.jar
lrwxrwxrwx 1 root root 50 Sep 11 18:15 javazic.jar -> ../../../java-7-openjdk-common/jre/lib/javazic.jar
lrwxrwxrwx 1 root root 46 Sep 11 18:15 jce.jar -> ../../../java-7-openjdk-common/jre/lib/jce.jar
lrwxrwxrwx 1 root root 47 Sep 11 18:15 jsse.jar -> ../../../java-7-openjdk-common/jre/lib/jsse.jar
lrwxrwxrwx 1 root root 59 Sep 11 18:15 management-agent.jar -> ../../../java-7-openjdk-common/jre/lib/management-agent.jar
lrwxrwxrwx 1 root root 52 Sep 11 18:14 resources.jar -> ../../../java-7-openjdk-common/jre/lib/resources.jar
lrwxrwxrwx 1 root root 48 Sep 11 18:15 rhino.jar -> ../../../java-7-openjdk-common/jre/lib/rhino.jar
-rw-r--r-- 1 root root 31M Sep 11 12:12 rt.jar
lrwxrwxrwx 1 root root 27 Mai 2 21:56 zi -> ../../../../../share/javazi

leo@thunder:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04

Greetings
Leo

Revision history for this message
Leo Unglaub (leo-unglaub) wrote :

Here is a link to the relatedproblem with happens in eclipse/aptana because of those errors: https://jira.appcelerator.org/browse/APSTUD-7433

Revision history for this message
Matthias Klose (doko) wrote :

works fine here. what does ls -lL show? the jar's are installed from the openjdk-7-jre-lib package. dpkg -L openjdk-7-jre-lib should show that these files exist.

Changed in openjdk-7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Leo Unglaub (leo-unglaub) wrote :

leo@thunder:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib$ ls -lL
ls: Zugriff auf zi nicht möglich: Datei oder Verzeichnis nicht gefunden
insgesamt 35856
-rw-r--r-- 1 root root 391 Mai 2 18:34 accessibility.properties
drwxr-xr-x 1 root root 924 Sep 14 00:51 amd64
-rw-r--r-- 1 root root 2229 Mai 2 18:59 calendars.properties
-rw-r--r-- 1 root root 2119490 Sep 11 12:10 charsets.jar
-rw-r--r-- 1 root root 75664 Sep 11 12:08 classlist
drwxr-xr-x 1 root root 86 Sep 13 14:14 cmm
-rw-r--r-- 1 root root 1494 Sep 11 12:08 compilefontconfig.jar
-rw-r--r-- 1 root root 5851 Mai 2 18:59 content-types.properties
-rw-r--r-- 1 root root 4200 Sep 11 12:09 currency.data
drwxr-xr-x 1 root root 250 Sep 14 00:51 ext
-rw-r--r-- 1 root root 3901 Mai 2 18:59 flavormap.properties
-rw-r--r-- 1 root root 14538 Mai 2 19:01 fontconfig.properties
drwxr-xr-x 1 root root 14 Aug 29 00:28 images
-rw-r--r-- 1 root root 62 Sep 11 18:14 jar.binfmt
-rw-r--r-- 1 root root 44524 Sep 11 12:08 javazic.jar
-rw-r--r-- 1 root root 91378 Sep 11 12:11 jce.jar
-rwxr-xr-x 1 root root 10440 Sep 11 18:15 jexec
-rw-r--r-- 1 root root 324765 Sep 11 12:17 jsse.jar
-rw-r--r-- 1 root root 4226 Sep 11 12:09 jvm.hprof.txt
-rw-r--r-- 1 root root 2455 Mai 2 19:00 logging.properties
drwxr-xr-x 1 root root 126 Sep 14 00:51 management
-rw-r--r-- 1 root root 381 Sep 11 12:11 management-agent.jar
-rw-r--r-- 1 root root 1946 Sep 11 12:12 meta-index
-rw-r--r-- 1 root root 3070 Mai 2 18:59 net.properties
-rw-r--r-- 1 root root 11390 Mai 2 19:00 psfontj2d.properties
-rw-r--r-- 1 root root 3793 Mai 2 19:00 psfont.properties.ja
-rw-r--r-- 1 root root 806734 Sep 11 12:17 resources.jar
-rw-r--r-- 1 root root 1127950 Sep 11 12:17 rhino.jar
-rw-r--r-- 1 root root 31989886 Sep 11 12:12 rt.jar
drwxr-xr-x 1 root root 76 Sep 14 00:51 security
drwxr-xr-x 1 root root 28 Sep 14 00:51 servicetag
-rw-r--r-- 1 root root 1986 Mai 2 19:00 sound.properties
-rw-r--r-- 1 root root 113 Mai 2 18:34 swing.properties
-rw-r--r-- 1 root root 35 Mai 2 19:08 tz.properties
l????????? ? ? ? ? ? zi

There are now 5 different people in the JIRA tracker from the aptana project, all with the same problem and all of them on ubuntu.

Revision history for this message
Matthias Klose (doko) wrote :

so there's apparently not one broken symlink.

which version of tzdata-java is installed?
ls -l /usr/share/javazi

Revision history for this message
Leo Unglaub (leo-unglaub) wrote :

I don't have this package installed:

leo@thunder:~$ dpkg -l tzdata-java
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Beschreibung
+++-==============-==============-============================================
un tzdata-java <keine> (keine Beschreibung vorhanden)

The directory /usr/share/javazi does not exist on my system.
leo@thunder:~$ ls -l /usr/share/ | grep java
drwxr-xr-x 1 root root 48 Aug 29 00:28 ca-certificates-java
drwxr-xr-x 1 root root 158 Aug 29 00:28 java
drwxr-xr-x 1 root root 32 Sep 17 19:13 javascript

Greetings
Leo

Revision history for this message
Matthias Klose (doko) wrote :

please install tzdata-java

Revision history for this message
Leo Unglaub (leo-unglaub) wrote :

Yes, that fixes the problem. but shouldn't this package be a dependency of the java package?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.