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

Problem to run on OSX Catalina #2551

Closed
MRigal opened this issue Apr 30, 2020 · 8 comments
Closed

Problem to run on OSX Catalina #2551

MRigal opened this issue Apr 30, 2020 · 8 comments
Labels

Comments

@MRigal
Copy link
Contributor

MRigal commented Apr 30, 2020

Describe the bug
Running java -jar Unciv.jar as described crashes due to missing/mislinked libgdx

To Reproduce
Steps to reproduce the behavior:

  1. Install java bia brew install homebrew/cask/java
  2. Download Unciv.jar
  3. Run java -jar Unciv.jar
  4. See error Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'libgdx64.dylib' for target: Mac OS X, 64-bit

If game data is required, please add from menu, save game, copy to clipboard, paste here

Expected behavior
I thought the jar could be used also this way on Mac OSX. I haven't tried yet to compile it.

@MRigal MRigal added the bug label Apr 30, 2020
@yairm210
Copy link
Owner

From what I found on the internets, this could be a problem with OpenJDK 11.0.4 if you have it?
adoptium/temurin-build#1211

@yairm210
Copy link
Owner

@MRigal
Copy link
Contributor Author

MRigal commented Apr 30, 2020

Thanks @yairm210 !
I also think this is related to osx Catalina CS OpenJDK... I have openjdk-14.0.1.jdk what a pity if this old problem is still going on there.. :-/
Thanks for your help!

@MRigal
Copy link
Contributor Author

MRigal commented Apr 30, 2020

I uninstalled it and run brew install java11 to get 11.0.7, which should work, and I still get the same problems... Not related with Unciv, but others may encounter these also

@Go-rom
Copy link

Go-rom commented Jul 21, 2020

Hello,

same issue here with Mac OS 10.13.6 and JRE 14.0.2 (installed with the pkg provided by Oracle)

@JenniferJohnson89
Copy link

I noticed that there is a similar problem at https://github.com/libgdx/libgdx. Perhaps we can refer to this issue or this to find more context about the bug (e.g. the Java version, or MacOS version, or their steps to reproduce?).

@yairm210
Copy link
Owner

yairm210 commented Jan 7, 2021

Since May, the problem was fixed in OpenJDK, and so it should work now :)

@yairm210 yairm210 closed this as completed Jan 7, 2021
@MRigal
Copy link
Contributor Author

MRigal commented Jan 8, 2021

I can confirm this @yairm210 !

Also on OSX 11 Big Sur, with OpenJDK 11.0.9, it works perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants