code-disaster / steamworks4j

A thin Java wrapper to access the Steamworks API
https://code-disaster.github.io/steamworks4j/
MIT License
479 stars 67 forks source link

Problem with libsteam_api.so. #78

Closed Vasalkar closed 5 years ago

Vasalkar commented 5 years ago

When I try to run a Java game through terminal this appears:

Java HotSpot(TM) Server VM warning: You have loaded library /tmp/steamworks4j/1.7.0/libsteam_api.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.

code-disaster commented 5 years ago

Which Java/VM version do you try to run it with?

Vasalkar commented 5 years ago

I see it through "java -version"? If so the Java/VM version is "build 25.151-b12, mixed mode".

code-disaster commented 5 years ago

My guess is that you are trying to run the game with a 32-bit JVM. I dropped support for 32-bit Linux builds with v1.7.0.

Vasalkar commented 5 years ago

Yep, thanks btw.

code-disaster commented 5 years ago

Note that if you really want/need to use a 32-bit build, you may be able to use a version pre-1.7.0, or compile the native library yourself.

I dropped it mostly because it's been an annoyance to keep a 32-bit Linux build environment around, while - according to the Steam Hardware Surveys - customers using Steam on a 32-bit Linux are pretty much extinct.

Vasalkar commented 5 years ago

How to download versions previous of 1.7.0?

code-disaster commented 5 years ago

Through Maven, for example. https://mvnrepository.com/artifact/com.code-disaster.steamworks4j provides direct download links, too.

Vasalkar commented 5 years ago

Where do I download 'libsteam_api.so?