简体   繁体   中英

Run java application as windows service (using jsl) - get error when installing

Get a problem when installing java application as service in windows environment(Win 7). use jsl http://jslwin.sourceforge.net/ to launch application

when installing with jsl -install

error message : OpenScManager failed - Access is denied. <0x5>

but application run when jsl -run , i already log in as administrate but java application not install as service (not shows up in the service.msc), any help?

You probably need to use 'run-as-administrator'. Even if logged in as administrator programs will not run using the elevated privileges. This enhances the security(or reduces accidental damages)

http://windows.microsoft.com/en-US/windows7/products/features/user-account-control

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM