GreenDelta/olca-app

After installation using the Windows installer: Failed to create Java Virtual Machine

Opened this issue · 0 comments

image

This happens when you install openLCA 2 using the Windows installer without uninstalling openLCA 1.x first. It will then install it into the same folder as openLCA 1.x (C:\Users\<YOU>\AppData\Local\openLCA) which contains an older Java version then. The installer should catch that situation and provide an option to uninstall openLCA 1.x first or to cancel the installation otherwise.

Workarounds:

  • uninstall openLCA 1.x first (this will not delete your data folder with the openLCA databases (C:\Users\<YOU>\openLCA-data-1.4), but it is always good to make backups of your important data before switching to a new version).
  • use the zip-version of openLCA 2: you could just extract the zip-version of openLCA 2 into some folder with write access and run it without using the installer. Make sure that you close one openLCA instance before starting another one. Also, openLCA 2 will upgrade a database which is then not usable in openLCA 1.x anymore, so make a copy first if you want to open it in both versions.