#ubuntu-java 2006-02-07 <elegantbasura> hello <elegantbasura> does anyone here have any recommendations for installing Studio 11 on Ubuntu? <elegantbasura> does anyone here have any recommendations for installing Studio 11 on Ubuntu? #ubuntu-java 2006-02-11 <dous> Can this channel be the home for motujava? :) <tashiro> dous: Why not?! <dous> someone might have an objection or something <dous> I just thought I'd ask <dous> :) <tashiro> Not from me :-) <dous> maybe I should ask doko too when he comes in <tashiro> Who is a motu for the java packages? <zakame> here <dous> tashiro, zakame is a motu <zakame> hi all <zakame> heya tashiro , dous :) <dous> and he started the motujava team <zakame> ooh, so there's now a #ubuntu-java too, cool! <dous> hey zak! :) <dous> hi ealden <zakame> with ubuntulog here I'm assuming this is official now :) <ealden> hi dous, all :) <tashiro> Ahh, cool. Some people :-) <tashiro> zakame: Which packages do you maintain if I may ask? <zakame> tashiro: on Dapper? I don't really have any `pet' pkgs to maintain, though I have some on Debian Sid <zakame> tashiro: I mostly keep an eye for MOTU and MOTUJava bugs (and try to fix them, really ;) <zakame> tashiro: do you do work using Java? <tashiro> zakame: Cool. Yes, I maintain some packages for java in debian. For example the Eclipse package. Cacao too. <zakame> ooh! rocking then :D <dous> now that sid's eclipse and dapper's version is in sync, I need to verify that some bugs have been fixed on ubuntu too... <dous> ...if only I had a faster connection <zakame> dous++ <zakame> it would really be good if there are more folks in the JavaTeam, and coordinate with pkg-java <tashiro> I have to go to work, cu guys. <zakame> cya tashiro :D #ubuntu-java 2006-02-12 <dous> hi doko <dous> can this channel be the home for motujava? :) <dous> doko, can this channel be the home for motujava? :) <PhilKC> Oooo, people! <PhilKC> Would this be the place for discussion of the GCJ Java packed with Ubuntu? <tashiro> PhilKC: Yes, maybe also debian-java if it isn't really related to Ubuntu. <PhilKC> tashiro, Well, Mind if I try my luck here? :) <tashiro> Try <PhilKC> Using this regex string: "http[s] ?://[^\s] {2,}" Causes the following error: quantifier (?*+{}) without preceeding token on GCJ 1.4.2 (Ubuntu 5.10) <PhilKC> However, it works fine using Sun Microsystems Java... <tashiro> Then seems to be an error. I heard from development in classpath in the recent days to fix some issues in the regex impl. <tashiro> You should ask on #classpath or #gcj@OFTC <PhilKC> I've also heard it's being looked into. <tashiro> Sorry, but I have to leave for work. <PhilKC> No worries, have a nice day. :) #ubuntu-java 2006-02-17 <darth> hello <darth> anyone here?? <darth> i would like some help with getting java to work with firefix <tashiro> firefix? <darth> sorry <darth> firefox :P <tashiro> What do you want? Running applets with Firefox? <darth> yeh.. for example.. runescape <darth> i know its sad.. but yeh.. running runescape is my goal <darth> ive got breezy bdager <darth> badger* <darth> and it says it need the java thingo <darth> however i downloaded the java jre <darth> and installed using sudo <darth> and it still didnt work <tashiro> Have you package a java package from your jdk binary? <tashiro> Have you made... <tashiro> Using java-package <darth> i just unzip it and stuff using tar -zxvf and thats it <darth> ohh <darth> where is that? <tashiro> Google for make-jpkg and java-package <darth> thanx <darth> breezy badger is awesome ay <darth> it picked up my acx111 wireless card and installed it properly <darth> i got it working <zakame> hello all <tashiro> hi zakame <zakame> hello tashiro #ubuntu-java 2006-02-24 <vitin> hello <vitin> anybody here <vitin> ??? #ubuntu-java 2006-02-27 <snikker> hi how can make java-sun the default jvm instead of gcj? #ubuntu-java 2007-02-01 <abstruck> hi <w1jrm> anyone here active right now #ubuntu-java 2007-02-02 <tsoler> hello <tsoler> is anyone here? <tsoler> need to set up java for geoserver <tsoler> JAVA_home variable need to define #ubuntu-java 2007-02-04 <roy> ok - i'm a noob at Ubuntu but why oh why does Ubuntu not come with JRE, JDK "out of the box" ?????????????????????? <vil> hi roy <roy> wuz up <vil> Ubuntu actually comes with JRE out of the box, it includes GNU java <vil> gij-4.1 <vil> the problems with SUN java is that there is no package compiled from sources, which prevents it from including in main repository <roy> so to understand clearly the Run Time just allows new installs of Ubuntu to run a compiled java app but since the JDK is not loaded (or a GNU version of it) I can't compile my own code - right? <roy> I was able to load it via the built in package manger (GUI version) and seems to be working well. <roy> i have a quick question noob question concerning the wrapper class as it pertains to method calls with a related primitive interger type as the return value - basically can this be done? <roy> saw this technique used in a text book and it looked a little weird since the return type is not a class which - the method had only one return statement which returned a class reference - good / not good - works / does not work? <vil> answers follow... <vil> fresh install has just gnu java interpreter installed, so no compilation <vil> if you need jdk you either can install java-gcj-compat-dev from main repository which is gnu jdk or sun-java6-jdk from multiverse repository <vil> you should be able to do both using just the GUI <vil> you can find info about configuring the repos at https://help.ubuntu.com/6.10/ubuntu/desktopguide/C/extra-repositories.html <vil> for java language questions pls use different channel like ##java <vil> anyway, autoboxing from Java 5 may help you, however for that you will need the Sun Java at the present time <roy> vil - thanks for the clear explination - I'll send over my java questions there - again many thanks <vil> roy, np <vil> see you <alejita> hi #ubuntu-java 2007-02-05 <Iester> Hello. Has anybody any experience with programming MIDlet applications for mobile phones? #ubuntu-java 2007-02-06 <rmjb> hello? <boredandblogging> hello #ubuntu-java 2007-02-09 <toddobryan> Does anyone use a PPC machine for Java? I'm having trouble installing the latest IBM JDK. #ubuntu-java 2007-02-11 <jbl> Hi. I'm trying to install the ee5 SDK on edgy. I'm getting the "insufficient disk partition space" at the end of the installer. Any suggestions? #ubuntu-java 2007-02-14 <guyvdb> hi <guyvdb> what's this channel about? <guyvdb> somebody anybody? #ubuntu-java 2007-02-16 <jk_> hi, anyone here using eclipse-gcj? <doko> yes <eeos> hi there. are packages of the open source version of sun java already available in k-x-ubuntu? <jk_> hi doko, are you there? <eeos> hi there. are packages of the open source version of sun java already available in k-x-ubuntu? I read documentation on the net, but info is pretty confusing. Is sun java already open or not? there are apparently contradicting positions. <doko> no <guyvdb> hi <guyvdb> is anybody active here? <doko> you seem to be active ;) <guyvdb> :) <guyvdb> i was wondering what this channel was about <guyvdb> mainly because i'd like to develop java software for ubuntu <guyvdb> but i guess there's not really an audience for that <doko> maybe not, it's more about providing java support in ubuntu, i.e. packaging <guyvdb> so is there anything i can do? <doko> guyvdb: sure! <doko> not sure, how much you want to do ... our next big task will be the packaging of maven2 <doko> that includes about 50 new source packages <guyvdb> i see <guyvdb> i'm afraid that i have 0 experience with packaging <doko> guyvdb: you can learn it :) <guyvdb> i'd like to yes <doko> find an application, which is not yet packaged for ubuntu (start with a small one) <guyvdb> so maven does what exacly? i creates jar files from eclipse projects? isnt that built-in? <doko> well, yes, eclipse-3.3 uses it <doko> but maven is not a starter project <guyvdb> hm <guyvdb> i'll hang out in this channel, see what i can pick up <guyvdb> i've tried reading the devel mailing list but it's not very interesting for a beginner <doko> http://httpunit.sourceforge.net/ <doko> would be a small example (and needed for maven) <doko> you may want to subscribe to #ubuntu-motu as well <doko> irc & ML <guyvdb> thanks <guyvdb> i gtg, i'll check it out in an hour <doko> maybe look at another package as an example, i.e. libxerces2-java <guyvdb> reading the ubuntu packaging guide... #ubuntu-java 2007-02-17 <vil> guyvdb, hi <vil> if you would have any questions regarding packaging, you can also contact me, if doko would be unavailable. <vil> I am trying to help him a bit, too. <guyvdb> thanks vil <arnor> hello World! <arnor> guyvdb: hi! #ubuntu-java 2007-02-19 <lifeless> hi guys #ubuntu-java 2007-02-22 <Juli> Hola como estan <Juli> alguien maneja POI <Juli> ? #ubuntu-java 2007-02-23 <eeos> hi there. anybody who has installed ecplise on kubuntu 6.10, making it work using all ope source java packages? #ubuntu-java 2007-02-25 <H264> Hi? <Koop1> hey <Koop1> anyone help me set up a java-vnc server <Koop1> ? #ubuntu-java 2007-02-26 * netjoined: irc.freenode.net -> brown.freenode.net <Markon> hi <Markon> are you italian or english? <Markon> can I ask anything to you? <PopcornAlchemist> is there an easy way to use native Linux library's in Java? <boredandblogging> hi #ubuntu-java 2007-02-28 * Starting logfile irclogs/ubuntu-java.log <kankoo> is there any live CD i can use in java developing? <kankoo> alooooo #ubuntu-java 2008-02-01 <mohbana> hi guys <mohbana> hey guys #ubuntu-java 2008-02-02 <zp> excuse me? could any of you help me to solve my java_related_problem, please? #ubuntu-java 2008-02-05 <master_obredar> hello <master_obredar> ?? <master_obredar> ty #ubuntu-java 2008-02-07 <raichlea> anyone available for a question involving java packages and ubuntu? <mohbana> hello guys #ubuntu-java 2008-02-08 <man-di> hello egonw <egonw> moin, I saw that 'vil' is working on Bioclipse packaging for ubuntu... does anyone her now know more about that, by any chance? (if not, I'll just wait until he is back online) <egonw> hi man-di <man-di> egonw: long time not seen <egonw> indeed :) <egonw> been really busy with lots of things (new job) <man-di> egonw: I wanted to mail you about cdk .... <egonw> little time for classpath and debian/java... <egonw> ah, excellent <man-di> I havent seen vil as long as I dont saw you <man-di> so I dont know his status <egonw> oh :( <egonw> we'll at least he registered a LP bioclipse project... <egonw> which is the main reason I'm here :) <egonw> because we wanted to use LP for helping us plan/manage the development process... <egonw> started doing that for the CDK too: <egonw> http://chem-bla-ics.blogspot.com/2008/02/defining-development-goals-launchpad.html <man-di> I'm still of the opinion that its better to put anything into debian first and then merge/sync it <egonw> ah, same here... <egonw> merging from debian to ubuntu is easier than the otherway around... <man-di> using launchpad for upstream development, thats nice indeed <man-di> (personally I'm not really convinced by launchpad but thats another story) <egonw> read my blog on how we plan to use it... <egonw> as complement to SF <egonw> oh, btw... since you wanted to email me about CDK... CDK is now mentioned in Nature :) <man-di> I wanted to ask about your packaging status for it <egonw> ah :( <egonw> well... <man-di> and your current problems <egonw> I set up a clean source tree... <egonw> without any third party libraries <egonw> the orig.tar.gz so to say <egonw> but have not had time for updating the debian/rules etc <man-di> if you want me to take over the packagin, I'm fine with this <egonw> that would be great <egonw> if you have the time for it... <man-di> I just need your orig tarball, upload it somewhere and mail me the URL <man-di> I will get to it <egonw> at this moment, I like the time to get into the latest packaging best-practices <man-di> and I can use it as testcase for eclipse <man-di> does it still work with 3.2 or does it need 3.3? <egonw> for eclipse? <egonw> that's bioclipse... not the cdk <egonw> cdk does not need eclipse rcp at all <man-di> oh <man-di> even better <egonw> but, bioclipse does need cdk <man-di> makes it easier <man-di> lets get cdk into the archive first <egonw> indeed <egonw> ok, what about doing this on LP? <egonw> or you'd prefer to use aloith for it? <man-di> debian packaging? <egonw> both fine with me <egonw> yes <man-di> alioth <man-di> cdk has already some stuff on altioh in pkg-java svn <egonw> yes <egonw> but needs clean up and update <man-di> sure <egonw> but would be a perfect start <man-di> I wanted to mail you because I'm cleaning up old stuff in svn currently <egonw> man-di: http://sourceforge.net/project/showfiles.php?group_id=20024 <egonw> you need the cdk-1.0.1.tar.gz <egonw> of a bit below 4MB <egonw> about packaging bioclipse... what's the state of packaging XOM? * egonw is off to packages.d.o <man-di> can you please mail taht to me. I use my mutt as TODO list <egonw> libxom-java 1.1-2 <egonw> excellent <egonw> OK <egonw> yes, mom <man-di> XOM is packaged <egonw> man-di: email sent <man-di> thx <man-di> I might not be able to look at it this week but I will come to it <egonw> ok, I'm really happy to see you might find time for it <egonw> it's been high up on my todo list... for very long, as it is not directly important to my day job... <egonw> and CDK/Bioclipse development itself has taken much of my relatively few spare hours... <man-di> thats okay, really <man-di> but I need you too as tester :-) <man-di> I have no clue about that bio stuff at all <egonw> no problem #ubuntu-java 2008-02-10 <mohbana> hi is anyone here?> <mohbana> doko, u there? <man-di> hello <mohbana> man-di, hi i am using eclipse to manage a cvs, how do i get rid of an existing cvs project from the cvs as in totally delete it <man-di> not possible from eclipse, you can do that in the repo on the server directly (strictly not recommended) <mohbana> ok it is possible to overwrite the project completely with what i am working on in my workspace? <man-di> sure <man-di> but if you commit you still have cvs history with old content <mohbana> yep thats what i dont want <man-di> anyway, need to leave you, wheater here is too fine <mohbana> ok guys whats a good cvs tool that allows me to deelete projects? <man-di> mohbana: back <man-di> mohbana: rm on the server, nothing else, clients cant delete anything for real <selckin> anyone have debs for like ia32-sun-java6-bin but that install a jdk <selckin> :x <man-di> like sun-java6-jdk in the archive? <selckin> but 32bit version <man-di> 32bit version for amd64? or for i386? <selckin> well for amd64 <selckin> i keep hitting permgen space using idea or eclipse or netbean, and i've decided to blame the 64bit verison of java <man-di> whats the problem with aptitude install ia32-sun-java6-bin sun-java6-jdk ? <man-di> just replace sun-java6-bin by ia32-sun-java6-bin <selckin> ia32-sun-java6-bin is a jre, i'd like the jdk equivalent <man-di> sun-java6-jdk depends on sun-java6-jre which depends on sun-java6-bin | ia32-sun-java6-bin <selckin> which is 64bit <man-di> ia32-sun-java6-bin is 32bit <selckin> but only the jre <man-di> all the executables are in sun-java6-bin and ia32-sun-java6-bin <man-di> sun-java6-jdk is a jdk <selckin> i'm lost <selckin> :x <selckin> there is no package in the repo i can install to get a 32bit javac on my amd64 system, correct? <selckin> only the jre things <man-di> sigh <man-di> for the third time: aptitude install ia32-sun-java6-bin sun-java6-jdk <man-di> I just tested this here <selckin> sun-java6-jdk is 64bit <man-di> no <man-di> its just a wrapper to provide a jdk, the executables are in ia32-sun-java6-bin <selckin> ia32-sun-java6-bin is just a JRE here, no javac tools.jar or anything <man-di> javac is just bytecode <selckin> i'm using it as an example <man-di> the tools.jar is in sun-java6-jdk <man-di> and the tools.jar gets executes with java from ia32-sun-java6-bin <selckin> guess i can symlink my own jdk verison from both yeah, but no package does this <man-di> how hard can this be to understand? <selckin> if you just said 'no there is no 32bit jdk package for amd64 i'd have understood <man-di> I have shown you the solution to your problem several times, if you dont want that solution, fine. <selckin> or i asked the wrong questions <man-di> selckin: you dont need an extra JDK for 64bit as the important parts are arch-independent <selckin> i still need to create the jdk structure manual for the silly aplications that expect it <man-di> sigh <selckin> like IDEA <man-di> why dont you just do what I wrote above? <selckin> i did. <man-di> then you have done something wrong <man-di> make sure ia32-sun-java6-bin and sun-java6-jdk are installed at the same time <man-di> and sun-java6-bin is not installed * man-di leaves for food <man-di> selckin: good luck (but it works really, I tried that locally) <selckin> i removed them all, and installed just those 2 <selckin> it create a 32bit JRE /usr/lib/jvm/ia32-java-6* and a 64bit jdk /usr/lib/jvm/java-6* <selckin> which is still not a full 32bit jdk <selckin> so i'm assuming i'm being stupid or can't explain what i want, in any case i'll find something, thanks anyway <selckin> anyway easy to mix&match manually, but would have been handy to have complete 32bit jdk package available, which there isn't. <selckin> which is what my inital question was, if someone had one <selckin> anyway, thanks for the information, think we got the wires crossed a bit tho :) #ubuntu-java 2008-02-11 <magicrobotmonkey> any word on sparc yet? #ubuntu-java 2008-02-12 <bikram> hi <bikram> is it possible to add extra HTTP headers ? :-s <bikram> in HTTP request being sent from browsers.. #ubuntu-java 2008-02-13 <tlrobinson> lash #ubuntu-java 2008-02-14 <dejavu76> hi #ubuntu-java 2008-02-15 <yurinotigor> anybody out there? <yurinotigor> wondering why there is no tomcat6 package. <yurinotigor> resources or is there a technical difficulty? Read something about the maven build being a show stopper <DJ__> hey how to execute .class files saved in other directories other than java/bin ?? #ubuntu-java 2008-02-18 <omri_> hi there can anyone please help im trying to install pcanywhere and it says no jvm found even though it is installed <omri_> i have sun-java6-jre and theres a java_vm file in the dir but at the end of wizard it says no jvm found :( #ubuntu-java 2008-02-24 <mohbana> hello anyone ? <roldyx> hello <mohbana> roldyx, you still there? <roldyx> yeah <roldyx> mohbana: tell me <mohbana> roldyx, i was doing my project in fedora, then i moved to ubuntu, but when i try to run i get the following errror ' java.lang.UnsupportedClassVersionError' <roldyx> mohbana: do you move your workspace? <mohbana> roldyx, i basically committed it to the cvs, then when on ubuntu, i replaced the project with the one currently the lastest in the head <man-di> mohbana: you need to recompile your *.class files <mohbana> man-di, how? i am using eclipse it doesn't do it for me <man-di> Clean your project in Eclipse <man-di> this forces a rebuild <mohbana> hm.. same problem, i cleaned the project ... project -> clean <man-di> you are obviously building with a newer major version of Java then you are running your app <man-di> perhaps you can reduce the major number in your project settings <mohbana> by the way i am using icedtea <mohbana> ok its working <mohbana> you were right <mohbana> i think fedora's version is newer <mohbana> does anyone have a back and forward button on his mouse? #ubuntu-java 2008-02-26 <mohbana> anyone here? <mohbana> who is in charge of building iced tea? #ubuntu-java 2008-02-27 <mohbana> hey guys <mohbana> hey guys #ubuntu-java 2008-02-28 <Talon218> whats up?? <matias_> hello <mohbana> hello? <man-di> mohbana: as long as you ask nothing, noone can answer <mohbana> man-di, any idea when the icedte plugin is going to be fixed? <man-di> no idea about ubuntu <mohbana> man-di, i can't run azureus because of it, and i dont intend to isntall sun's either #ubuntu-java 2009-02-03 <kebomix> hello <kebomix> im beginner in java programming , is this course useful <kebomix> http://www.arabhardware.net/forum/showthread.php?t=59604 <kebomix> ? #ubuntu-java 2009-02-04 <linduxed> the thing is that in all other systems (linux-distros, mac, windows) bluej works, here i get menus to dissapear as soon as i let go off my mouse button. i wonder if this can be easily resolved? <linduxed> its like all menus had OnReleaseMouse = close #ubuntu-java 2009-02-05 <grze_> <--- chris <Koon> o/ <Koon> http://wiki.debian.org/Java/MavenBuilder <twerner> hi, the wiki page for maven-debian-helper: http://wiki.debian.org/Java/MavenBuilder <twerner> the Maven repository specification: http://wiki.debian.org/Java/MavenRepoSpec <Koon> https://wiki.ubuntu.com/ServerTeam/EucaPackaging <twerner> springframework packaging: http://dev.schildbach.de/svn/debian/libspring-2.5-java/ <miha> hello is there a way to get java 1.6 update 11 from apt? #ubuntu-java 2009-02-07 <kosnick> could someone explain this to me: "In 2007, Sun Microsystems released most of the code to the class libraries for the Java SE and Java EE projects under version 2 of the GPL license plus the Classpath linking exception[4], and used the same license as one possible license for their enterprise server GlassFish[5]. and for their NetBeans Java IDE" from wikipedia. If so is there any need for GNU Classpath? <Leon_Nardella> Hello. Is there a way to install sun-java6-jdk without human interaction ( the user is given a dialog to accept the Sun license )? #ubuntu-java 2009-02-08 <Newfie_rich> hey all, I am having problems complining a java program... it give me <Newfie_rich> MultiplicationGame.java:92: cannot find symbol <Newfie_rich> symbol : class KeyboardReader <Newfie_rich> location: class MultiplicationGame <Newfie_rich> KeyboardReader kb = new KeyboardReader(); <Newfie_rich> ^ <Newfie_rich> MultiplicationGame.java:92: cannot find symbol <Newfie_rich> symbol : class KeyboardReader <Newfie_rich> location: class MultiplicationGame <Newfie_rich> KeyboardReader kb = new KeyboardReader(); <Newfie_rich> ^ <Newfie_rich> 2 errors <Torikun> Hello <Torikun> Java Backup imaging solution for Ubuntu: http://mephistobackup.webhop.org <Leon_Nardella> Hi. Is there a way to install sun-java6-sdk without user interaction? #ubuntu-java 2009-02-10 <KarlsBerg87> Hello <KarlsBerg87> someone why since today i get this error when try run eclipse ganymede? NULL: java.lang.Object <KarlsBerg87> http://dpaste.com/118739/ #ubuntu-java 2009-02-12 <persia> I'm not going to make the Java meeting tonight. Could someone else run it? <Leon_Nardella> Good morning. Er.. I'd like to know if there's some way to install sun-java6-jdk without user interaction ( automagically accepting Sun's license ). :X #ubuntu-java 2009-02-13 <Riddell> Koon: yeah I want to package, sesame <Riddell> I have it building ok on my machine, but in a chroot it insists on downloading files (which won't work for a buildd of course) <Riddell> http://paste.ubuntu.com:80/117702/ <Koon> hm. <Riddell> so something seems to be different about my own system that it doesn't need to download stuff <Riddell> but I've no idea what <Koon> For simple things that happen to use maven, there is the possibility to use maven-ant-helper that basically wraps the buid into a simple ant build.xml <Koon> but Sesame looks large <Koon> (looking at that reactor build order) <Riddell> it's a beast <Koon> For medium-sized thing we expect to have support for Maven packaging at the start of jaunty+1 <Koon> (synced from twerver work in debian) <Koon> twerner, I mean <Riddell> but it works, I just don't know how <Koon> however very large things would probably still fail, since we would provide a unique version of each artifact when the very large thing usually will ask for several versions of the same artifact and fail if you cheat it <Koon> I fear Sesame falls into the last category <Riddell> Koon: want to see if it builds for you? http://www.kubuntu.org/~jriddell/tmp/sesame/ <Koon> i'm pretty sure it builds. The problem is working around the online download of deps <Riddell> but it doesn't do the download on my laptop <Riddell> only in a chroot <Riddell> is the download cached somewhere? <Koon> yes. ~/.m2 <Koon> the method we use is to provide to the build something that looks like the repository maven would have ended up downloading <Koon> but that in reality would link to the system-installed JAR artifacts <Riddell> bah fooey <Koon> There wrer two implementations of those, the one we speced i nUbuntu and the one Debian-java finally started <Koon> We discussed that last week with twerner and decided that we should use Debian model since it's better for us to sync it from them <Koon> rather than go our own slightly-different route. Furthermore their design was done by someone that kinda knows maven. While our design was done by me ;) <Riddell> what an insane build system <Koon> so we expect to be able to build a helloworld maven project at the start of the Jaunty+1 cycle <Koon> but something like Sesame or geronimo is still a very long way <Koon> You /could/ rewrite the Sesame build system completely so that it does not use Maven, but that's a hell of a work. <Koon> so doko summarized our current advice very well :) <Koon> Riddell: yes, that's a quite insane build system. Makes (some) sense if you only build binaries once. Which is kinda the idea behind Java. <Koon> But from a distro pov it's simply a walking nightmare <Riddell> and people wonder why java has a bad reputation in the free software world <Riddell> Koon: and there's no way to just include the files it would cache? <Riddell> i.e. fake the cache <Koon> Riddell: well, you could tar up the repository it caches, include it as part of the sources, and run mvn in offline mode to make sure it does no freshness check <Koon> but that would be including binaries as part of the source <Koon> which is no-no for most repositories, if not all. <Riddell> most of the files are there .pom XML files <Koon> there are quite a few JAR files normally. <Riddell> there's a bunch of .jar files but they ought to be packagable I'd have thought <Koon> you'll also miss "maven plugins" <Koon> yes, it's basically a packaging effort and some tools to help in the process <Koon> but since we provide a single version of each artifact, slightly different from the one Maven requests, it /may/fail <Riddell> ok, time to give up I think <Koon> since JARs usually break API without warning <Riddell> thanks for the information Koon <Koon> Riddell: if that's an option, I'd recommend it. <Koon> Riddell: you're welcome. I always like to rant about it. <Riddell> Koon: is there an easy way to override where maven looks for that .m2 cache? I guess I could package it for multiverse <Koon> you have to provide a settings.xml file... hmm just a sec <Koon> mvn --settings debian/prepare-settings.xml --offline <Koon> with something like http://pastebin.ubuntu.com/117731/ in the .xml feil <Koon> file, even <Koon> Riddell: got to go. Good luck :) <Riddell> thanks <rzr> http://rzr.online.fr/q/now 1234567890day countdown started #ubuntu-java 2009-02-15 <Leon_Nardella> Is this a good place to look for help on building icedtea6 on Ubuntu? <EruditeHermit> hi can anyone help me with getting openjdk and eclipse to work together? I get the following error when I try to run the appletviewer sun.applet.AppletViewer not fond in gnu.gcj.runtime.SystemClassLoader <EruditeHermit> thank you in advance <hicham> hi there <hicham> hi there <hicham> hi there <EruditeHermit> hicham: hi <hicham> how r u doing? <EruditeHermit> not bad <EruditeHermit> do you know about ubuntu-java stuff? <hicham> a little bit <hicham> it is a packaging room <hicham> no? <EruditeHermit> can you help me with a problem <EruditeHermit> yes <hicham> yes <hicham> if i can <hicham> ask <EruditeHermit> hi can anyone help me with getting openjdk and eclipse to work together? I get the following error when I try to run the appletviewer sun.applet.AppletViewer not fond in gnu.gcj.runtime.SystemClassLoader <EruditeHermit> repost from earlier <EruditeHermit> I have openjdk-6-jdk installed <hicham> but why openjdk? <hicham> it is still incomplete <hicham> it is a work in progress <EruditeHermit> what is missing? <hicham> a lot of classes and stuff <EruditeHermit> I thought sun opened most of it and what it did not, was reverse engineered <EruditeHermit> I thought it passed the tests to make sure it was compliant <EruditeHermit> or am I wrong? <hicham> it is compliant <hicham> but not complete <hicham> otherwise sun will loose the market <EruditeHermit> I see <EruditeHermit> what all is missing <hicham> eclipse runs well with gcj? <EruditeHermit> well it is running apart from the appletviewer <EruditeHermit> there is even an eclipse-jdt-gcj package in ubuntu <hicham> yes <hicham> in ubuntu there is two alternatives <hicham> the native version of eclipse built with gcj <hicham> and the one that runs with sun-jre <hicham> have u tried sun's jre? <EruditeHermit> no <EruditeHermit> but I'd rather use the open source version if at all possible <hicham> why? <hicham> most people use sun-jre <EruditeHermit> because I support open software <hicham> me too <hicham> here is a tip <hicham> try to find the class in jre and put in OpenJDK's runtime <hicham> usually, there is a main jar file <hicham> which contains the basic runtime classes <EruditeHermit> doesn't it load all the classes in jre? <EruditeHermit> already <hicham> yes, but as u told, it doesnt find some classes <EruditeHermit> how do I find it? <hicham> plus, the open jdk wont use the sun package <hicham> it is obvious <EruditeHermit> err <EruditeHermit> I'm new to all this <EruditeHermit> so forgive my ignorance <hicham> me too i m new dont worry <hicham> r u working on ubuntu? <EruditeHermit> yes <EruditeHermit> I have hte ubuntu packages installed <EruditeHermit> ok <EruditeHermit> I got it to work <EruditeHermit> somehow <EruditeHermit> but I still am confused by something <hicham> how did u do? <EruditeHermit> so <hicham> what? <EruditeHermit> it turns out that I seem to have 2 javas installed <EruditeHermit> if I go to run <EruditeHermit> then there is a tab called JRE <EruditeHermit> in that tab there is Project JRE (OpenJDK) <hicham> here is a program to help you : galternatives <hicham> and u can choose from the project properties too <EruditeHermit> but it is using a jre in a directory called java-1.5.0-gcj-4.3-156.14.161.142 <EruditeHermit> and also one directory called openjdk-6-jdk <EruditeHermit> why are there two? <hicham> u have to choose the compiler <hicham> and the runtime <EruditeHermit> but why do I have two when I only installed openjdk-6-jdk <EruditeHermit> hmm <EruditeHermit> I am confused why I have gcj as well as openjdk <EruditeHermit> and what the difference is <EruditeHermit> for example <EruditeHermit> I seem to have 2 implementations of java in /usr/lib/jvm/ <EruditeHermit> one is /usr/lib/jvm/openjdk-6-jdk and the other is /usr/lib/jvm/java-1.5.0-gcj-4.3-156.14.161.142 <hicham> openjdk is project different from gcj <hicham> it may uses some elements of it <hicham> but it is not the same <hicham> java-gcj is installed by default <hicham> that is why there is a folder for it <EruditeHermit> hmm <hicham> do u understand now? <EruditeHermit> i guess <EruditeHermit> can I get rid of the gcj version <EruditeHermit> can i remove the package gcj-4.3? <EruditeHermit> the whole java situation is so confusing because there are so many open source implementations of it <EruditeHermit> cacao, openjdk, gcj, icedtea <EruditeHermit> and many of them overlap <EruditeHermit> but they also all have their own packages <EruditeHermit> which makes it a big mess for someone who doesn't know what they are doing #ubuntu-java 2009-02-16 <hicham> as i told u, use sun-jre <hicham> it is the standard one <||Skull||> hicham? #ubuntu-java 2009-02-19 <Koon> persia: Java team meeting ? #ubuntu-java 2009-02-20 <spirited> hello <spirited> anyone here? #ubuntu-java 2009-02-21 <sommer> anyone know what the default username and password is for a fresh glassfishv2 install? <sommer> question 2 how do I start the default glassfish domain1 after stopping it? #ubuntu-java 2009-02-23 <Koon> doko: for Intrepid you said you prefer if we could keep the -gcj "Recommends" in packages that build a -gcj version. What would be your position for Jaunty ? Can we move them to Suggests ? Do you still think it's worth having them pulled in by default ? <doko> Koon: difficult question. looking at arm, this still gives us the best performance for java. I would not like to rely on an interpreted ecj. I agree that for archs with a jit they are not necessary <Koon> so if we don't want to play the arch-specific dependency game for lots of libraries, we should keep them as Recommends, I guess <doko> heh, conditional recommends would be nice <Koon> doko: what would be the list of architectures on which we should keep them by default ? only arm ? <doko> arm. ia64, powerpc, plus I would then hard-code some as dependencies, like for ecj <Koon> ok, I'll look into it. #ubuntu-java 2009-02-24 <maxb> I guess someone's noticed, but just in case they haven't: <maxb> The current armel build of openjdk-6 has been going for nigh on 6 days now <godowner> Hey all... anyone there maybe? <maxb> godowner: It's more efficient to ask an actual question. <maxb> Saves a round-trip of communication just to figure out whether it's a topic that the people active on the channel know about or not #ubuntu-java 2009-02-25 <xhaker_> Hello doko <xhaker_> sorry to bother you directly on irc <doko> xhaker_: ? <xhaker_> I'm triaging some bugs and foung bug #289784 <ubottu> Launchpad bug 289784 in openjdk-6 "netbeans is not well rendered using openjdk" [Low,Fix released] https://launchpad.net/bugs/289784 <xhaker_> I wonder if the patch to fix the cosmetic issue can be backported to hardy and intrepid <xhaker_> what do you think? <andrew87> A <andrew87> wer <doko> xhaker_: sure, you could look at the openjdk ppa as well, but I currently don't have the time for this and other backports <maxb> The current build of openjdk-6 on armel has now been building for over a week! <maxb> That's a lot longer than the last successful build #ubuntu-java 2009-02-26 <andrew87> Ongavezir2 csunyan beszel. a sorai 1.7%-a tartalmaz csunya szot. <persia> Team meeting in 5 mintutes <sommer> hey all, I'm trying to install ejbca on jaunty and as per the install instructions I've done ant bootstrap <sommer> and I keep getting a XDoclet classpath missing J2EE classes error <sommer> just wondering if that means I don't have XDoclet, or I don't have the J2EE classes <sommer> or maybe I'm missing both :) <sommer> I did try installing XDoclet from source using ant, then copying the .jar files to /usr/share/java, but still receive the same error <persia> sommer, which JDK do you have installed? <ttx> sommer: sounds like "xdoclet uses a specific classpath, and the J2EE classes are not part of it" <sommer> sun-java5-jdk <sommer> ttx: where are the j2ee classes? <sommer> persia: I also have openjdk-6-jdk <ttx> also being in /usr/share/java doesn't magically make it part of any classpath, unless /they/ include /usr/share/java/* (which they shouldn't) <ttx> sommer: no clue. Depends on what it means by "J2EE classes" <sommer> ttx: ah, should I set the classpath in the build.xml somewhere? <ttx> maybe glassfish-j2ee ? <ttx> the classpath needs to be rebuilt yes. <ttx> either provided as the JVM classpath or as a few build.xml items <ttx> sommer: you're doing a debian package ? Or just building it ? <sommer> ttx: just trying to build it... I didn't find a package <sommer> ttx: thought I might try to package it for karmic, but wanted to try and determine the difficulty level :) <ttx> I'd try to add to system classpath whatever they mean by "J2EE classes" (try glassfish-j2ee first) and call ant with that <sommer> ttx: is glassfish-j2ee a package? <ttx> hhhm, it should be <sommer> I only see glassfishv2, and some others... I have glassfish installed and working from what I can tell by the admin web interface <ttx> glassfish-javaee, sorry <ttx> sommer: good luck ;) <sommer> ttx: ah, didn't have that one <ttx> it provides some javax. stuff related to JavaEE <ttx> which might be what your error is complaining about. <Kaushal> hi <Kaushal> is this the right place to discuss about tomcat application server ? <lenards> Kaushal: do you want to discuss something about tomcat and ubuntu? <Kaushal> yeah <lenards> this is a channel about supporting java usage on ubuntu <lenards> works up? <lenards> I use tomcat 5.5 on ubuntu (8.04) so I might be able to help <Kaushal> great <Kaushal> I have uploaded a WAR on ubuntu 8.04 using tomcat-5.5.25 <Kaushal> the issue is that i dont see any logging in catalina.out file <lenards> do this in your shell <lenards> ps aux | grep tomcat <lenards> do you know that tomcat is running? <Kaushal> yes <lenards> that should help you verify if it is <Kaushal> it shows up <Kaushal> https://bugs.launchpad.net/ubuntu/+source/tomcat5.5/+bug/303058 <ubottu> Ubuntu bug 303058 in tomcat5.5 "default tomcat install should log to catalina.out (dup-of: 277508)" [Undecided,Incomplete] <ubottu> Ubuntu bug 277508 in tomcat5.5 "tomcat cannot configure use of syslog" [Wishlist,Confirmed] <lenards> do you have some servlet or page that outputs to catalina.out <lenards> second - reading bug <Kaushal> when i use the package from apache tomcat website <Kaushal> it works fine <Kaushal> but when i use the packaged Ubuntu version it does not work <lenards> ya - I don't use apt-get or synaptic <lenards> my installs were via wget of a tarball <lenards> extract, etc <lenards> would that be an option for you? <lenards> just pull down a package/tarball from apache? <Kaushal> lenards, yeah it works fine <lenards> if it's for a live site - I could see wanting the updates <Kaushal> but i was curious to know why the Ubuntu Tomcat package does not work <lenards> but, tomcat isn't having lots of releases (or maybe I just don't pay attention) <Kaushal> I was having issue with tomcat 5.5.25 on Ubuntu Server 8.04 <lenards> Kaushal: well, I don't have a good background in ubuntu packaging ... there's a bug - it seems to be an issue that people want resolved... it is logging, but to syslog <lenards> maybe someone else has something to chime in w/ - but the reason why is beyond me <lenards> sorry <malek-rik> Hi all, Im having a issue getting eclipse to run, anyone willing to help? <lenards> malek-rik: what's your issue? <lenards> and what's it say when you enter this into a shell: java -v <malek-rik> java version "1.6.0_07" <malek-rik> Java(TM) SE Runtime Environment (build 1.6.0_07-b06) <malek-rik> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) <malek-rik> When I run it off command line <malek-rik> it waits for 3 sec, then the shell goes back to waiting for a command <malek-rik> Im not sure whats up because it doesn't give any errors : / <lenards> what's the eclipse behaviour? <lenards> nothing in the .metadata/.log file in the workspace? <lenards> this sound familiar at all: <lenards> https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/174759 <ubottu> Ubuntu bug 174759 in sun-java6 "Eclipse crashes due to jvm crash" [Undecided,Confirmed] <malek-rik> Im having trouble finding ï»¿.metadata/.log <malek-rik> The path should be /path to eclipse/ï»¿.metadata/.log? <lenards> ls -la <lenards> it would be in your workspace <lenards> so if your workspace is in /home/malek/workspace <lenards> do ls -la /home/malek/workspace/.metadata <lenards> or less /home/malek/workspace/.metadata/.log or use tail -n 75 <same-path> <malek-rik> I don't understand what 'workspace' is. Is a folder eclipse should have created or? <malek-rik> Is it a* <lenards> when you run it from a terminal you don't get any messages <lenards> malek-rik: do you have a workspace folder? do you have an existing eclipse project in a workspace? <lenards> malek-rik: or have you just installed eclipse and you have no existing code at all? <malek-rik> len: first time with eclipse so I have nothing yet <malek-rik> len: just un-archived and tried to run the binary <lenards> malek-rik: okay - then you don't have that <lenards> sorry <lenards> anything in syslog? <lenards> did you look at the bug I linked? <lenards> and are you absolutely sure that you downloaded the 64-bit version of eclipse? <lenards> if you're running the 32-bit on a 64-bit JVM it'll produce "undefined behaviour" #ubuntu-java 2010-02-01 <gwadaboug> hi the room <gwadaboug> somebody can help me please? <gwadaboug> i have a question on a java program <nthykier> gwadaboug: packing a java program or running a java program installed via Ubuntu? If it is about writing a java program you will want to be in #java <gwadaboug> ok thank you <nthykier> They more about coding than we do <gwadaboug> i have ask my question on an other channel, and they have help me <gwadaboug> but thank you for your answer <gwadaboug> :) <gwadaboug> and sorry <gwadaboug> :$ <nthykier> its okay <gwadaboug> :) #ubuntu-java 2010-02-03 <alex_mayorga> Hello! Is 1.6.0_18 in the horizon? <alex_mayorga> !bug <ubottu> If you find a bug in Ubuntu or any of its derivatives, please file a bug using the command Â« ubuntu-bug <package> Â» - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs - Bugs in/wishes for the IRC bots (not Ubuntu) can be filed at http://bugs.launchpad.net/ubuntu-bots #ubuntu-java 2010-02-04 <eon01> hello <eon01> I have problems with instalation of JADE in Ubuntu <eon01> Any one here ? <nthykier> eon01: what is the issue? <eon01> Hello nthykier , when I execute " java jade.Boot âgui " I have errors <eon01> Exception in thread "main" java.lang.NoClassDefFoundError: jade/Boot <eon01> nthykier, I configured classpath correctly with the 4 jar files of JADE <nthykier> eon01: Are you sure it is called "jade.Boot" or that the jars in the classpath are all spelled correctly, because that is about my best guess here <eon01> nthykier, Yes Jars in the classpath are correctly spelled , in the end of the error I see this : Could not find the main class: jade.Boot. Program will exit. <persia> eon01: Which release? <eon01> 3.7 <eon01> persia, 3.7 <persia> That's for jade? Which Ubuntu release? <eon01> persia, 9.10 <persia> No idea then. You're sure to meet the JRE requirements for JADE. <nthykier> I get the same error if I run: java non-existant-class - I don't think it is the JRE that fails <eon01> yes , I'm not sure about setting the JAVA_HOME persia <nthykier> How do you set the classpath? Environment variable? <eon01> sudo gedit /etc/environment <eon01> then add the jars to the classpath <nthykier> what does env | grep -i CLASSPATH print? <eon01> oops it prints nothing <persia> My memory is that nothing ever sources /etc/environment, but rather that some tools will extract specific values from it. <persia> I forget precisely the file, but try adding it to something like ~/.Xsession <persia> Alternately, try from the command line with `CLASSPATH=... java jade.Boot -gui` <persia> (where ... is replaced with the actual value you wanted) <eon01> persia, I tried this : CLASSPATH..... java jade.Boot and I think it works <persia> In that case, it's definitely the CLASSPATH setting that's not exported to your environment. If you want to launch it from a .desktop file, you're going to have to find a way to export the variable to your entire session. <nthykier> or wrap the java call in shell script that sets the CLASSPATH <eon01> Agent container Main-Container@eon-Spider is ready. <eon01> but I dont see any GUI ?! * persia doesn't know anything at all about JADE * nthykier does not either <eon01> me too , it's my first time working with JADE <eon01> Java wiith Linux is so obscure :((( <eon01> Thanks for help guys , nthykier , persia :))) <nthykier> you are welcome #ubuntu-java 2010-02-09 <Gwadaboug> hello room <Gwadaboug> please i need help <persia> With which? <Gwadaboug> i use Jasper Report and when i lauch my webapplication on windows, my the date is formatd in french, but on linux it is in english <Gwadaboug> i need my date format in french :s <Gwadaboug> do you know how can i setup it? <Gwadaboug> please <nthykier> Gwadaboug: have you tried setting your LC_TIME variable? <nthykier> (before starting your java application) <Gwadaboug> no i tried 'dpkg-reconfigure locales' <Gwadaboug> because when i do 'date' my date is in french <nthykier> maybe your application has a config file asking it you use a different format then - I haven't used Jasper Report, so I really cannot say. <Gwadaboug> thank you i will try that #ubuntu-java 2010-02-10 <persia> nthykier: So, there's a new swt-gtk being synced from testing, and we've an eclipse that provides swt-gtk. <persia> But this causes a bit f a conflict. Which should win? <nthykier> persia: next upload with eclipse ships without swt <nthykier> persia: sadly I do not have time right now (though I am available in a about 3-4 hours) - alternatively you can debate it with bdrung <persia> OK. Should I authorise the sync now, and we can expect that upload in the next few days? <persia> bdrung: Please pipe up if you like :) <persia> nthykier: The sync is currently blocked. Later is fine if bdrung doesn't answer. <nthykier> alright - later then <persia> Thanks for the quick response even when you're busy. <nthykier> late for class - the cold weather outside is not really motivating me <persia> heh. <bdrung> persia: i am here. eclipse in lucid does not provide the swt libs any more. so we need the swt-gtk source package again. <bdrung> persia: but the version of swt-gtk must be bumped <persia> bdrung: That information conflicts with what I was just told by an archive-admin. <persia> Specifically, the sync is failing into lucid *because* eclipse is providing the binaries. <bdrung> persia: eclipse 3.5.1+repack~3-0ubuntu1 provides the swt libs, 3.5.1+repack~3-0ubuntu2 does not. <persia> check #ubuntu-devel from :08 to :15 <persia> Well, that's confusing. * persia checks a few other places <persia> Bother, and those are in NBS. Gotcha. Thanks. <persia> I'll file a bug to unblock the sync and sort it. <bdrung> persia: we need to bump the swt-gtk version >> 3.5.1+repack~3-0ubuntu1 <persia> So it's not a sync, and we need to upload swt-gtk 3.5.1-2 as swt-gtk 2.5.1+standard-0ubuntu1 ? <bdrung> persia: 3.5.1+standard-0ubuntu1. or replace standard with something meaningful. <persia> "standard" was just the first string >> "repack" that came to mind. Do you have any suggestions? <bdrung> persia: repack would works, to <bdrung> s <bdrung> o <bdrung> persia: repack would work, too <persia> Except it is no longer a repack :) <bdrung> nthykier: can you remember a good name for the swt-gtk version? <persia> He's at class now :) <bdrung> persia: there was a name starting with s, but i can't remember it <persia> Alright. I can wait a few hours before uploading it and getting it unblacklisted. <bdrung> persia: how about +versionbump? <persia> heh. works for me. Shall I just upload with that? <bdrung> persia: yes <bdrung> persia: 3.5.1+versionbump-0build1 <persia> Why -0build1? <bdrung> persia: therefore it will get synced once the debian version is greater <persia> And that means I don't need to mangle debian/control. I'll go with it. <bdrung> persia: we use buildX for rebuilding and fakesyncs. so why not for versionbumps? <persia> We don't use buildX for fakesyncs (or we shouldn't be doing that) <bdrung> persia: how will you do the fakesync then? <bdrung> persia: do you really want to edit debian/control for fakesyncs? <persia> I tend to use -0ubuntu1 for fakesyncs. <bdrung> persia: -0? <persia> Err, no. <persia> XubuntuY <bdrung> k <persia> The reason being that I can't sync -{X+1} <bdrung> persia: Xubuntu1 <persia> I need to wait for the next upstream. <persia> Right. <persia> I also want to preserve the Ubuntu debian/changelog entries so that it's clear who should get the complaints about creating the unsyncable tarball. <bdrung> if dpkg --compare-versions 1build1 lt 1+1; then echo yes; fi <persia> ${X+1} is "2" when X is "1". <persia> (at least in my head, for which there is admittedly little documentation) <bdrung> ups, yes <bdrung> :) * persia cringes at xulrunner-dev <persia> bdrung: nthykier: version-bumped swt-gtk uploaded. <bdrung> k <nthykier> persia: thanks <persia> nthykier: No problem. AnAnt was asking me about it earlier, but I hadn't been following the eclipse stuff closely, so I had no idea what was the right thing to do, and somehow ended up with my name against the blacklist, so had to clear it. <persia> Thanks for helping to get me to understand what was needed. <nthykier> persia: a large hammer, a lot of muscle and even more patience :P <persia> heh #ubuntu-java 2010-02-11 <lifeless> is there any supported way to do an automated install of sun java without the licence prompt? <persia> lifeless: https://wiki.ubuntu.com/JavaTeam/KnowledgeBase <lifeless> \o/ <persia> wikis are wonderful things <persia> But don't do that unless you *really* must. default-jre and default-jdk are almost always preferable. <lifeless> except that there is a bundled and renamed class in sun-java6 <lifeless> that isn't like that in openjdk-java6 <lifeless> which makes openjdk-java6 buggered for a nontrivial number of apps <lifeless> I can dig up the bug # if you like <lifeless> http://bugs.sun.com/view_bug.do?bug_id=6876736 <persia> lifeless: Aha. I'd call that a bug in hudson, but YMMV :) <lifeless> hudson, openoffice, ... - depending on what sun shipped for years. <persia> Well, more deeply, it's probably a bug in Sun, but that's a different matter :) <lifeless> could argue it either way <persia> I'll always argue against code bundling. <lifeless> *cough CD image cough* * persia wanders off, whistling innocently * lifeless waits for hudson to fire off another VM <lifeless> persia: http://rbtcollins.wordpress.com/2010/02/11/using-uec-instead-of-ec2/ is what I needed the sun java workaround for <persia> lifeless: Cool. I do suggest you add a note that indicates that you should really read the Sun license prior to adding the debconf hint. <persia> Because adding that is considered equivalent to accepting the license, which is a bit questionable if one hasn't read it. <persia> (not that everyone reads licenses, but people should at least have to pretend they have done so) <lifeless> you should see what hudson (a sun product) does :> <lifeless> it just batch installs a copy from s3 <persia> Yeah, well. <persia> Something I learned when working with Sun in other areas is that different bits of Sun don't always talk to each other as well as one might hope.
{'channel': 'ubuntu-java', 'month': 2}