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

后端 未结 14 1737
野趣味
野趣味 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:37

    Another best way to find Java folder path is to use alternatives command in Fedora Linux (I know its for Ubuntu but I hit this post from google just by its headline). Just want to share incase people like me looking for answers for fedora flavour.

    To display all information regarding java

    alternatives --display java
    

提交回复
热议问题