This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prunsrv and java 8

 
Antonio Banderas
Greenhorn
Posts: 1
  • 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
  • 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
Posts: 1725
19
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your private messages regarding an important administrative matter.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic