#Error in the library alien-breed
1 messages ยท Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
Already did, found nothing
When I run the game, the following occurs:
It doesn't even start
looks like it was compiled for x86
I've got x86
But how to change it?
Eventually, I need to run the game
either recompile the game for x64, or use an x32 JVM
The file is not mine, so the second option is suitable
But if the game was compiled for x86, why do I need x32 JVM then?
How to use x32?
Because I'm new to java and operating systems
you can have multiple java versions installed
This isn't about java
just that when you type java, only one will be picked
but, you can simply write out the full path to java that you want to run
The problem is that lwjgl lib is the wrong one
@pulsar drum how did you get that libwjgl, was it with the game ?
I just downloaded the file with the game
Where did you get this game from ?
The game file was downloaded from my OOP course (by the university) page
Then report this to the uni
The problem is: it works fine on my friend's laptop, he's got Windows though
He is probably using an older version of java made for x86
So well
Download and install this one
@pulsar drum
And report to your uni that they should update their game, it's not normal that you have such error @pulsar drum
Ah huh
Thank you, I will, however, I cannot do that right now since the semester hasn't started yet
@gleaming moat what would be the name of the arch for amd 32bits?
Tell them to update their lwjgl lib to 64 bits because 32 bits is less and less supported
Thank you, it's probably because the website of the course is old
bruh his os isnt windows
Azul has 32 bits for linux
Yes the link is broken, not my fault
But you can select java 11 32 bits for linux here
The second one, right?
yeah
How to install it from zip?
just unzip it and it should be ready to run
cant you install from .deb or .rpm?
I can via .rpm
Does it work like that?
why dont you install with rpm then?
Already did, thank you
But still not working
Which java is it running
if you install with zip, you need to provide the full path to java
I've removed jdk-22
Now it's just like that
Command prompt
it looks like you're running some kind of virtualization
it's running for linux
or
and it's trying to detect X11, which is what handles everything display relaten on linux
hmmmm
Do you have fedora?
I don't
guys, I want to know the difference between 64-bit and 32-bit java operating environment.do you know?
Hey, if you want to ask your own questions, please open another help thread
This one is for the question jaden asked
sorry
You're not supposed to run java, since that still points to your main installed java.
You're supposed to run the java binary directly from the package you downloaded
How to do that?
do you know how to run a file in linux?
sudo chmod +x ?
oh actually, I think this works
it picked up the correct java
so the issue now is that Swing apparently doesn't support Wayland, which you are evidently running
since if you don't run x11, you must run wayland
all of which is to say that the application won't be able to run on your linux machine ๐
I'm running x11
try setting the env variable then
https://stackoverflow.com/a/662429/5999354
Still doesn't work
a 32-bit java won't run graphic stuff on a 64 bit x11
Ah
Welp
@pulsar drum then go back to the previous version of java you have and ask your uni to fix this
Oh, man
Okay, seems the only option
I mean, alternative is to compile this lib yourself or find it somewhere
Oh, I'm not really good at that ๐
i mean, if you can find it online we can fix it probably
Do you mean the game?
sure?
whatever this is
we can just upgrade it to a version of lwjgl that supports 64 bit linux
Okay, then I will ask where to find the game
And what files do you need? The library?
Do I need? MBIC we are gonna teach you how to do this
That's even better!
But what's MBIC?
my brother in christ
Oh, are you a believer?
no