libjdom1-java package path

Ludovic Claude ludovic.claude at laposte.net
Wed Dec 1 21:25:23 UTC 2010


Simply add /usr/share/java/jdom1.jar to your classpath, and you will be
able to import your org.jdom classes.
See http://en.wikipedia.org/wiki/Classpath_%28Java%29 for more
information about how to setup a classpath.

jar tvf /usr/share/java/jdom1.jar lists all contents of the jar, and it
looks fine.

Ludovic

On 12/01/2010 06:58 PM, Manuel Argüelles wrote:
> 
> Hi. I installed the libjdom1-java package from squeeze repository on
> Debian (testing), but I can't find the classpath when I try to import
> this library. For example, I can't do this:    import org.jdom.*;
> 
> The output of:  dpkg -L libjdom1-java
> /.
> /usr
> /usr/share
> /usr/share/java
> /usr/share/java/jdom1-1.1.1.jar
> /usr/share/maven-repo
> /usr/share/maven-repo/org
> /usr/share/maven-repo/org/jdom
> /usr/share/maven-repo/org/jdom/jdom
> /usr/share/maven-repo/org/jdom/jdom/1.1.1
> /usr/share/maven-repo/org/jdom/jdom/1.1.1/jdom-1.1.1.pom
> /usr/share/maven-repo/org/jdom/jdom/debian
> /usr/share/maven-repo/org/jdom/jdom/debian/jdom-debian.pom
> /usr/share/doc
> /usr/share/doc/libjdom1-java
> /usr/share/doc/libjdom1-java/changelog.Debian.gz
> /usr/share/doc/libjdom1-java/changelog.gz
> /usr/share/doc/libjdom1-java/copyright
> /usr/share/java/jdom1.jar
> /usr/share/maven-repo/org/jdom/jdom/1.1.1/jdom-1.1.1.jar
> /usr/share/maven-repo/org/jdom/jdom/debian/jdom-debian.jar
> 
> Thanks in advance.
> 




More information about the pkg-java-maintainers mailing list