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

java -jar does not launch UI after 2.0 #272

Open
Col-E opened this issue Mar 21, 2025 · 5 comments
Open

java -jar does not launch UI after 2.0 #272

Col-E opened this issue Mar 21, 2025 · 5 comments
Assignees
Labels
bug Something isn't working user interface affects the enigma ui

Comments

@Col-E
Copy link

Col-E commented Mar 21, 2025

Following the java -jar instructions in README.md does not work as expected for any release in the past year or so. None of the artifacts past version 2.0 launch the user interface.

Using java -jar enigma-swing-all.jar:

  • 1.X: Works as expected
  • 2.0: Crashes with IOOBE in org.quiltmc.enigma.gui.config.Config.getMostRecentProject(Config.java:131)
  • 2.1+: Creates an empty window that can't be interacted with (Can't maximize, bring to front, has no title, has no preview when hovering over the windows dock bar icon)

I've tried launching with Java 17 and 21 but there is no change in behavior. Is there some additional requirement not outlined in the README.md ?

@ix0rai
Copy link
Member

ix0rai commented Mar 21, 2025

i'll look into this, thanks for reporting!

@ix0rai ix0rai added bug Something isn't working user interface affects the enigma ui labels Mar 21, 2025
@ix0rai
Copy link
Member

ix0rai commented Mar 21, 2025

unfortunately working fine. let me try clearing my config

@ix0rai
Copy link
Member

ix0rai commented Mar 22, 2025

still cannot reproduce. UI is fully functional using java 21 and the latest build off master (bd1defa), launching with an empty config on arch linux. can you provide some system details?

@ix0rai ix0rai self-assigned this Mar 22, 2025
@Col-E
Copy link
Author

Col-E commented Mar 22, 2025

let me try clearing my config

That solved my issue, I guess upgrading from some old version I used previously got something stuck.

The contents of my config folder are here: enigma.zip (AppData/Local/Enigma)

The empty window I mentioned before has no main thread, and the swing threads are all parked. Not sure what happened to cause that, but having some console output for any errors would probably be beneficial.

@ix0rai
Copy link
Member

ix0rai commented Mar 22, 2025

thanks! i'll make sure to get that config fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user interface affects the enigma ui
Projects
None yet
Development

No branches or pull requests

2 participants