temurin-build: arm32 builds on armv6 pi fail with Atomic store(jlong) unsupported
Hello!
I have Eclipse on my Ubuntu where I have installed OpenJDK 8 for running Eclipse IDE.
asus@asus-X551MA:~$ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
asus@asus-X551MA:~$
In Eclipse I use the Linux 64 OpenJDK-10.0.2+13 as compiler. I also use arm32 OpenJDK-10.0.2+13 on Raspberry Pi B+ v1.2
pi@raspberrypi:~ $ java -version
openjdk version "10.0.2-adoptopenjdk" 2018-07-17
OpenJDK Runtime Enviroment (build 10.0.2-adoptopenjdk+13)
OpenJDK Client VM (build 10.0.2-adoptopenjdk+13, mixed mode)
pi@raspberrypi: ~ $
I installed the OpenJDK-10.0.2+13 on Raspberry Pi B+ v1.2 by using:
export JAVA_HOME="path that you found"
export PATH=$JAVA_HOME/bin:$PATH
When I run my java program I have compile from Eclipse IDE. I got this error:
pi@raspberrypi:~ $ java -jar JoystickStepperLCD.jar
========================= DEBUG MESSAGE: Atomic load(jlong) unsupported on this platform ===============
[error occurred during error reportin ((null)), id 0xe0000000]
pi@raspberrypi:~ $
You can download the JoystickStepperLCD.jar from JoystickStepperLCD.zip where are located at: https://github.com/DanielMartensson/Embedded-Systems/tree/master/JoystickStepperLCD
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 25 (10 by maintainers)
Hi, I think that the problematic thing might be enabled AssumeMP flag. Could you please try running java like this:
Alternatively, could you try running a JDK build from https://ci.adoptopenjdk.net/view/ev3dev/job/openjdk11_build_ev3_linux/ ? We are patching OpenJDK to run on an ARMv5 processor in a LEGO Mindstorms kit and it seems to work well so far. Regards, Jakub Vaněk
Closing this as resolved - a document is being worked on our ARM channel in slack