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

MacOS #186

Open
downloader55 opened this issue Nov 15, 2023 · 6 comments
Open

MacOS #186

downloader55 opened this issue Nov 15, 2023 · 6 comments

Comments

@downloader55
Copy link

Hey, I’m a bit new to this and I am struggling to the environment exporter to open on Mac M1 Pro. I don’t know if anyone would have more knowledge on these errors than I do, but I’m stumped and any help would be greatly received!

Environment exporter here - not explicitly labelled for MacOS - https://github.com/ConnorDY/OSRS-Environment-Exporter/releases/tag/2.4.1

I have downloaded OpenJDK found here https://adoptium.net/en-GB/temurin/releases/?os=mac for MacOS

I’ve attached PNG files of the error, seems to imply an issue with java/processor choice but I have very limited experience with terminal / mac in general, and if there is I’m a touch lost for ideas checking the parts I know about.

Environment exporter

Thank you so much

@ScoreUnder
Copy link
Collaborator

Can you check if the .jar file exists in the same folder? Or more specifically that nothing is renamed or moved away from the other files after extracting the full zip file?

@downloader55
Copy link
Author

Can you check if the .jar file exists in the same folder? Or more specifically that nothing is renamed or moved away from the other files after extracting the full zip file?

Can you check if the .jar file exists in the same folder? Or more specifically that nothing is renamed or moved away from the other files after extracting the full zip file?

The .jar file exists within the decompressed file, nothing seems to have moved or been re-named after second download to double check, I've deleted and re-installed java and the .jar now opens, the caches listed all download, but now upon trying to launch it the application itself now crashes for some reason. Very strange

Screenshot 2023-11-17 at 20 47 06

@kyleb1515
Copy link

I am having the exact same issue

@ScoreUnder
Copy link
Collaborator

Sorry for going quiet on this, but I don't currently have a mac to test on other than @ConnorDY's, and I spent some time tracking this issue down there and thought I had it, but evidently not. The root cause is that MacOS wants programs to run OpenGL on the main thread, but over different JVM implementations it's difficult to tell exactly which thread is "main". (They should be swapping the Swing thread onto the main thread, but apparently that isn't happening?)

If you add me on Discord (score_under) I can look into fixing this in the new year, but I'll need to be able to test it on a MacOS device that still runs into this problem.

@kyleb1515
Copy link

Found your comment that fixes this issue "./run --no-preview"

@ScoreUnder
Copy link
Collaborator

The offer to remote-debug over discord still stands for anyone who wants to give it a go!

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

3 participants