halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
440 stars 84 forks source link

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

Open cruzmanny opened 11 months ago

cruzmanny commented 11 months ago

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.