=== sss [i=sss@gateway/tor/x-ecd6391bfc2d8c39] has joined #ubuntu-java === doko_ [n=doko@dslb-088-073-098-172.pools.arcor-ip.net] has joined #ubuntu-java === AndyP [n=andyp@ubuntu/member/welshbyte] has joined #ubuntu-java === hagabaka [n=hagabaka@unaffiliated/hagabaka] has joined #ubuntu-java === tomtomnana [n=thomas@sd-7866.dedibox.fr] has joined #ubuntu-java === lifeless [n=robertc@ppp245-86.static.internode.on.net] has joined #ubuntu-java === doko_ [n=doko@dslb-088-073-098-172.pools.arcor-ip.net] has joined #ubuntu-java === sss [i=sss@gateway/tor/x-ecd6391bfc2d8c39] has joined #ubuntu-java === man-di [n=mkoch@enough.dyndns.org] has joined #ubuntu-java === jiten_ [n=jiten@41.204.235.113] has joined #ubuntu-java === sss [i=sss@gateway/tor/x-8f1245f48fb046ec] has joined #ubuntu-java === sss [i=sss@gateway/tor/x-c21fbe24fc8f4892] has joined #ubuntu-java === AfC [n=andrew@office.syd.operationaldynamics.com] has joined #ubuntu-java === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-java === ytojack [n=ytojack@59.35.230.151] has joined #ubuntu-java === sss [i=sss@gateway/tor/x-f407f1d1f2c9b1bc] has joined #ubuntu-java === jamesstansell [n=james@wsip-24-249-157-103.tu.ok.cox.net] has joined #ubuntu-java === xhaker [n=xhaker@a81-84-26-224.cpe.netcabo.pt] has joined #ubuntu-java === jamesstansell_ [n=james@wsip-24-249-157-103.tu.ok.cox.net] has joined #ubuntu-java === tmarble [n=tmarble@192.18.48.21] has joined #ubuntu-java === Linukka [n=uakkeri@82-128-203-46-Korvensuora-TR1.suomi.net] has joined #ubuntu-java [06:36] hi === Linukka [n=uakkeri@82-128-203-46-Korvensuora-TR1.suomi.net] has left #ubuntu-java [] === jamesstansell_ is now known as jstansel_ [07:04] it seems that i have to add each .jar file in /usr/share/java/ to the class path for them to be locatable by java. is there an automatic way to do it? [07:35] hagabaka: there are ant tasks and other methods that might help you [07:36] i'm just using the java command [07:36] is it a programming question, or something for deb packaging? [07:37] it's about running java programs on Ubuntu I guess. since the java libraries are all installed to /usr/share/java, i thought there was a some way to autoamtically find them there [07:39] a packaged program would probably either use a script or a specialized classloader [07:43] it's also possible for a jar to specify other jars that it depends on, but I think the feature must not be specified or implemented well, since no one seems to understand it or really be able to explain it [07:54] well currently i just use -classpath `joinwith : /usr/share/java/*.jar` where joinwith is a script i wrote [07:55] but it seems weird to require programs or users to do that [07:57] I wonder if the java-common package has a similar script - seems like it would be useful [07:57] i'd expected that at least one .jar installed from ubuntu package would automatically load its dependencies, but no, i have to explicitly list the dependent .jar files too [08:23] you want to to explicitely put the jars you need on your classpath [08:23] putting all automatically onto the classpath only causes problems === Nicke [n=niclasa@h161n2fls31o808.telia.com] has joined #ubuntu-java === jstansel_ is now known as hansel_ === hansel_ is now known as jstansel_ === doko_ [n=doko@dslb-088-073-085-144.pools.arcor-ip.net] has joined #ubuntu-java