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

Provide Updated Windows .bat File to Switch to Java 6 #79

Open
cannin opened this issue Aug 11, 2021 · 1 comment
Open

Provide Updated Windows .bat File to Switch to Java 6 #79

cannin opened this issue Aug 11, 2021 · 1 comment

Comments

@cannin
Copy link
Member

cannin commented Aug 11, 2021

This .bat file content might be useful for the majority of Windows users since we would expect the majority to not be on Java 6. The alternative of changing environment variables can be cumbersome.

REM Install from https://www.oracle.com/java/technologies/javase-java-archive-javase6-downloads.html
@echo off
set JAVA_HOME=C:\Program Files\Java\jre6
set Path=%JAVA_HOME%\bin;%Path%
echo Java 6 activated.

java -jar -da -Xmx2048M ChiBE_win64.jar
@cannin
Copy link
Member Author

cannin commented Aug 11, 2021

Running on newer versions of Java leads to this problem that can be confusing.

Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant