News:

Precision Simulator update 10.189 (5 August 2026) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

macOS Silicon + JAVA ARM64 *Solved*

Started by Jamie, Tue, 16 Jun 2026 20:34

Jamie

Quote from: DogsEarsUp on Tue, 23 Jun 2026 14:15If everybody else in the world knows all this except me - sorry
No worries! Great info! Was looking for that tool for a while. Currently with 10.188 I run at a stable 75FPS. Retina mode.
Jamie

Jamie

Quote from: FlyItLikeYouStoleIt on Tue, 23 Jun 2026 10:42The old openal library can be left untouched.
Thanks! I repacked the .ZIP files. Thanks again for the 'lipo' info.
Jamie

Jamie

#22
So i continue here concerning macOS + Java ARM.

Currently too hot to go outside, so I'm stuck behind my "maccie". Just tested PSX on the latest and greatest Java 26 ARM. It runs!

No errors in the logs, Audio + USB works. I use RealTraffic, also works.

java --add-exports java.desktop/com.apple.eawt=ALL-UNNAMED --enable-native-access=ALL-UNNAMED -Djava.library.path=Interfaces -Xmx500m -jar Aerowinx.jar
I do get this though:
Loading: net.java.games.input.OSXEnvironmentPlugin
Failed to enumerate device: Device open failed: -536870203
Failed to enumerate device: Couldn't create plugin for device interface (3758097086)

I saw in the Activity Monitor the GPU isn't being used. I do hope that's a power saver with current energy prices ;-) But I'm not sure. It all runs, obviously needs more testing...

The purpose? Well.. if 26 runs, 25 (long-term-support) would run as well. Java17 did also run. I just wanted PSX to be future proof, I will go with Java26 from now on to check what the perks are.

edit: GPU is being used when running as "Application".
Jamie

Jamie

#23
I altered my PSX "Application container" (don't know the macOS wording) and now the GPU is also being used.

My Java autodetect script: Starts AerowinxStart.jar on v11 and below, Aerowinx.jar with extra parameters when on Java 12 and higher.

#!/bin/sh
cd "$(dirname "$0")"/Aerowinx.psx || exit 1

JAVA_VERSION=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}')
JAVA_MAJOR=$(echo "$JAVA_VERSION" | awk -F. '{print ($1 == "1") ? $2 : $1}')

if [ "$JAVA_MAJOR" -gt 11 ]; then
  java \
    --add-exports java.desktop/com.apple.eawt=ALL-UNNAMED \
    --enable-native-access=ALL-UNNAMED \
    -Djava.library.path=Interfaces \
    -Xmx500m \
    -jar Aerowinx.jar
else
  java \
    -Xmx500m \
    -Djava.library.path=Interfaces \
    -jar AerowinxStart.jar
fi
Jamie

joergalv

Thank you Jamie,

great work! I just switched to Apple Silicon before Apples massive price increase reaches the retail market.
Happy to be able to continue enjoying PSX on my new device. It's running fine with JDK26
One question though. What do I need to do to let it use the GPU?

Regards
Regards
Joerg

United__744

Much better on my M4 Pro!!! It was annoying that it looked slower than my PC even though the CPU is three times faster. Now I'm getting the performance I expected from it!

Jamie

#26
Quote from: joergalv on Thu,  2 Jul 2026 18:34Thank you Jamie,

great work! I just switched to Apple Silicon before Apples massive price increase reaches the retail market.
Happy to be able to continue enjoying PSX on my new device. It's running fine with JDK26
One question though. What do I need to do to let it use the GPU?

Regards
Hi! You need to make an ".app container". Its easy described here: https://aerowinx.com/board/index.php/topic,7798.msg83900.html#msg83900

If you don't want to do it yourself:
Here is the .App file, only need to copy your original PSX files in it:
The App Bundle

Unzip

Right click -> Show Package Contents

Browse to Aerowinx.psx -> add your PSX root folder here (Aerowinx.jar etc. + folders)

then drag it into your Applications.
Jamie

speed330

Hi all,

I just tried running PSX on my iMac mini (M4 Pro) Sequoia 15.7.7 and when I click on AerowinxStart.jar it brings up the yellow box saying I need to use AerowinxStart.jar which I just did.

I've read through this thread and made sure the only Java installed is jdk-11.0.30_macos-aarch64_bin.dmg

I also replaced the two dylib files in the Aerowinx interfaces folder with the versions contained in psx-macos-arm64-x64-native-libs-unofficial on the first page of this thread.

