Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ["sdk list java" returns empty result on Raspberry Pi] #532

Open
huaichengliu opened this issue Aug 14, 2021 · 4 comments
Open

Bug: ["sdk list java" returns empty result on Raspberry Pi] #532

huaichengliu opened this issue Aug 14, 2021 · 4 comments

Comments

@huaichengliu
Copy link

Bug report

When running sdk ls java, an empty result is returned on Raspberry Pi @ Raspberry Pi OS 10 Buster

To reproduce

  • sdkman installed as per instruction.
  • sdk ls java returns empty list.
  • However, other candidates like sdk ls maven and sdk ls kotlin are normal.

Java:

pi@raspberrypi:~ $ sdk ls java
================================================================================
Available Java Versions
================================================================================
 Vendor        | Use | Version      | Dist    | Status     | Identifier
--------------------------------------------------------------------------------
================================================================================
Use the Identifier for installation:

    $ sdk install java 11.0.3.hs-adpt
================================================================================

Kotlin:

pi@raspberrypi:~ $ sdk ls kotlin
================================================================================
Available Kotlin Versions
================================================================================
     1.5.21              1.3.40              1.2.31              1.1.2-2
     1.5.10              1.3.31              1.2.30              1.1.2
     1.5.0               1.3.30              1.2.21              1.1.1
     1.4.31              1.3.21              1.2.20              1.1
     1.4.30              1.3.20              1.2.10              1.0.7
     1.4.21              1.3.11              1.2.0               1.0.6
     1.4.20              1.3.10              1.1.61              1.0.5-2
     1.4.10              1.3.0               1.1.60              1.0.5
     1.4.0               1.2.71              1.1.51              1.0.4
     1.3.72              1.2.70              1.1.50              1.0.3
     1.3.71              1.2.61              1.1.4-3             1.0.2
     1.3.70              1.2.60              1.1.4-2             1.0.1-2
     1.3.61              1.2.51              1.1.4               1.0.1-1
     1.3.60              1.2.50              1.1.3-2             1.0.1
     1.3.50              1.2.41              1.1.3               1.0.0
     1.3.41              1.2.40              1.1.2-5

================================================================================
+ - local version
* - installed
> - currently in use
================================================================================

System info

  • OS: Raspberry Pi OS 10 Buster (Lite version)
  • Shell and version: bash 5.0.3
  • SDK version: SDKMAN 5.12.2
@marc0der
Copy link
Member

@huaichengliu The reason that you aren't seeing anything here is probably that we don't have any JDK binaries published for you ARM variant. Also, Java is a platform specific candidate, unlike Kotlin which is universal.

Another thing that I'm not clear about is if your Pi is 32 or 64 bit. Could I ask you to please provide the output of uname -A?

Perhaps @eddumelendez might also have some more insight why we don't have any such ARM Linux versions available.

@marc0der marc0der transferred this issue from sdkman/sdkman-cli Aug 14, 2021
@huaichengliu
Copy link
Author

@marc0der Thanks for your reply, Marco.

Mine is a Pi Model 3B, it has a BCM2837 64 bit processor, but by default Raspberry Pi OS comes in 32 bit.

Output from uname -a

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.52-v7+ #1441 SMP Tue Aug 3 18:10:09 BST 2021 armv7l GNU/Linux

@huaichengliu
Copy link
Author

As this seems not to be a bug with sdkman, but rather a lack of binaires in the DB, should I close this issue and re-submit it as a feature request? Sorry, I am quite new to Github.

@marc0der
Copy link
Member

Hi @huaichengliu, don't worry. I've already moved this issue to the sdkman-db-migrations project where it will be picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants