UdayaLakmal
UdayaLakmal

Reputation: 4213

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). Using 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 administrator but Java application not installed as service (not shows up in the service.msc). Any help?

Upvotes: 1

Views: 1667

Answers (1)

Jayan
Jayan

Reputation: 18459

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).

Adjust User Account Control settings.

Upvotes: 1

Related Questions