At 06:14 PM 7/07/2001, Gregor Kovač wrote:
>Hi!
>
>As I see Mcrosoft's JDK only suppots Java 1.1.4. Can I only use this 
>jntsvc program or I have to use their JDK to run Java programs?

You might want to check out JavaService from Alexandria Software Consulting 
(http://www.alexandriasc.com/software/JavaService/index.html) which is "a 
Win32 executable that allows any Java class to be run as an NT service. It 
uses JNI's invocation API to create a Java Virtual Machine using any JNI 
compliant Java implementation. JavaService can call the typical entry method
static void main(String[])
in order to start the service, or any other method you choose. In order to 
stop the service it can call another method or simply terminate the JVM.
JavaService is free software. It is distributed using a BSD style license."

It is working well for us running Swift routers on both NT and 2000 
machines, it is easy to setup and will install and un-install the service 
from the command line.

HTH

Robert

>At 21:50 6.7.01 +0200, you wrote:
>>One or more people were asking about running SwiftMQ as a service on NT. I
>>came across this in my lab notes. I checked the link and it still works!
>>
>>-----------------------
>>You can run a Java server application as an NT service if you use the
>>Microsoft SDK for Java.(Download the latest version from Microsoft's Web
>>site at http://www.microsoft.com/java/sdk/.) The SDK includes a package
>>called com.ms.service which contains a Service class for creating NT
>>services. You also need to turn the Java application into an executable NT
>>service using the jntsvc.exe utility provided with the SDK. If you look in
>>the bin directory of the SDK, there is a jntsvc subdirectory that contains
>>jntsvc.exe and an example Java program implementing an NT service. More
>>information is available in the Microsoft SDK for Java documentation.
>>
>>
>>============================================
>>Glenn A. McComb             tel 858.551.9218
>>La Jolla, CA                fax 858.777.3302
>>[EMAIL PROTECTED]              www.mccomb.com
>>============================================
>>High-Performance Internet & Wireless Systems
>>      Architecture, Design & Development
>>
>>
>>------------------------------------------------------
>>SwiftMQ developers mailing list * http://www.swiftmq.com
>>To unsubscribe from this list, send an eMail to
>>[EMAIL PROTECTED] and write in the body of your message:
>>UNSUBSCRIBE developers <your-email-address>
>>Archive: http://www.mail-archive.com/developers@mail.iit.de/
>
>
>------------------------------------------------------
>SwiftMQ developers mailing list * http://www.swiftmq.com
>To unsubscribe from this list, send an eMail to [EMAIL PROTECTED] and 
>write in the body of your message:
>UNSUBSCRIBE developers <your-email-address>
>Archive: http://www.mail-archive.com/developers@mail.iit.de/
>
>


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to