-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error: Could not create the Java Virtual Machine. #103
Comments
Hi Victoria, Which Java version do you have installed? As a workaround, you can edit --add-opens java.base/sun.nio.ch=ALL-UNNAMED ^
--add-opens java.base/java.io=ALL-UNNAMED ^ Kind regards, |
@mkraetke Adding this here as I've just encountered the same problem on Windows 10; oracle shows my Java as version 8 update 371 (build 1.8.0_371-b11). I couldn't find the two --add-opens lines in d2t.bat, but did find them as lines 50/51 in calabash.bat. I removed them so that the section reads: Now it halts on a new error: etc. etc. Thanks, |
I have done as you've suggested and now i am encountering another error. %filename%.log contains output of command "java" without any arguments on windows.
|
I meet the same issue. In addition to install Java 8, I also try to install the JDK in https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe, and the problem is perfectly solved without any errors. |
Hello!
I am trying to execute the command: d2t.bat myfile.docx on a cmd in windows 10 but its throwing error in the output file myfile.log
Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I download 64-bit Java 8 for Windows.
If anyone can help it will awesome!.
The text was updated successfully, but these errors were encountered: