halcyon/asdf-java

Unable to open JAR files with Linux (Manjaro and Ubuntu)

cruzmanny opened this issue · 0 comments

On macOS, I follow the instructions on setting up JAVA_HOME. I am able to click on JAR files and it will open just fine (I use Mars MIPS from Missouri State University for Computer Arch and Org class). While on Manjaro or Ubuntu after setting the JAVA_HOME in zshrc as instructed the JAR files do not execute. I believe this is because Linux is looking for java in the /usr/lib/jvm/ and/or /usr/bin directory just as macOS looks for java in /Library/Java/JavaVirtualMachines.