halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
454 stars 86 forks source link

Add other architecture (such as armv71) support #45

Open patbonecrusher opened 4 years ago

patbonecrusher commented 4 years ago

Currently working on adding support for asdf-java for the raspberry pi v4.

patbonecrusher commented 4 years ago

Any insight on how to test my changes to the plugin using asdf?

patbonecrusher commented 4 years ago

I've got the list to only list java version for right architecture and to support arm during install.

delgurth commented 3 years ago

Think we can close this issue now seeing:

❯ cat /proc/cpuinfo | grep Raspbe
Model       : Raspberry Pi 4 Model B Rev 1.4

❯ uname -a
Linux poepi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux

❯ asdf install java zulu-11.41.75

❯ echo "java zulu-11.41.75" >> ~/.tool-versions

❯ asdf which java
/home/pi/.asdf/installs/java/zulu-11.41.75/bin/java

❯ /home/pi/.asdf/installs/java/zulu-11.41.75/bin/java -version
openjdk version "11.0.8" 2020-07-14 LTS
OpenJDK Runtime Environment Zulu11.41+75-CA (build 11.0.8+10-LTS)
OpenJDK Client VM Zulu11.41+75-CA (build 11.0.8+10-LTS, mixed mode)