Running 32 bit *.jar file on x64

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Running 32 bit *.jar file on x64

Postby mackowiakp » Aug 23rd, '22, 01:12

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?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Running 32 bit *.jar file on x64

Postby doktor5000 » Aug 23rd, '22, 10:56

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest