Where can I find the Java SDK in Linux after installing it?

后端 未结 14 1739
野趣味
野趣味 2020-12-02 03:59

I installed JDK using apt-get install but I don\'t know where my jdk folder is. I need to set the path for that. Does any one have a clue on the location?

14条回答
  •  无人及你
    2020-12-02 04:39

    the command: sudo update-alternatives --config java will find the complete path of all installed Java versions

提交回复
热议问题