Install astro-java by entering the following commands in the terminal:
sudo apt update sudo apt install astro-java
Java packages for astronomy
This metapackage will install packages that are useful to develop Java applications for astronomy. Apart from FITS file handling, this is mainly used for VO applications.