Home > Java > JavaBase > body text

where is java jdk

angryTom
Release: 2019-11-18 13:08:33
Original
7427 people have browsed it

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
Copy after login

2. ls -lrt /usr/bin/java

lrwxrwxrwx. 1 root root 22 3月  31 20:07 /usr/bin/java -> /etc/alternatives/java
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!