We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Desktop (please complete the following information):
Describe the bug When starting forge adventure mode with a shell script - it fails to load, showing a javaVM white error screen (see screenshot).
To Reproduce Steps to reproduce the behavior:
dos2unix forge-adventure.sh
sudo chmod +x forge-adventure.sh
./forge-adventure.sh
Expected behavior Forge-adventure app starts and loads atleast to a menu.
Screenshots
Affected files https://github.com/Card-Forge/forge/blob/master/forge-gui-mobile-dev/src/main/config/forge-adventure.sh https://github.com/Card-Forge/forge/blob/master/forge-adventure/src/main/config/forge-adventure-editor.sh
Fix proposed by kevlanhota on slightly-magic forum I tested it and it fixes the problem.
#!/bin/sh cd $(dirname "${0}") java -Xmx4096m --add-opens java.desktop/java.beans=ALL-UNNAMED --add-opens java.desktop/javax.swing.border=ALL-UNNAMED --add-opens java.desktop/javax.swing.event=ALL-UNNAMED --add-opens java.desktop/sun.swing=ALL-UNNAMED --add-opens java.desktop/java.awt.image=ALL-UNNAMED --add-opens java.desktop/java.awt.color=ALL-UNNAMED --add-opens java.desktop/sun.awt.image=ALL-UNNAMED --add-opens java.desktop/javax.swing=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true -Dfile.encoding=UTF-8 -jar $project.build.finalName$
The text was updated successfully, but these errors were encountered:
Can you just push a PR rather than an issue that lists the files and the solution?
Sorry, something went wrong.
To be honest, I'm not a developer, so:
This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.
This issue was closed because it has been stalled for 5 days with no activity.
No branches or pull requests
Desktop (please complete the following information):
Describe the bug
When starting forge adventure mode with a shell script - it fails to load, showing a javaVM white error screen (see screenshot).
To Reproduce
Steps to reproduce the behavior:
dos2unix forge-adventure.sh
to fix #2220sudo chmod +x forge-adventure.sh
./forge-adventure.sh
Expected behavior
Forge-adventure app starts and loads atleast to a menu.
Screenshots
![java error](https://user-images.githubusercontent.com/60652075/211259962-b547f0e8-ea24-4db5-8953-dee55a4acb5a.png)
Affected files
https://github.com/Card-Forge/forge/blob/master/forge-gui-mobile-dev/src/main/config/forge-adventure.sh
https://github.com/Card-Forge/forge/blob/master/forge-adventure/src/main/config/forge-adventure-editor.sh
Fix proposed by kevlanhota on slightly-magic forum
I tested it and it fixes the problem.
The text was updated successfully, but these errors were encountered: