[02:53] hello,everyone [02:55] Is anybody,here? [07:57] hey guys i'm working on packaging a java program i'm writing, and i was wondering how classpaths for jars are supposed to be handled? [08:02] Jpdota: what does your app expect to find ? A directory with all the JARs it should load ? [08:02] or it uses a static per-file classpath definition ? [08:03] in first case, we often use symbolic links from the classpath lib dir to the installed JARs in /usr/share/java [08:05] Koon: it expects to find the JAR's in the standard java location, wherever that is i guess, should i create symbolic links from that location to /usr/share/java in the start script for it then? [08:05] Koon: or in the install part of the rules file [08:06] in the rules file (use dh_link for example) [08:07] look at existing java packages and see how they do it [08:08] Koon: do you know an example of a relatively simple java package? the only ones i know of are openoffice and eclipse which are huge and have a lot of extra stuff in their files [08:08] You can look at tomcat6 [08:08] alright thanks [08:08] (but I'm biased) [08:09] haha did you package that? [08:09] yes :) [08:09] ah :) [08:09] that's a pretty popular package isn't it? [08:10] I have no idea. I have little feedback on it, very few bugs posted [08:10] that's probably a good thing! [08:10] So sometimes I'm wondering if people don't continue to install it by hand [08:11] I would hope not, packaged programs are so much nicer! [08:12] yep :) [08:13] at this point in the game with linux, if i have to compile anything i get annoyed :P [08:13] and i've been using linux since the days of conectiva and red hat 8 [08:13] so i know how to compile a program :P [08:16] Koon: if you just run dh_link it knows what to link? [08:16] no, you have to provide it with a links file [08:17] ah, that's the tomcat6.links file ok [08:17] or you can specify the link to create in dh_link command line [08:17] see man dh_link [08:18] i see [08:23] Koon: do the settings you used survive switching JRE's? [08:24] for example, using openjdk then switching to sun's jdk and vice versa [08:24] yes... what settings are you talking about ? [08:24] the classpath settings [08:25] oh yes, they survive quite well [08:25] ah ok [08:34] alright thanks for the help Koon im going to bed, i'll look at this some more tomorrow [08:35] cool, merry christmas then. [08:35] merry christmas to you too [20:39] hello again everyone, i still haven't resolved my issue with the java classpath, even after looking at eclipse and tomcat. my program has two library dependencies, and im trying to see how i would make it so the jarfile for the program can find the jars for two libraries it needs, even if the default jre of the user changes [20:49] does anyone know how to do that?