paulwedeck / settlers-remake

A Remake of "The Settlers III" for Windows, Linux, Mac and Android
MIT License
116 stars 18 forks source link

JAVA: a jni error has occurred please check your installation and try again #36

Closed Speciesx closed 2 years ago

Speciesx commented 2 years ago

Can't run newer Version than v0.5.3-alpha2

grafik grafik

Windows 10 x64 Java SE Runtime Environment 8.0 Update 321 x64

paulwedeck commented 2 years ago

Java 8 is too old. You need Java 11 or newer.

Speciesx commented 2 years ago

Java SE Runtime Environment 8.0 Update 321 x64 This is the newest one, released in January 2022.

https://www.java.com/en/download/

paulwedeck commented 2 years ago

Java SE Runtime Environment 8.0 is still too old even the newest version of 8.0 can't execute JSettlers while all release newer than Java 11 should be able run JSettlers.

I see that the download link in the read me is misleading because the page apparently no longer gets updated except for legacy versions like Java 8.

Oracle provides newer Java builds here: https://www.oracle.com/java/technologies/downloads/ or java builds by adoptium: https://adoptium.net/ or by Amazon: https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html or by Microsoft: https://docs.microsoft.com/en-us/java/openjdk/download

It really doesn't depend where you download your Java version from as long as it is Java 11 or newer.

I will update the link in the read me as soon as I find a better link.

Speciesx commented 2 years ago

I know about the Java SE Development Kit, but most user like me have only Runtime Environment. I'm not a java developer, i don't need the java development tools and environment.

paulwedeck commented 2 years ago

From what I can see newer Java versions no longer offer a single JRE. https://stackoverflow.com/questions/53733312/where-is-jre-11

HiranChaudhuri commented 2 years ago

@Speciesx If you are no java developer, not caring about the JRE or other installation details but are still interested in running the varying builds of JSettlers have a look at https://github.com/HiranChaudhuri/settlers-installer.