Page 1 of 1

Running 32 bit *.jar file on x64

PostPosted: Aug 23rd, '22, 01:12
by mackowiakp
I have a program installer in the form of a * .jar file. It requires Java 32 bit.
At the moment I have Java 64 bit installed.
Code: Select all
[maciek@Piotr TMP]$  java -version
openjdk version "11.0.15" 2022-04-19 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.15+10-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.15+10-LTS, mixed mode, sharing)

How can I run this installer by forcing the use of Java 32 bit and then how to run the program that has been installed?
Of course, the command as below indicates that Java 32 bit is not installed.
Code: Select all
java -jar ./RomRaider0.9.4MAY232022-linux.jar

And how to add 32 bit to Java system?

Re: Running 32 bit *.jar file on x64

PostPosted: Aug 23rd, '22, 10:56
by doktor5000
FWIW, you should not run the romraider jar directly like that, it's supposed to be run by the start.sh script as that also sets the library path and various other java options.

And how to add 32bit java? Install it. Although be aware that romraider is only supported on windows and with Sun/Oracle JRE.
If you already have x86_64 openjdk-1.8 installed, you could try installing 32bit openjdk-11. Then later try running the start script by prefixing it with linux32, after you checked if the paths in the start.sh script matches your opendk-11 32bit installation.