/srv/irclogs.ubuntu.com/2007/09/07/#ubuntu-java.txt

=== 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
Linukkahi06:36
=== Linukka [n=uakkeri@82-128-203-46-Korvensuora-TR1.suomi.net] has left #ubuntu-java []
=== jamesstansell_ is now known as jstansel_
hagabakait 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:04
jstansel_hagabaka: there are ant tasks and other methods that might help you07:35
hagabakai'm just using the java command07:36
jstansel_is it a programming question, or something for deb packaging?07:36
hagabakait'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 there07:37
jstansel_a packaged program would probably either use a script or a specialized classloader07:39
jstansel_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 it07:43
hagabakawell currently i just use -classpath `joinwith : /usr/share/java/*.jar` where joinwith is a script i wrote07:54
hagabakabut it seems weird to require programs or users to do that07:55
jstansel_I wonder if the java-common package has a similar script - seems like it would be useful07:57
hagabakai'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 too07:57
man-diyou want to to explicitely put the jars you need on your classpath08:23
man-diputting all automatically onto the classpath only causes problems08:23
=== 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

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!