File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes prunsrv and java 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "prunsrv and java 8" Watch "prunsrv and java 8" New topic
Forums: Java in General General Computing

prunsrv and java 8

Antonio Banderas

Joined: Jul 23, 2014
Posts: 1
Hi All!

Hi all,
Since upgrade to java 8 I am not able to register my java application as Windows service with prunsrv.
When installing service following error message appears:

Error: Could not find or load main class =E:\Development\GPA\jre8

Here is de content of my install file

Did someone already noticed the problems with regard to prunsrv and java 8?

Best regards,
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Antonio, welcome to CodeRanch!

It looks like it's using the Java installation location as the "main class" while running the program. Does it print out or log the exact command that gets executed? I don't see anything in there that's Java 8 specific though.

[My Blog] [JavaRanch Journal]
J. Kevin Robbins

Joined: Dec 16, 2010
Posts: 1522

Please check your private messages regarding an important administrative matter.

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
I agree. Here's the link:
subject: prunsrv and java 8
jQuery in Action, 3rd edition