From: Mansell, G. <Gar...@ri...> - 2022-03-09 15:27:03
|
Hi, I have a server that has (Amazon Corretto) Java 8 and Java 11 installed - with Java 11 being the last installed and hence set first in the path and as JAVA_HOME. This has to be the case so that my other Java applications on the server run successfully. I have installed Exist-DB 4.10, but when I try and run it from the Programs Menu (or run start.jar from a command prompt) the Exist-DB task tray icon does not appear. I presume that this must be some problem with running Exist-DB 4.10 with Java 11 - is it perhaps not supported? I have found that if I set JAVA_HOME=C:\PROGRA~1\AMAZON~1\JDK18~1.0_3 (note, it has to be the old 8.3 notation), that I can then run both startup.bat and client.bat successfully and ExistDB works OK. My problem is that I cannot use the Programs menu Icon to get it configured as a Windows Service to start at boot - presumably due to it trying to run with Java 11 instead of Java 8 by default. It creates the Windows Service, which then tries to start Exist-DB but then stops (presumably as it is trying and failing to run it using Java 11). So, how can I get the Windows Service installed but using JAVA_HOME=C:\PROGRA~1\AMAZON~1\JDK18~1.0_3 like I have done to get the App to run manually? Or, am I missing something with Java 11? Thanks in advance for any help. Gary -------------------------------------------------------------------------------------------------------------------------------------------------------------- This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors are authorised to enter into legally binding obligations on behalf of Ricardo. Ricardo may monitor outgoing and incoming e-mails and other telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check e-mail and any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail. "Ricardo" means Ricardo plc and its subsidiary companies. Ricardo plc is a public limited company registered in England with registered number 00222915. The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by Sea, West Sussex, BN43 5FG. -------------------------------------------------------------------------------------------------------------------------------------------------------------- |