The Artima Developer Community
Sponsored Link

Java Answers Forum
Java program as service in Win 98 SE

2 replies on 1 page. Most recent reply: Apr 27, 2004 2:04 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Java program as service in Win 98 SE Posted: Apr 21, 2004 12:28 PM
Reply to this message Reply
Advertisement
Hi,

I am familiar with how to set up a Java program as a Windows service in Windows NT 4 and above. However, I'd like to learn how to do the same on Windows 98 SE and Windows ME. I'm not that familiar with Windows, so any help would be appreciated. I understand that in Win98 and ME, you'd have to have a registry key for the application that tells the OS to start up a specific program when the machine boots up. Are those the same as a system service?

Thanks,

Frank


Sanjay Perera

Posts: 42
Nickname: angel6
Registered: Apr, 2004

Re: Java program as service in Win 98 SE Posted: Apr 24, 2004 9:12 PM
Reply to this message Reply
Did you try the AutoExec.bat file? I am not sure whether I understood your question properly but I geuss you have problem setting the path. Open your AutoExec.bat file with notepad (Win98 or ME) and then add this...
set path="[jdk path]\bin";
E.g. set path="C:\JDK\bin";

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Java program as service in Win 98 SE Posted: Apr 27, 2004 2:04 PM
Reply to this message Reply
I don't think using autoexec.bat is a good idea for this. I'd use the RunServices key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices

Flat View: This topic has 2 replies on 1 page
Topic: Conquer the ocp Previous Topic   Next Topic Topic: simple opinion requested on best OOP solution

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use