Resolving LOGO! Soft Comfort V8.4 Java Virtual Machine Launch Error
Siemens LOGO! Soft Comfort V8.4 is the official engineering tool for the LOGO! 8 logic module family (6ED1052-xxx08-0BA1 base modules and BM/AM/TDE variants). The V8.4 release marked an internal infrastructure change: the bundled JRE moved from Oracle Java to the Amazon Corretto distribution. On a small but reproducible set of Windows 10 workstations, this migration surfaces a fatal launch error:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
This reference documents the affected build versions, the underlying root causes, the diagnostics to confirm the failure path, and the exact field-proven resolution procedure. The procedure is derived from Siemens Industry Online Support engineering notes and reproducible install traces captured on Windows 10 22H2 / Windows 11 23H2 hosts.
1. Affected Versions and Build Matrix
The JVM launch error is specific to a narrow set of builds. Use the table below to confirm you are on an affected release before applying the resolution.
| Version | Build | JRE Vendor | Status | Notes |
|---|---|---|---|---|
| V7.x (any) | — | Oracle JRE 8 | Not affected | Pre-LOGO! 8 toolchain, JRE 8u45+ |
| V8.0 / V8.1 | — | Oracle JRE 8 | Not affected | Original LOGO! 8 release line |
| V8.2 / V8.2.1 | — | Oracle JRE 8 | Not affected | Stable baseline |
| V8.3 | — | Oracle JRE 8 | No longer distributed | Withdrawn from Siemens download portal after V8.4 |
| V8.4 (offline installer) | — | Amazon Corretto 11 | Affected | JVM infrastructure migration point |
| V8.4.1 (online update) | — | Amazon Corretto 11 | Affected | Requires V8.2.1 baseline first |
Siemens no longer publishes the V8.3 or the original V8.4 full installer. The V8.4.1 update must be applied on top of a working V8.2.1 baseline. Engineers that skipped V8.2.1 and attempted a direct install of V8.4 are the most common case where the JVM launch failure becomes unrecoverable until a clean uninstall is performed.
2. Root Cause Analysis
Three independent failure paths converge on the same "Could not create the Java Virtual Machine" string. Confirm which path you are on before applying a fix.
2.1 Path A — Corretto vs. Oracle JRE Conflict
V8.4 ships with Amazon Corretto 11 as the bundled runtime. On hosts that already have Oracle JDK 24 (or any 17+ build) installed for other engineering tools, the launcher picks up the wrong JAVA_HOME from PATH precedence. Corretto 11 and Oracle 24+ cannot share a launcher classpath because the module boot layout and the InstallAnywhere LAX launcher expect specific minor versions.
2.2 Path B — Heap Size (-Xmx) Mismatch
The V8.4 launcher enforces a minimum and maximum -Xmx setting that V8.2.1 did not. Engineers that bumped the value to 6 GB (6144m) on a 4 GB-RAM workstation trigger an OOM during VM creation rather than during program execution. The error string is identical to a missing JRE.
2.3 Path C — Corrupted Upgrade State
Running the V8.4 upgrade on top of a partially failed V8.2.1 install leaves orphaned .lax, .properties, and uninstall registry entries. Once the install directory is in this state, the bundled uninstaller itself throws the JVM error and cannot be used to clean up.
3. Pre-Installation Checklist
Before modifying any file, verify the host meets the LOGO! Soft Comfort V8.4 prerequisites.
- OS: Windows 10 (1809 or later, 64-bit) or Windows 11 (21H2 or later, 64-bit). 32-bit Windows is not supported by V8.4.
-
RAM: Minimum 4 GB, recommended 8 GB. If RAM is 4 GB, do not set
-Xmxabove 2048m. - Disk: 1.5 GB free on the system drive (C:).
-
Privileges: Local administrator account. The InstallAnywhere-based setup writes to
%ProgramFiles%,%ProgramData%, andHKLM\SOFTWARE. -
Existing Java inventory: Run
where javain an elevatedcmd.exe. Note the order — that order defines the launcher classpath. -
Existing LOGO! Soft Comfort inventory: Check
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstallfor any prior LOGO!SoftComfort entries. -
Network: Online update path requires HTTPS to
support.industry.siemens.comand the AWS-hosted download CDN.
4. Java Runtime Configuration
The V8.4 launcher uses an InstallAnywhere LAX bootstrap file. Two parameters inside this file control the JVM.
4.1 Locate the LAX file
Default path on a 64-bit install:
C:\Program Files (x86)\Siemens\Automation\LOGO! Soft Comfort V8.4\start.lax
C:\Program Files\Siemens\Automation\LOGO! Soft Comfort V8.4\start.lax
4.2 Required parameter block
Open start.lax in a text editor running as Administrator and confirm the following keys are present and correctly set for your memory budget:
| LAX Key | Recommended Value (8 GB RAM) | Recommended Value (4 GB RAM) | Notes |
|---|---|---|---|
lax.nl.java.option.java.embedded |
true | true | Forces use of bundled Corretto 11 |
lax.nl.java.option.additional |
-Xmx2048m -Xms256m |
-Xmx1024m -Xms128m |
Heap ceiling must fit physical RAM |
lax.nl.java.option.java.compiler |
(commented out) | (commented out) | JIT only; do not set |
lax.nl.java.home |
(leave blank) | (leave blank) | Hard-coding a path breaks Corretto fallback |
4.3 Why 6 GB (-Xmx6144m) Fails
Setting -Xmx6144m on a 4 GB workstation forces the JVM to reserve a 6 GB heap on a host that physically cannot back it. The Windows memory manager rejects the allocation request during os::create_Java_vm, and the launcher prints the generic "Could not create the Java Virtual Machine" message. Drop the value to 1024m or 2048m and re-launch.
4.4 System-Wide JAVA_HOME Strategy
If you must keep Oracle JDK 24 (or any 17+ build) for unrelated tools such as TIA Portal V18 add-ins, isolate the LOGO! launcher from the system PATH:
- Open System Properties → Environment Variables.
- Move Oracle paths to a per-user variable, not the system
Path. - Keep the Corretto 11 bin path first in the system
Path:
C:\Program Files\Amazon Corretto\jdk11.x.y.z_xx\bin
This guarantees the LOGO! launcher resolves java.exe to Corretto 11 first while Oracle remains available to TIA Portal through a per-user launch script.
5. Clean Uninstall Procedure (Recovery from Path C)
Use this procedure only when the bundled uninstaller also fails with the JVM error. It is the only field-proven path to recover from a corrupted V8.4 install.
- Open Task Manager (Ctrl+Shift+Esc). End any
java.exe,javaw.exe, orjdk-*.exeprocess belonging to LOGO! Soft Comfort. - Open
regeditas Administrator and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- Sort by DisplayName and delete every key whose
DisplayNamestring contains LOGO! Soft Comfort, LogosoftComfort, or LOGOComfort. - Delete the product keys themselves:
HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\LOGOComfort
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Siemens\LOGOComfort
HKEY_CURRENT_USER\SOFTWARE\Siemens\LOGOComfort
- Delete the install directories (default paths):
C:\Program Files\Siemens\Automation\LOGO! Soft Comfort V8.4
C:\Program Files (x86)\Siemens\Automation\LOGO! Soft Comfort V8.4
%ProgramData%\Siemens\Automation\LogosoftComfort
- Delete the per-user project cache (only if you have already exported your LSC programs):
%AppData%\Siemens\LogosoftComfort
%LocalAppData%\Siemens\LogosoftComfort
- Reboot. Confirm in Task Manager that no
java.exeis loaded before continuing. - Insert the V8.2.1 media (or mount the ISO) and install. Verify it launches successfully.
- Apply the V8.4.1 update package on top of the verified V8.2.1 baseline.
%AppData%\Siemens\LogosoftComfort is the only place unsaved ladder/FBD diagrams live. Export every open project to a portable .lsc file before running the registry cleanup.6. Step-by-Step Resolution (In-Place Repair)
Use this procedure when the V8.4 install still launches the bundled uninstaller without throwing the JVM error.
- Close LOGO! Soft Comfort and stop the LOGOComfortServer service if it is running:
sc stop "Siemens LOGOComfortServer"
sc query "Siemens LOGOComfortServer"
- Open Apps & Features. Locate LOGO! Soft Comfort V8.4. Click Uninstall.
- If the uninstaller fails, jump to Section 5 (Clean Uninstall Procedure).
- Reinstall V8.4.1 from the Siemens download portal.
- Edit
start.laxper Section 4 before the first launch. - Launch from a fresh
cmd.exesession with the workspace explicitly set:
cd "C:\Program Files\Siemens\Automation\LOGO! Soft Comfort V8.4"
start.lax
- Confirm the splash screen advances past the logo to the workspace selector.
7. Diagnostic Commands
Use these commands in an elevated cmd.exe to confirm the JVM state of the host before re-launching LOGO! Soft Comfort.
7.1 Java Resolution Order
where java
where javaw
where javac
The first line returned is the JRE the launcher will resolve. If it points to Oracle 24 instead of Corretto 11, see Section 4.4.
7.2 Corretto 11 Health Check
"C:\Program Files\Amazon Corretto\jdk11.x.y.z_xx\bin\java.exe" -version
Expected output:
openjdk version "11.0.xx" 2024-xx-xx LTS
OpenJDK Runtime Environment Corretto-11.0.xx.xx (build 11.0.xx+xx-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.xx.xx (build 11.0.xx+xx-LTS, mixed mode)
7.3 Heap Allocation Test
Reproduce the launcher's heap request outside LOGO! Soft Comfort to confirm the host can honor the -Xmx setting:
java -Xmx2048m -version
java -Xmx1024m -version
If the 2048m call fails on a 4 GB workstation, drop the LAX -Xmx to 1024m.
7.4 LAX File Sanity Check
Confirm the LAX file is valid UTF-8 and not truncated:
findstr /C:"lax.nl.java.option.additional" "C:\Program Files\Siemens\Automation\LOGO! Soft Comfort V8.4\start.lax"
8. Verification Procedure
Run the following checks to confirm the JVM launch error is fully cleared.
- Cold launch test: Reboot the workstation. Launch LOGO! Soft Comfort V8.4 with no other Java tool running. Confirm the workspace loads.
- Online update test: Open Help → Update. Confirm the updater can reach the Siemens update service.
-
Project open test: Open a known-good
.lscproject from%AppData%\Siemens\LogosoftComfort. Confirm the FBD/Ladder diagram renders. - LOGO! 8 connection test: Connect to a LOGO! 8 base module (6ED1052-1MD08-0BA1 or similar) over Ethernet. Push and pull a configuration.
-
Long-run test: Leave the tool open for 30 minutes. Confirm no silent JVM crash dump appears in
%LocalAppData%\Siemens\LogosoftComfort\hs_err. - Uninstall dry run: Open Apps & Features. Confirm the V8.4 entry now uninstalls cleanly without the JVM error.
9. Troubleshooting Matrix
Match the symptom to the corrective action.
| Symptom | Likely Path | First Action | Fallback Action |
|---|---|---|---|
| JVM error on first launch after upgrade | A | Confirm lax.nl.java.option.java.embedded=true
|
Reorder Path to put Corretto 11 first |
JVM error after editing -Xmx to 6144m |
B | Drop -Xmx to 1024m or 2048m |
Add 4 GB physical RAM |
| Uninstaller itself throws JVM error | C | Run Section 5 clean uninstall | Reinstall V8.2.1, then V8.4.1 |
| Launcher opens then silently dies | B | Check hs_err log in %LocalAppData%
|
Disable antivirus real-time scan on %ProgramFiles%\Siemens
|
| Works in V8.2.1, fails in V8.4.1 | A or C | Edit start.lax per Section 4 |
Uninstall, reinstall V8.2.1, then V8.4.1 |
| Online update fails with checksum error | C | Clear %AppData%\Siemens\LogosoftComfort\update
|
Reinstall V8.4.1 offline |
| JVM error after Windows Update | A | Reapply Path order for Corretto 11 |
Reinstall V8.4.1 in compatibility mode |
10. Field-Engineered Edge Cases
10.1 Coexistence with TIA Portal V18 / V19
TIA Portal V18 and V19 ship their own OpenJDK 17 bundle. If TIA Portal is installed after LOGO! Soft Comfort V8.4, the TIA installer rewrites the system Path and the LOGO! launcher may resolve to OpenJDK 17 first. Pin the Corretto 11 path in front of the TIA path in the system Path variable.
10.2 Corporate Group Policies and AppLocker
Some enterprise group policies block unsigned Java executables from running outside %ProgramFiles%. The bundled Corretto 11 ships signed by Amazon. If AppLocker blocks java.exe, add an explicit publisher rule for Amazon Corretto in the allow list.
10.3 Virtual Machine and Hyper-V Hosts
Running LOGO! Soft Comfort inside a Hyper-V VM with dynamic memory assigned can cause the -Xmx allocation to fail intermittently as the VM balloon driver reclaims RAM. Set a fixed memory limit on the VM and reduce -Xmx to 1024m.
10.4 Anti-Virus Interference
Symantec Endpoint Protection, CrowdStrike, and Trend Micro have been observed to quarantine the bundled jdk-11.x.y.z_xx\bin\java.exe on first launch. Add an AV exception for the entire V8.4 install directory and re-launch.
10.5 Non-Default Install Path
If you installed to a path with spaces or non-ASCII characters (for example D:\Projets\A&E\_Outillage), the InstallAnywhere LAX parser can fail. Reinstall to C:\Siemens\LSC84 to confirm the path is not the trigger.
11. Preventive Configuration
After a successful install, lock in the working configuration with these two preventive steps.
- Create a scheduled task that runs weekly and confirms the Corretto 11 path is first in
Path:
echo %PATH% | findstr /B /C:"C:\Program Files\Amazon Corretto\jdk11"
- Export the registry keys that hold the LAX overrides so they can be reapplied after a Windows feature update:
reg export "HKLM\SOFTWARE\Siemens\LOGOComfort" C:\Backup\logo_lax.reg /y
12. References and Standards
Cross-check the V8.4 toolchain against the following official Siemens documents when validating the resolution on your site.
- LOGO! 8 System Overview — product family and module catalog.
- Siemens Industry Online Support — firmware notes, KB articles, and download portal for LOGO! Soft Comfort V8.4.1.
- LOGO! 8 Base Module manual (6ED1052-xxx08-0BA1) — for the programming interface contract that LOGO! Soft Comfort implements.
- AWS Corretto 11 release notes — for runtime behavior on Windows 10 / 11.
- Oracle JDK 24 release notes — for compatibility verification when both runtimes are present on the same host.
FAQ
Why does LOGO! Soft Comfort V8.4 fail with a Java VM error when V8.2.1 worked?
V8.4 migrated the bundled JRE from Oracle Java 8 to Amazon Corretto 11. On hosts with Oracle JDK 17 or 24 already in the system PATH, the launcher resolves the wrong JRE and fails to allocate the JVM heap. Set lax.nl.java.option.java.embedded=true in start.lax and put the Corretto 11 bin path first in Path.
What is the correct -Xmx value for LOGO! Soft Comfort V8.4?
Use 1024m on a 4 GB workstation and 2048m on an 8 GB workstation. Setting -Xmx6144m on a 4 GB host causes the JVM creation to fail with the same generic error string as a missing JRE.
How do I uninstall LOGO! Soft Comfort V8.4 when the uninstaller itself throws the JVM error?
Stop the Java task in Task Manager, delete the uninstall keys at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall that match LOGO!SoftComfort, delete the product keys at HKLM\SOFTWARE\Siemens\LOGOComfort, remove the install directories under %ProgramFiles%\Siemens\Automation and %ProgramData%\Siemens\Automation, then reboot and reinstall V8.2.1 first, then V8.4.1.
Can I keep Oracle JDK 24 installed alongside LOGO! Soft Comfort V8.4?
Yes. Keep Oracle JDK 24 in a per-user variable or in a custom script. Put the Corretto 11 bin path first in the system Path so the LOGO! launcher resolves Corretto 11 first. TIA Portal V18 / V19 will still pick up Oracle JDK 24 through its own bundled OpenJDK 17.
Where is the start.lax file for LOGO! Soft Comfort V8.4?
Default paths are C:\Program Files\Siemens\Automation\LOGO! Soft Comfort V8.4\start.lax or C:\Program Files (x86)\Siemens\Automation\LOGO! Soft Comfort V8.4\start.lax depending on the install. Edit it as Administrator and confirm lax.nl.java.option.java.embedded=true and lax.nl.java.option.additional=-Xmx2048m -Xms256m for an 8 GB host.
Is the Oracle-to-Corretto migration a defect in V8.4?
No. It is a deliberate Siemens deployment decision. The error is purely an environment compatibility symptom and is fully recoverable through the configuration and clean uninstall steps documented above without rolling back to V8.2.1.