[Bug 307272] [NEW] jpackage-utils doesn't work with sun-java6

witr-keyword-launchpad.135705 at rwwa.com witr-keyword-launchpad.135705 at rwwa.com
Thu Dec 11 20:30:21 UTC 2008


Public bug reported:

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

** Affects: jpackage-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
jpackage-utils doesn't work with sun-java6
https://bugs.launchpad.net/bugs/307272
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list