
The Tomcat won’t start after the update. Even though the installation finished, the service is stuck and won’t run. You are getting below error message while starting the Tomcat.
[error] [12088] CreateJavaVM Failed with error [-6]
[error] [12088] The system could not find the environment option that was entered.
[error] [ 4180] Failed to start Java
[error] [ 4180] ServiceStart returned 4.
Solution
We’ve resolved the issue, and the root cause was actually quite simple: there were extra blank spaces between the parameters. For more details, you can refer to SAP Note 1843921 – CreateJavaVM Failed. The system could not find the environment option that was entered..
- Backup First:
- Copy your current Java Options into a Notepad file before changing anything.
- Open Config:
- Go to the Start Menu, find Tomcat, and open Tomcat Configuration.
- Check Java Tab:
- Go to the Java tab and look at the Java Virtual Machine and Java Class Path.
- Fix Parameters:
- Review the Java Options for any mistakes or typos.
- Remove Spaces:
- Make sure there are no extra spaces at the end of any lines or between entries.
- Restart:
- Once everything looks correct, try to Start the Tomcat service.
Note: Most importantly, back up your settings before making any changes, or use another system (one that hasn’t been updated yet) as a reference for the correct values.
Note: You can also refer to SAP Note 2876469 – Tomcat not starting after an update

