我java用的多多一点点,还处于初级阶段,请多多指教.
:(可其他工具更加不熟.
:(可其他工具更加不熟.
解决方案 »
- java创建文件后不能删除,请高手指点!!!
- 求助,java素数问题
- 表中有自增列,java能否支持执行insert语句后,能返回自增列的值?
- cvs里的用户密码是用什么算法加密的?
- 简单的小问题,过来看看
- 读取ObjectInputStream的阻塞问题,在线等,急!
- @@@急!!!大家帮我看看,为什么书上明明这么写着,我编译也通过了,就是执行时不能通过?
- Ant问题,如何在ant中使用native2ascii批量转换ascii到中文?
- 获取系统时间 public Date getCurrentDate(String formatter)//formatter为格式如yyyy/mm/dd,如何写?
- 这是个什么错误?菜鸟问题
- 关于操作中文的问题
- 如何过滤InputStream中的一些信息
You can use the utility SRVANY.EXE, included with the NT resource Kit.
Or in the Microsoft SDK 2.0, a package called com.ms.service that provides ways to a Java classes as a service. Some utilities and demos are included. Check the Microsoft JAVA Web site for more infos.
Finally you may want to take a look at invoker, a freeware equivalent of MS srvany.exe for running executables as services.
If you log in and log out from a machine and a java service is running then the service may be stopped. The fix is to use Java 1.3.1 or higher and start the process with the JVM switch -Xrs (Reduce Signals Xtended-switch) to stop the Windows signal from killing the JVM.
http://www.eworksmart.com/JNT/