These toolchains work for cross compiling jogamp for armv6hf and aarch64 using a x86_64 Debian/ubuntu Linux system.
Where to unpack the archives:
cd /
tar xvf opt-linux-arm64-debian10-20191130.tar.xz
ln -s opt-linux-arm64-debian10 opt-linux-arm64
tar xvf opt-linux-armv6-armhf-debian10-20191130.tar.xz
ln -s opt-linux-armv6-armhf-debian10 opt-linux-armv6-armhf
cd /usr/local
tar xvf x-tools.aarch64-linux-gnu.20190715.tar.xz
tar xvf x-tools.armv7hf-linux-gnu.20190715.tar.xz
How to cross compile:
cd gluegen/make
sh scripts/make.gluegen.all.linux-armv6hf-cross.sh
sh scripts/make.gluegen.all.linux-aarch64-cross.sh
cd jogl/make
sh scripts/make.jogl.all.linux-armv6hf-cross.sh
sh scripts/make.jogl.all.linux-aarch64-cross.sh
Where to locate the built files:
gluegen/build-linux-armv6hf
gluegen/build-linux-aarch64
jogl/build-linux-armv6hf
jogl/build-linux-aarch64