/srv/irclogs.ubuntu.com/2008/10/13/#ubuntu-java.txt

AfCIs there a canonical page describing the Policy being applied for Java packages (in the Debian Policy sense of the word)?07:43
persiaAfC, http://www.debian.org/doc/packaging-manuals/java-policy/ might be what you seek.07:45
AfCpersia: sweet. I needed the Debian answer too, so thanks very much. Ubuntu following that (at least in theory, etc)?07:46
persiaYes.  The primary significant difference between Ubuntu Java packages and Debian Java packages is tweaks to the build process to ensure builds on the Ubuntu buildds.  There are a couple packages that god more attention, but not very many, and the changes should be in line with that policy.07:48
AfCpersia: great.07:48
AfCpersia: (Mostly I was looking because I was writing up an example of someone secifying .jar and .so installed locations, and figured I'd use Debian et al as the example. I knew about you lot whacking .sos into /usr/lib/jni, but wasn't sure where you were putting .jars these days)07:49
persiaYeah, that's probably a good guide.  The general idea is to have a common classpath, and make sure everything ends up in the classpath.07:50
persiaThe hardest part is coordinating with upstreams to ensure everyone is using the same set of common libraries.07:50
AfCUh, I'm not sure specifying -classpath '/usr/share/java/*' is a good idea. That's an awful lot of chugging, even if the VM in question does mmap.07:55
persiaYou mean because there could be *lots* of libraries there?07:58
AfCWell, yeah08:09
persiaThen the JRE just has to get better about it.  We use /usr/lib for all the libraries for C, and it works. :)08:10
persiaTheoretically, it should only be loading classes when they will be required anyway, so it shouldn't need to pull the unreferenced ones.08:11
AfCpersia: I'm not here to argue, and you were quite helpful above, but I'm afraid you really need to check your assumptions on this one. To locate a class it has to completely parse a .jar file - and that involves mmapping a compressed file which is no great pain but then it has to uncompress it (eats memory) to then finding out what's there, and only THEN taking the load and link actions.08:15
AfCAnyway, I'm off back to the normal universe. Thanks for your help.08:15
persiaAfC, Right.  That's not ideal.08:15
persiaHave a good day.08:15
javaprince22Java Guru's in d house please? Got a small problem that needs solvubf11:24
persiajavaprince22, For Java coding, you probably want ##java11:24
javaprince22persia, hi. Am new to the whole irc thing . so how exactly do i get to ##java? Pls don't laugh11:31
persia /join ##java11:32
javaprince22Thx. Persia. Are u a Java programmer too?11:33
persiaI'm not very strong in Java, although I've written some.11:33
javaprince22But u are a programmer? Wat language? I tried d /join ##java says authentication required11:34
persiaRight.  Authenticate to freenode.  See http://freenode.net/faq.shtml#contents-userregistration11:34
javaprince22Long literature to read.11:41
javaprince22Persia, where else can i chat with Java guru's?11:49
persiaThat's really the best place.11:50
Kyrandoes anyone here know why the latest version of sun-java6-plugin requires firefox?13:58
Kyranno one?14:06
Kyrananyway, I feel this is a packaging error, but I have no idea where and how to report it14:07
persiaKyran, Apparently not.14:07
Kyran:)14:07
persiaIt would be a bug against the source package, but I can't find the binary package sun-java6-plugin, so I don't know which source.14:08
=== LucidFox_ is now known as LucidFox
persiaMost of us are focusing on OpenJDK though : does the same happen with the OpenJDK plugin?14:08
KyranI'll check14:09
Kyranthere's no openjdk-6-plugin package in my list14:10
Kyranmaybe the plugin is in another package for the openjdk14:11
persiaWhich release are you running?14:11
Kyrankubuntu 8.0414:12
persiaOh, right, then it doesn't have the new OpenJDK.  Yeah, file a bug.14:12
persiaIt's fairly unlikely to be fixed for 8.04, but if it's still present in 8.10, it can be referenced as a significant issue that has been around for a while.14:13
Kyrancare to help me a bit in how to file a bug?14:15
KyranI'm quite new to those things14:15
Kyranbeen lurking around for a while though14:15
persiaThe easiest way is to run ubuntu-bug at the command line.14:17
KyranI'll give that a shot14:19
Kyranso it's a bug in sun-java6-plugin?14:19
persiaIf that's the package that depends on firefox, and you think it shouldn't, yes, except that I can't find such a package.14:19
Kyranit's in multiverse14:21
Kyran(being closed source)14:21
persiaAh, and it's i386-only, which is why I couldn't find it (I'm running amd64).  Yeah, that'd be the package to file the bug against.14:22
Kyranok thanks :)14:23
Kyranlaunchpad shows there's a fix released for the bug in march14:26
persiaOdd.  That should have been in 8.04.  You might want to ask the folk on #ubuntu-bugs about the best procedure for reporting that a fix doesn't seem to have worked.14:27
KyranI've read the report and it says something like this14:28
Kyranit's fixed upstream14:28
Kyranbut distributions aren't allowed to package that version14:28
Kyran(yet)14:28
persiaOh, that's frustrating.  One of the reasons I only like some parts of multiverse :)14:29
KyranI havent' had much problems with multiverse yet14:30
Kyranup until now things just worked (tm)14:30
persiaLots of it works, some doesn't.  For a large chunk of things that don't work, we can fix it, as long as we follow certain guidelines.  For the rest, it's just annoying.14:31
Kyranjup14:33
Kyranit's good that java went open source14:33
Kyranbut I make the occasional java app, so I like to test against sun's implementation also14:33
persiaIndeed.  OpenJDK is much easier to patch :)14:33
persiaOpenJDK is now Sun's implementation, but it will take a while for that to propagate everwhere.14:33
Kyranmost likely14:36
KyranI've always liked java14:36
Kyranit sort of makes sense14:37
persiaUsually, except when it doesn't :)14:38
Kyran:)14:40
Kyranso are you an active ubuntu packager, or just a friendly lad helping people out here?14:43
persiaI should be the former, but end up being more of the latter.14:46
Kyranlife tends to do that14:49
andreahackhello :D18:45
slytherinandreahack: hi18:46
andreahackhi slytherin :D18:46
slytherinandreahack: what brings you in this part of IRC? :-)18:47
andreahackwell one moment that i don't speak english very well:P18:48
andreahacki am here because  do not have to do better18:50
andreahack:P18:50

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