Skip to content

Error 2: The system cannot find the file Specified #1

@BugsBountyHunter

Description

@BugsBountyHunter

I Attempt to create my custom service but when I start it get error 2.
image
my install_service.bat script
"prunsrv.exe" //IS//VillRomaService^ --DisplayName=VillRomaService^ --Description="This service help dotnet desktop application database sync data with new website"^ --Install="prunsrv.exe"^ --Jvm="C:\Program Files\Java\jdk-13.0.2\bin\server\jvm.dll" ^ --StartMode=jvm^ --StopMode=jvm^ --StartClass=com.example.demobgservice.VillaRomaController^ --Startup=auto^ --Classpath=C:\Users\GeniusPC\Documents\GitHub\demo-bg-service\demo-bg-service-1.0-SNAPSHOT.jar^ --JvmOptions=-XX:+HeapDumpOnOutOfMemoryError^ --StartPath=C:\Users\GeniusPC\Documents\GitHub\demo-bg-service\^ --StdOutput=C:\Users\GeniusPC\Documents\GitHub\demo-bg-service\vill-log\vill-roma-stdout.log^ --StdError=C:\Users\GeniusPC\Documents\GitHub\demo-bg-service\vill-log\vill-roma-sterr.log
my project JavaFX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions