Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
msrocka opened this issue May 16, 2023 · 0 comments
Labels

Comments

@msrocka
Copy link
Member

msrocka commented May 16, 2023

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants