[ubuntu-mono] [Bug 582941] Re: Ice.jar causes java compiler warnings

John Hubbard ender8282 at yahoo.com
Wed May 19 17:57:15 BST 2010


** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/48734470/Dependencies.txt

** Attachment added: "XsessionErrors.txt"
   http://launchpadlibrarian.net/48734471/XsessionErrors.txt

-- 
Ice.jar causes java compiler warnings
https://bugs.launchpad.net/bugs/582941
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to zeroc-ice in ubuntu.

Status in “zeroc-ice” package in Ubuntu: New

Bug description:
Binary package hint: libzeroc-ice-java

Compiling with Ice.jar in the class path leads to compiler warnings

jhubbard at aconcagua:~/code/scratch$ javac -classpath /usr/share/java/Ice.jar -Xlint:all HelloWorld.java
warning: [path] bad path element "/usr/share/java/db.jar": no such file or directory
warning: [path] bad path element "/usr/share/java/db-4.6.21.jar": no such file or directory
warning: [path] bad path element "/usr/share/java/usr/share/java/libdb4.6-java.jar": no such file or directory
warning: [path] bad path element "/usr/share/java/../db.jar": no such file or directory
4 warnings

This is because Ice.jar/META-INF/MANIFEST.MF defines non-existent class paths.  I could not figure out how to report bugs to zeroc directly but I doubt that this is an Ubuntu specific problem.  

llibzeroc-ice-java version 3.3.1-6
Ubuntu version 9.10

The workaround is to compile with -Xlint:all,-path, or ignore the warnings.

ProblemType: Bug
Architecture: i386
Date: Wed May 19 09:40:46 2010
DistroRelease: Ubuntu 9.10
Package: zeroc-ice33 3.3.1-6
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
SourcePackage: zeroc-ice
Uname: Linux 2.6.31-21-generic i686





More information about the Ubuntu-mono mailing list