vished
Posts: 17
Joined: Fri Apr 01, 2016 9:31 am

Build windows service "Found no JRE"

Dear all,

I try to create a Windows Service and had a look into this tutorial:
http://www.advancedinstaller.com/user-g ... rvice.html

But if I try to execute the Starter.exe (that´s the name of the JAVA Program) I got the message:
"No JRE" ....

I already installed JRE on my computer. I would like to execute the program from this JRE.
Is there anything missing from my side?

Edit:
If I try to execute the example project: http://www.advancedinstaller.com/exampl ... xample.zip:
I have the same issues. During the install process the process stopped at "starting services".
After some minutes I got:
"Server "Java Service Example (javaserive.exe) failed to start. Verify that you have sufficient priviliges to start system services".

Many thanks for help
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Build windows service "Found no JRE"

Hello,

This is only a hunch, but can you please make sure you did install the 32-bit version of JRE on your test machines?

When the "Platform" flag of your java product is set to 32-bit our Java launcher will search and use at run time the 32-bit JRE.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”