I apologize for not picking a better topic, but this seemed the most fitting :D
I recently cross compiled openjdk11u to sparc64/linux. I needed to apply one patch for it to build, but the binaries seem to run fine. I tried compiling and running several different java programs I wrote.
However, when adding these binaries to PATH (java, javac, etc), they start to complain:
* Home for VM '' does not exist: * Invalid System VM:
However, I set the variable JAVA_HOME, and the output does not change:
echo $JAVA_HOME /jdk/linux-sparcv9-normal-server-release/jdk echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/jdk/linux-sparcv9-normal-server-release/jdk/bin java -version * Home for VM '' does not exist: * Invalid System VM: /jdk/linux-sparcv9-normal-server-release/jdk/bin/java -version openjdk version "11.0.15-internal" 2022-04-19 OpenJDK Runtime Environment (build 11.0.15-internal+0-adhoc.rich.jdk11u-jdk-11.0.15-ga) OpenJDK 64-Bit Minimal VM (build 11.0.15-internal+0-adhoc.rich.jdk11u-jdk-11.0.15-ga, mixed mode)
I have 0 idea on where to go next, I can't find a trace of an issue like this on the web.... am I correct that this isn't expected behavior?