In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces "how to build the java operating environment" in detail, the content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to build the java operating environment" can help you solve your doubts.
Set up the java running environment
Overall, it is divided into two steps.
1. Download JDK (java dovelop kit referred to as java development tool)
First of all, let's directly download the java development kit JDK
two。 Select the version you want to use and click download. Here is the information about each version.
Java Platfrom Standard Edition (Standard java SE for short)
This version, which is usually used to get started, is suitable for small application development and desktop applications.
It allows the development and deployment of Java applications for use in desktop, server, embedded, and real-time environments
Java Platfrom Enterprise Edition (Enterprise Java EE for short)
The powerful, enterprise version used by programmers to work in the company helps develop and deploy portable, robust, scalable, and secure server-side Java applications.
Java Platfrom Micro Edition (miniature JAVA ME for short)
For mobile application development, providing a robust and flexible environment for applications running on mobile and embedded devices such as mobile phones, PDA, TV set-top boxes and printers
Put it simply.
Java SE is software that runs on a computer.
Java EE is used to make websites-(our common JSP technology)
Java ME makes mobile phone software.
3. After clicking Download, the following figure appears. After that, you must check the agreement before downloading, and then select your own operating system download, Mac or windows, Linux.
4. To install JDK, you can customize the installation directory and other information during installation. For example, we choose the installation directory as C:\ Program Files (x86)\ Java\ jdk1.8.0_91.
5. Right-click on my computer-Properties-Advanced system Settings-Environment variables-system variables-create 3 new properties in "system variables", click "Edit" if they already exist, click "New" if they do not exist.
The variable setting parameters are as follows:
L variable name: JAVA_HOME
L variable value: C:\ Program Files (x86)\ Java\ jdk1.8.0_91
L / / to configure according to your actual file installation path
L variable name: CLASSPATH
L variable value:.;% JAVA_HOME%\ lib\ dt.jar;%JAVA_HOME%\ lib\ tools.jar
L / / remember there is a "."
L variable name: Path
L variable value:% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin
6. Test whether JDK is installed successfully
Windows key + R Open run-enter cmd-- to open command prompt-Type command: javac
If the following figure appears, it shows that the environment variable is configured successfully.
After reading this, the article "how to build a java operating environment" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.