File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prunsrv and java 8

 
Antonio Banderas
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Antonio
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
J. Kevin Robbins
Bartender
Pie
Posts: 1606
15
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your private messages regarding an important administrative matter.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic