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

"A java exception has occurred" #1078

Closed
StrongMooncake opened this issue Mar 6, 2023 · 3 comments
Closed

"A java exception has occurred" #1078

StrongMooncake opened this issue Mar 6, 2023 · 3 comments
Assignees

Comments

@StrongMooncake
Copy link

StrongMooncake commented Mar 6, 2023

It is not possible to start the program. I tried it with three different pcs, but it doesn´t work. I only see the loading screen and then it crashes. On one maschine I get the message "A java exception has occurred". All machines having the newest updates.

@codemanyak
Copy link
Collaborator

codemanyak commented Mar 6, 2023

Have you made sure having a Java version ≥ 11 installed and in place (because that's what Structorizer requires in order to run)?
EDIT: Also see e.g. #1031 and #1076.

@codemanyak codemanyak self-assigned this Mar 6, 2023
@codemanyak
Copy link
Collaborator

codemanyak commented Mar 6, 2023

@StrongMooncake
Perhaps I should have drawn your attention to the User Guide "Installation" chapter, too, where you might find further helpful information how to tackle your problem. You should know that Oracle still provides some security updates for Java 8 every now and then but no automatic upgrade to more advanced Java releases. Unfortunately the Java launcher used to start Structorizer isn't very verbose in case of an insufficient Java release, though we expected it to be. The behaviour lets me think you're working on Windows PCs with the Windows installer package of Structorizer.
In order to get an idea of the Java version exposed by your system you might simply type the command "java -version" in the Command Prompt window (to be opened via "cmd.exe"). If the reported Java version seems okay then you might download the zipped Structorizer package for Windows, unzip it somewhere and run the Structorizer.bat script from the extracted folder at the Command Prompt. This should give you either a running Structorizer or a useful error message. Even if this extracted Structorizer version runs in your system, the Windows installer package might keep failing. This is the point where you should check the various approaches to overcome the Java trouble as described in the User Guide (see above link).

Please let us know about new findings along your analysis or if you eventually succeeded.

@StrongMooncake
Copy link
Author

I found the problem. If you visit the java webpage, it will only show you version 8. So for me it was the newest version. I found the correct java version on a different page. Thank you for your help :)

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

2 participants