James1324 | hello | 02:47 |
---|---|---|
persia | James1324, Hello. | 02:48 |
James1324 | well I've asked this question in a more general forum | 02:49 |
James1324 | this is more specific so I'll ask here :) | 02:49 |
James1324 | can I create a Java Service in LInux? | 02:49 |
James1324 | something like a windows Service but for java | 02:50 |
James1324 | but for Linux*** | 02:50 |
persia | I 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 |
persia | But I'm not sure that this is the best channel to ask the question. ##java would probably be better. | 02:52 |
James1324 | ahh okay thanks | 02:53 |
James1324 | persia I found the proper terminology | 03:25 |
James1324 | I'm trying to create a Java Servlet in Ubuntu | 03:25 |
James1324 | I have apache installed but apparently I need "JSERV" are you familiar with this? | 03:25 |
persia | OK. | 03:30 |
persia | I'd recommend installing tomcat5.5 | 03:30 |
persia | But that's just a personal recommendation. | 03:30 |
persia | That would give you a servlet container, and then you can put your servlets there. | 03:31 |
persia | Details 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 |
James1324 | is ##java a private channel? | 03:32 |
James1324 | I can't join it | 03:32 |
James1324 | or its not there | 03:32 |
persia | It's not a private channel. You need to be registered with nickserv. /msg nickserv help | 03:33 |
James1324 | thanks persia, Tomcat looks nice | 03:38 |
James1324 | and it should do the trick | 03:38 |
persia | StevenK, so you've dared to look at visualvm :) | 05:33 |
StevenK | And I'm quite tempted to run screaming. | 05:33 |
persia | So, in Debian, netbeans isn't available. | 05:34 |
persia | As a result, the embedded jars game gets played a lot. | 05:34 |
persia | But 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 |
persia | Err. libnb-platform9-java | 05:36 |
* StevenK nods | 05:36 | |
persia | So, as a first pass, try rebuilding it against the newer library. | 05:37 |
persia | It may be that the source doesn't match, for various reasons (the change from 8 to 9 was an incompatible API change). | 05:37 |
persia | And 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 |
StevenK | I've updated Build-Depends, and changed debian/rules, and it still fails looking for platform8 | 05:38 |
persia | RIght. You need to update the platform.properties files. Take a look at patches/icedtea-visualvm.patch | 05:40 |
StevenK | I've edited that too | 05:42 |
persia | And it still fails looking for platform8?!? | 05:42 |
persia | If 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.jar | 05:43 |
persia | I see it now. | 05:47 |
persia | You'll need to patch a host of stuff currently in netbeans-6.1-200805300101-basic_cluster-src.zip | 05:48 |
StevenK | So I need to come up with a patch and then add it into debian/rules? | 05:49 |
persia | I think so. | 05:51 |
persia | Either that, or create a netbeans.clusters package, as from the netbeans wiki, it's still on the TODO list. | 05:51 |
persia | I'd recommend creating an ugly patch, personally. | 05:51 |
StevenK | A patch seems less work | 05:51 |
persia | It's late enough in the cycle that doing it right just causes pain. | 05:51 |
* StevenK waits for his CPU to become free | 05:52 | |
persia | But 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-bun | hi, 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 |
maxb | It's not necessary to do so. | 23:45 |
maxb | If 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!