Where is java jdk
1. The directory of Windows system jdk
The default installation path of java jdk is C:\Program Files\Java\jdk, or use java -version in cmd. At the end of the command line, its installation will be displayed. path of.
2. Directory of jdk in Linux system
Search method:
1. which java
/usr/bin/java
2. ls -lrt /usr/bin/java
lrwxrwxrwx. 1 root root 22 3月 31 20:07 /usr/bin/java -> /etc/alternatives/java
3. ls -lrt /etc/alternatives/java
lrwxrwxrwx. 1 root root 71 3月 31 20:07 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/jre/bin/java
4. cd /usr/lib/jvm/
jdk means Java Platform Standard Edition Development Kit. It is a development environment for building applications, applets and components using the Java programming language. The JDK includes tools for developing and testing programs written in the Java programming language and run on the Java platform.
php Chinese website, a large number of free Java introductory tutorials, welcome to learn online!
The above is the detailed content of where is java jdk. For more information, please follow other related articles on the PHP Chinese website!