473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Run .Java as a Windows-service?

Bas
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?

Someone wrote a Java application to copy records from an external database
to a MySQL database running on the local machine. This program is started
with a batchfile with the command "JAVA PROGRAM.JAVA". This batchfile runs
automatically at login (it's in the startup-folder). The problem is you
always have to log on to start the program. I'd rather would like to have it
running as a service.

As an additional problem; the application generates output wich is important
to see.
Thanks, Bas.
Apr 6 '06 #1
4 28713
"Bas" <nospam> wrote in news:44**********************@text.nova.planet.nl:
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP
Service?


I have seen programs available on the web to do this. I don't recall their
names, but Google and AltaVista are your friends.

A search on AltaVista requiring all three words java, windows and service
returned many hits, with several of the first 50 hits being free software to
provide this service.

--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *
Apr 6 '06 #2
Bas wrote:
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?


There are several free tools for this. I've had good experiences so far
with http://jslwin.sourceforge.net/

--
Cheers,
Herman Jurjus
May 20 '06 #3
On Sat, 20 May 2006 08:42:18 +0200, Herman Jurjus <h.******@hetnet.nl>
wrote:
Bas wrote:
Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?


There are several free tools for this. I've had good experiences so far
with http://jslwin.sourceforge.net/


I can highly recommend Java Service Wrapper. Supports running both as
Windows service, or as UNIX daemon.

http://wrapper.tanukisoftware.org/do...roduction.html

Domchi

--
Ouroboros ltd. - http://www.ouroboros.hr
Antispam: to reply, remove extra monkey from reply-to address.
May 20 '06 #4
Domagoj Klepac wrote:
On Sat, 20 May 2006 08:42:18 +0200, Herman Jurjus <h.******@hetnet.nl>
wrote:
>Bas wrote:
>>Hi Guru's,

Does anyone know how to 'convert' a .java-program to a Windows XP Service?
There are several free tools for this. I've had good experiences so far
with http://jslwin.sourceforge.net/

I can highly recommend Java Service Wrapper. Supports running both as
Windows service, or as UNIX daemon.

http://wrapper.tanukisoftware.org/do...roduction.html

Domchi
We are using Java Service Wrapper in the product. It works well except
that there are a few issues with BEA JRockit.

-William
Dec 14 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: PC | last post by:
It's obvious, that Windows XP has a Java 2 VM (including the SWING-module), because we can all run Java 2 applets in Internet Explorer. But what about the support for Java 2 Applications? I...
2
by: Gram | last post by:
Hello, I am relatively new to Java, and was wondering if Java is capable of having programmes which can sit in the taskbar in Windows, Such as MSN Messenger, or Norton AntiVirus, which only pop...
4
by: inquirydog | last post by:
Hello- I, the inquirydog, would like to solicit suggestions for a new web page I am making: I am creating a simple website that will translate concepts between windows os's, Linux, and the...
1
by: de_subhadeep | last post by:
Hi All, My program is running on a headless mode and I need to set the look and feel of my program but it gives me Headless Exception when I try to set the look and feel. The exception is as...
6
by: Alan Brown | last post by:
As a newbie I would like to ask what the difference in application (not details) is between C++ and Java. In what situations would you use C++ in preference to Java and vice versa? I am not...
8
by: Beatrice Rutger | last post by:
Hi, I am a previous Micro$oft desertee (moved from VB/VC++ to Java before this whole DOTNET thing) because I had several issues with Micro$oft. I am not completely in love with Windoze, but I...
8
by: Scott | last post by:
I have written windows applications using MFC for several years and have frequently used MFC techniques. Now I'm moving to C# .NET WinForm. Mostly C# books describes C# language (sometimes...
2
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored...
12
by: Von Clubusev | last post by:
I like Java just as much as I like C#, but the truth is that unless you absolutely need platform portability, DotNet is the way to go. This is becoming even more true with the release of Windows...
2
by: Janna | last post by:
I have the Java JVM installes on my server. I uncommented extension=php_java.dll in php.ini I uncommented and proerpyl filled out the section in php.ini: java.class.path...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.