jpackage-utils doesn't work with sun-java6

Bug #307272 reported by BigBaaadBob
2
Affects Status Importance Assigned to Milestone
jpackage-utils (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: jpackage-utils

For example, using find-jar reports:

$ find-jar ant
/usr/bin/find-jar: error: JVM_LIBDIR /usr/lib/jvm-exports/java-6-sun does not exist or is not a directory

Analysis:

jpackage-utils creates certain directories based on versions of the JVM, but doesn't include ones for version 6. For example:

/usr/lib/jni-1.5.0
/usr/share/java-1.5.0

Creating these directories (and the one in the error message above) seems to fix the problem.

Details:

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

$ dpkg -l 'sun-java6*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===========================-===========================-======================================================================
ii sun-java6-bin 6-07-3ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files
un sun-java6-demo <none> (no description available)
un sun-java6-doc <none> (no description available)
un sun-java6-fonts <none> (no description available)
ii sun-java6-jdk 6-07-3ubuntu2 Sun Java(TM) Development Kit (JDK) 6
ii sun-java6-jre 6-07-3ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent fil
ii sun-java6-plugin 6-07-3ubuntu2 The Java(TM) Plug-in, Java SE 6
un sun-java6-source <none> (no description available)

$ dpkg -s jpackage-utils | grep Version
Version: 1.6.3-0.0ubuntu2

Revision history for this message
BigBaaadBob (witr) wrote :

By "creating these directories" I mean:

# mkdir /usr/lib/jvm-exports/java-6-sun
# mkdir /usr/share/java-1.6.0
# mkdir /usr/lib/jni-1.6.0

Then find-jar works:

$ find-jar ant
/usr/share/java/ant.jar

Revision history for this message
Brian Murray (brian-murray) wrote :

This package has been removed from the archive in Lucid and subsequently I am setting this bug's status to Won't Fix. Please submit any bugs about other packages that you may experience in the future.

Changed in jpackage-utils (Ubuntu):
status: New → Won't Fix
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.