That looks more like Java. However, it seems to be now using the system's Java (/usr/bin/java) instead of OpenJDK8. From what I see, your path looks correct with /opt/local/bin being included before the system's directories, so I'm not sure why it is not finding OpenJDK8.
@barracuda156 , by chance, does the OpenJDK8-PowerPC java command have a prefix or suffix added?
EDIT: On second thought, I think I may have just answered my own question - I just noticed in
@barracuda156 's screenshot in the first post that OpenJDK's java binary seems to be stored in /Library/Java/JavaVirtualMachines/openjdk8/Contents/Home/bin/java on his machine, so it is likely that it will either be the same on your machine, or if not, then perhaps a similar location based on $JAVA_HOME.
@Gamerabbit , please try running the following in the terminal, which should hopefully either provide the location of OpenJDK8's java command or run the program if it is in the same path as
@barracuda156 's which is likely the case:
Bash:
export JAVA_HOME=/opt/local/Library/Java/JavaVirtualMachine/openjdk8-jre/
ls -ld /opt/local/Library/Java/JavaVirtualMachine/openjdk8-jre/Contents/Home/bin/j*
ls -ld /opt/local/Library/Java/JavaVirtualMachine/openjdk8-jre/bin/j*
/Library/Java/JavaVirtualMachines/openjdk8/Contents/Home/bin/java -jar /Users/jordapaul/Desktop/Mindustry.jar
By the way, the error message you are seeing is that the JAR needs JDK 52 to run, which corresponds to Java 1.8. So, it is likely that OpenJDK8 should work as long as the game does not require anything that may not be supported in the headless build (it may also be possible to recompile the game for an earlier version of Java, depending on the source, since java often will just default to compiling it to the JVM version that's installed regardless of whether the code may be compatible with an older version).