(I tried the above both using my current, updated Aerowinx files and also a fresh install from the original CD.)

I tried again and I get a couple pop up messages about my Mac not being able to verify those dylib files are free of malware and then the yellow box appears again.

Is there something I am doing wrong? I can't get into Aerowinx at all on my iMac.

Cheers,
Kind Regards,
Dave

Hardy Heinlin

Quote from: speed330 on Sun, 12 Jul 2026 19:14(I tried the above both using my current, updated Aerowinx files and also a fresh install from the original CD.)

Which PSX version do you have on your original DVD?

speed330

Hi Hardy,

My original CD is version 10.1.7

I've also tried my current updated copy of Aerowinx 10.188 and get the same result.

I also tried doing the method mentioned above using the Aerowinx in applications folder.

Cheers,
Dave

Jamie

Quote from: speed330 on Sun, 12 Jul 2026 20:48Hi Hardy,

My original CD is version 10.1.7

I've also tried my current updated copy of Aerowinx 10.188 and get the same result.

I also tried doing the method mentioned above using the Aerowinx in applications folder.

Cheers,
Dave
Chances are you blocked Java or some PSX file or installed multiple versions. Currently on holiday, so I cannot really help now.
My starting point would be to check the java version in a terminal and remove Java11 and start over.
It should be in:
  /Library/Java/JavaVirtualMachines/
Check what versions are installed in this directory.

I would clean out this directory and start with a fresh Oracle Java (macOS ARM64 DMG Installer) from here: https://www.oracle.com/ae/java/technologies/javase/jdk11-archive-downloads.html
Jamie

Hardy Heinlin

Quote from: speed330 on Sun, 12 Jul 2026 19:14when I click on AerowinxStart.jar it brings up the yellow box saying I need to use AerowinxStart.jar which I just did.

The yellow box is generated by Aerowinx.jar which means your Java can run Aerowinx java files. The yellow box appears when certain Aerowinx/Interface/ files are missing in the start command or when the Java memory is insufficient. These factors are automatically set when the user starts AerowinxStart.jar instead of Aerowinx.jar.


Regards,

|-|ardy

speed330

Hi Jamie and Hardy,

Many thanks for your replies and help.

Thanks Jamie no problem at all, please enjoy your holiday.

I did check the Library/Java/JavaVirtualMachines/ folder and only the jdk11 was installed. I deleted it and installed it again from your link:
jdk-11.0.30_macos-aarch64_bin.dmg

I get the same result of the pop ups saying my Mac can't verify those dylib files are free of malware, etc. If I click on your Aerowinx app in my applications folder I also get that malware message and nothing will load.

Cheers,
Dave


Jamie

That is wierd? Are you running Tahoe?
In System settings > Privacy & Security something wierd?
Jamie

speed330

Hi Jamie,

I have managed to get it to work, I am able to load into PSX now and I hear sound. Thanks for all your hard work with this.

I left my security settings screen open on the side and when those malware popups appeared I was able to click allow anyway a couple times and eventually got into PSX.

I just clicked on AerowinxStart.jar after copying those dylib files into the interfaces folder.

Do I need to use the applications folder method I saw you mentioned in an earlier post or is the way I did it ok?

Cheers,
Dave

Jamie

Quote from: speed330 on Mon, 13 Jul 2026 07:36Do I need to use the applications folder method I saw you mentioned in an earlier post or is the way I did it ok?

Cheers,
Dave
No you don't per se, but my ocd kicked in and I wanted a nice #1 Application "Aerowinx PSX" with a famcy logo  8)
Jamie

FlyItLikeYouStoleIt

The command line way of fixing this with a new installation is to use the following on the dylib files once downloaded:

xattr -d com.apple.quarantine *.dylib
This removes Apple's "do not use this file it might be dodgy" flag.

Jamie

Thanks forgot about that one. Once im back ill add a FAQ. Thanks!
Jamie

speed330

Thanks for all your help.  8)

Cheers,
Dave

Jamie

Im quite interested in how PSX performs on a Mac Neo. If someone has one at hand?

I currently run on a Macbook Air M4 and while it runs oke, as soon as I stress the cpu with other things (e.g. Discord stream or watch some inefficient web football-stream) the whole thing collapses. I guess a Macbook Pro runs fine due to its active cooling.
Shame Apple increased its prices with around 30%.
Jamie