java jdk 检测安装_Java JDK9.0安装配置检测说明,非常详细

本文详细介绍了在Windows系统中安装配置Java JDK9.0的步骤,包括下载解压、安装JDK和JRE、配置环境变量,并通过`java -version`命令检测安装是否成功。
摘要由CSDN通过智能技术生成

Java JDK安装完成需要进行配置,然后进行检测,确认无误之后才能正常使用,为了帮助第一次接触JDK的小伙伴们更快入门,本文就以Java JDK9.0为例,演示软件安装、配置、检测这一系列流程,请看具体说明。

如何在Windows系统中安装配置java jdk9.0?

安装Java JDK

下载Java JDK,解压压缩包,双击.exe文件,弹出界面,根据向导操作,

9076592d065f6dcb996cb8d8c785eafa.png

点击【更改】,设置软件保存路径,你也可以选择默认,

325ae795d5baa6d7574dffd3fc13ed7f.png

4db6103d2f5150da9b7df3dfe47cf575.png

开始安装软件,耐心等待,

28119485fec9c6a2814106ec9bf76a06.png

安装jre,自行选择安装目录,

3b62f760336dd5395bd8179363fa459b.png

等待jre的安装完成,

8aac151bcc2e5b8433ebc64c3d125406.png

安装完成,点击关闭,

8f68e2e77dbf94f0412abf8d7cbac3bf.png

配置环境

Java JDK安装结束,需要进行环境配置,操作如下:

鼠标右击【计算机】或者【我的电脑】,弹出菜单,选择【属性】,进入以下页面,点击【高级系统设置】,

dbca202603a148eb36d7f25ae7dccc91.png

打开系统属性窗口,点击【高级】功能,

9ff99f895be611d4424df2d665918862.png

然后点击【环境变量】,

e682d090f3e7ccf72e705f685769aae7.png

如图,点击【新建】,弹出对话框,新建系统变量,变量名【JAVA_HOME】,变量值是JDK安装路径,然后点击确定,

13faee2c112063133842ed4b2add7d4f.png

2b7fdb44014740f3e89f6439b6124138.png

找到【Path】变量,点击【编辑】按钮,

fa53c9dc1922678e60fedcdecc76eed1.png

弹出对话框,在【变量值】后面追加【;%JAVA_HOME%\bin】,一定注意格式,

38713b1891bdf8ef40b1179b8cbf83d9.png

点击确定,完成jdk环境变量配置,

8dca4087564514b13782a235fc1de526.png

接着配置jre环境变量,新建【环境变量】,变量名【JAVA_HOME_JRE】,变量值【C:\Java\jre-9.0.4】,然后编辑Path变量,在变量值后追加【;%JAVA_HOME_JRE%\bin 】,确定,完成 jre 环境变量配置。

测试

按快捷键【Windows+R】,打开运行窗口,输入cmd,回车,

bef86d23eab6764c54d8bde690f9c467.png

在命令行中输入 java -version,回车,出现下图,表示环境配置成功,

260d1eb4e9c0e3aa650400bcf9eccf88.png

想了解更多精彩教程资讯,请关注wmzhe.com。

