在Ubuntu上编译Java,通常需要以下依赖:
sudo apt install openjdk-11-jdk
sudo apt install maven
build-essential
sudo apt install build-essential