/srv/irclogs.ubuntu.com/2009/03/25/#ubuntu-java.txt

James1324hello02:47
persiaJames1324, Hello.02:48
James1324well I've asked this question in a more general forum02:49
James1324this is more specific so I'll ask here :)02:49
James1324can I create a Java Service in LInux?02:49
James1324something like a windows Service but for java02:50
James1324but for Linux***02:50
persiaI don't think I understand your terminology.  You can create a Java application that runs under linux and listens for instructions on a network port.02:52
persiaBut I'm not sure that this is the best channel to ask the question.  ##java would probably be better.02:52
James1324ahh okay thanks02:53
James1324persia I found the proper terminology03:25
James1324I'm trying to create a Java Servlet in Ubuntu03:25
James1324I have apache installed but apparently I need "JSERV" are you familiar with this?03:25
persiaOK.03:30
persiaI'd recommend installing tomcat5.503:30
persiaBut that's just a personal recommendation.03:30
persiaThat would give you a servlet container, and then you can put your servlets there.03:31
persiaDetails on how to write a servlet are better discussed on ##java, but if you're having issues with getting the container installed, we can probably help.03:31
James1324is ##java a private channel?03:32
James1324I can't join it03:32
James1324or its not there03:32
persiaIt's not a private channel.  You need to be registered with nickserv.  /msg nickserv help03:33
James1324thanks persia, Tomcat looks nice03:38
James1324and it should do the trick03:38
persiaStevenK, so you've dared to look at visualvm :)05:33
StevenKAnd I'm quite tempted to run screaming.05:33
persiaSo, in Debian, netbeans isn't available.05:34
persiaAs a result, the embedded jars game gets played a lot.05:34
persiaBut we have a new (updated) netbeans in Ubuntu, and so things that built against the netbeans libraries ought to be able to build against libnd-platform9-java in jaunty.05:35
persiaErr.  libnb-platform9-java05:36
* StevenK nods05:36
persiaSo, as a first pass, try rebuilding it against the newer library.05:37
persiaIt may be that the source doesn't match, for various reasons (the change from 8 to 9 was an incompatible API change).05:37
persiaAnd because of how the package is constructed, you'll need many of the build-dependencies installed locally to be able to build source.05:38
StevenKI've updated Build-Depends, and changed debian/rules, and it still fails looking for platform805:38
persiaRIght.  You need to update the platform.properties files.  Take a look at patches/icedtea-visualvm.patch05:40
StevenKI've edited that too05:42
persiaAnd it still fails looking for platform8?!?05:42
persiaIf you got a compilation failure, I'd understand.  I'm *really* not understanding the build failure because of missing platform8.05:43
StevenK/build/steven-visualvm_0.20080728-1ubuntu2-amd64-1Me4Lc/visualvm-0.20080728-1ubuntu2/netbeans/nbbuild/templates/projectized.xml:87: No such classpath entry: /build/steven-visualvm_0.20080728-1ubuntu2-amd64-1Me4Lc/visualvm-0.20080728-1ubuntu2/netbeans/nbbuild/netbeans/platform8/modules/org-jdesktop-layout.jar05:43
persiaI see it now.05:47
persiaYou'll need to patch a host of stuff currently in netbeans-6.1-200805300101-basic_cluster-src.zip05:48
StevenKSo I need to come up with a patch and then add it into debian/rules?05:49
persiaI think so.05:51
persiaEither that, or create a netbeans.clusters package, as from the netbeans wiki, it's still on the TODO list.05:51
persiaI'd recommend creating an ugly patch, personally.05:51
StevenKA patch seems less work05:51
persiaIt's late enough in the cycle that doing it right just causes pain.05:51
* StevenK waits for his CPU to become free05:52
persiaBut be warned that platform8 -> platform9 was an API change, so even with such a patch, the build may fail, but at least it will fail in code, rather than in the build system.05:52
=== superL is now known as MaRduk777
bun-bunhi, if i am going to install the sun-java jre and jdk should i first remove the default java packages installed by ubuntu?22:50
maxbIt's not necessary to do so.23:45
maxbIf you know for certain you have no use for non-Sun Java, then you might want to for tidyness' sake, or to save diskspace.23:46

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