Overview Module Package Class Use Tree Deprecated Index Help Java SE 9 & JDK 9 Prev Next Frames No Frames All Classes SEARCH: Java® Platform, Standard Edition & Java Development Kit Version 9 API Specification This document is divided into three sections: Java SE The Java Platform, Standard Edition (Java SE) APIs define the core Java platform for general-purpose computing. These APIs are in modules whose names start with java. JDK The Java Development Kit (JDK) APIs are specific to the JDK and will not necessarily be available in all implementations of the Java SE Platform. These APIs are in modules whose names start with jdk. JavaFX The JavaFX APIs define a set of user-interface controls, graphics, media, and web packages for developing rich client applications. These APIs are in modules whose names start with javafx. Java SE Module Description java.activation Defines the JavaBeans Activation Framework (JAF) API. java.base Defines the foundational APIs of the Java SE Platform. java.compiler Defines the Language Model, Annotation Processing, and Java Compiler APIs. java.corba Defines the Java binding of the OMG CORBA APIs, and the RMI-IIOP API. java.datatransfer Defines the API for transferring data between and within applications. java.desktop Defines the AWT and Swing user interface toolkits, plus APIs for accessibility, audio, imaging, printing, and JavaBeans. java.instrument Defines services that allow agents to instrument programs running on the JVM. java.logging Defines the Java Logging API. java.management Defines the Java Management Extensions (JMX) API. java.management.rmi Defines the RMI connector for the Java Management Extensions (JMX) Remote API. java.naming Defines the Java Naming and Directory Interface (JNDI) API. java.prefs Defines the Preferences API. java.rmi Defines the Remote Method Invocation (RMI) API. java.scripting Defines the Scripting API. java.se Defines the core Java SE API. java.se.ee Defines the full API of the Java SE Platform. java.security.jgss Defines the Java binding of the IETF Generic Security Services API (GSS-API). java.security.sasl Defines Java support for the IETF Simple Authentication and Security Layer (SASL). java.sql Defines the JDBC API. java.sql.rowset Defines the JDBC RowSet API. java.transaction Defines a subset of the Java Transaction API (JTA) to support CORBA interoperation. java.xml Defines the Java API for XML Processing (JAXP), the Streaming API for XML (StAX), the Simple API for XML (SAX), and the W3C Document Object Model (DOM) API. java.xml.bind Defines the Java Architecture for XML Binding (JAXB) API. java.xml.crypto Defines the API for XML cryptography. java.xml.ws Defines the Java API for XML-Based Web Services (JAX-WS), and the Web Services Metadata API. java.xml.ws.annotation Defines a subset of the Common Annotations API to support programs running on the Java SE Platform. JDK Module Description jdk.accessibility Defines JDK utility classes used by implementors of Assistive Technologies. jdk.attach Defines the attach API. jdk.charsets Provides charsets that are not in java.base (mostly double byte and IBM charsets). jdk.compiler Defines the implementation of the system Java compiler and its command line equivalent, javac, as well as javah. jdk.crypto.cryptoki Provides the implementation of the SunPKCS11 security provider. jdk.crypto.ec Provides the implementation of the SunEC security provider. jdk.dynalink Defines the API for dynamic linking of high-level operations on objects. jdk.editpad Provides the implementation of the edit pad service used by jdk.jshell. jdk.hotspot.agent Defines the implementation of the HotSpot Serviceability Agent. jdk.httpserver Defines the JDK-specific HTTP server API. jdk.incubator.httpclient Defines the high-level HTTP and WebSocket API. jdk.jartool Defines tools for manipulating Java Archive (JAR) files, including the jar and jarsigner tools. jdk.javadoc Defines the implementation of the system documentation tool and its command line equivalent, javadoc. jdk.jcmd Defines tools for diagnostics and troubleshooting a JVM such as the jcmd, jps, jstat tools. jdk.jconsole Defines the JMX graphical tool, jconsole, for monitoring and managing a running application. jdk.jdeps Defines tools for analysing dependencies in Java libraries and programs, including the jdeps, javap, and jdeprscan tools. jdk.jdi Defines the Java Debug Interface. jdk.jdwp.agent Provides the implementation of the Java Debug Wire Protocol (JDWP) agent. jdk.jfr Defines the API for Java Flight Recorder. jdk.jlink Defines the jlink tool for creating run-time images, the jmod tool for creating and manipulating JMOD files, and the jimage tool for inspecting the JDK implementation-specific container file for classes and resources. jdk.jshell This module provides support for Java Programming Language 'snippet' evaluating tools, such as Read-Eval-Print Loops (REPLs), including the jshell tool. jdk.jsobject Defines the API for the JavaScript Object. jdk.jstatd Defines the jstatd tool for starting a daemon for the jstat tool to monitor JVM statistics remotely. jdk.localedata Provides the locale data for locales other than US locale. jdk.management Defines JDK-specific management interfaces for the JVM. jdk.management.agent Defines the JMX management agent. jdk.management.cmm Defines the Management Interface for Cooperative Memory Management. jdk.management.jfr Defines the Management Interface for Java Flight Recorder. jdk.management.resource Defines the Resource Management API. jdk.naming.dns Provides the implementation of the DNS Java Naming provider. jdk.naming.rmi Provides the implementation of the RMI Java Naming provider. jdk.net Defines the JDK-specific Networking API. jdk.pack Defines tools for transforming a JAR file into a compressed pack200 file and transforming a packed file into a JAR file, including the pack200 and unpack200 tools. jdk.packager.services Defines the services used by the Java packager tool. jdk.policytool Defines the GUI tool for managing policy files called policytool. jdk.rmic Defines the rmic compiler for generating stubs and skeletons using the Java Remote Method Protocol (JRMP) and stubs and tie class files (IIOP protocol) for remote objects. jdk.scripting.nashorn Provides the implementation of Nashorn script engine and the runtime environment for programs written in ECMAScript 5.1. jdk.sctp Defines the JDK-specific API for SCTP. jdk.security.auth Provides implementations of the javax.security.auth.* interfaces and various authentication modules. jdk.security.jgss Defines Java extensions to the GSS-API and an implementation of the SASL GSSAPI mechanism. jdk.snmp Defines the SNMP management agent. jdk.xml.dom Defines the subset of the W3C Document Object Model (DOM) API that is not part of the Java SE API. jdk.zipfs Provides the implementation of the zip file system provider. JavaFX Module Description javafx.base Defines the base APIs for the JavaFX UI toolkit, including APIs for bindings, properties, collections, and events. javafx.controls Defines the UI controls, charts, and skins that are available for the JavaFX UI toolkit. javafx.fxml Defines the FXML APIs for the JavaFX UI toolkit. javafx.graphics Defines the core scenegraph APIs for the JavaFX UI toolkit (such as layout containers, application lifecycle, shapes, transformations, canvas, input, painting, image handling, and effects), as well as APIs for animation, css, concurrency, geometry, printing, and windowing. javafx.media Defines APIs for playback of media and audio content, as part of the JavaFX UI toolkit, including MediaView and MediaPlayer. javafx.swing Defines APIs for the JavaFX / Swing interop support included with the JavaFX UI toolkit, including SwingNode (for embedding Swing inside a JavaFX application) and JFXPanel (for embedding JavaFX inside a Swing application). javafx.web Defines APIs for the WebView functionality contained within the the JavaFX UI toolkit. Other Modules Module Description java.jnlp Defines the API for Java Network Launch Protocol (JNLP). java.smartcardio Defines the Java Smart Card I/O API. Skip navigation links Overview Module Package Class Use Tree Deprecated Index Help Java SE 9 & JDK 9 Prev Next Frames No Frames All Classes
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值