Home  >  Article  >  Java  >  where is java jdk

where is java jdk

angryTom
angryTomOriginal
2019-11-18 13:08:337435browse

where is java jdk

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn