In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "how to carry java environment configuration". In daily operation, I believe many people have doubts about how to carry java environment configuration. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "how to carry java environment configuration". Next, please follow the editor to study!
Window system installation java with java environment: JRE install virtual environment, run java program
JDK,java development kit, which provides developers with development tools, including jre,jre, including virtual machines.
Download JDK
First we need to download the java development kit JDK at http://www.oracle.com/
Click the download button below:
On the download page, you need to choose to accept the license and choose the corresponding version according to your own system. This article takes the Window 64-bit system as an example:
two。 Select the Advanced tab and click Environment variables
Set three properties in the "system variable", JAVA_HOME,PATH,CLASSPATH (case does not matter), click "Edit" if it already exists, and click "New" if it does not exist.
The variable setting parameters are as follows:
Variable name: JAVA_HOME
Variable value: C:\ Program Files (x86)\ Java\ jdk1.8.0_91 / / to be configured according to your actual path
Variable name: CLASSPATH
Variable value:.;% JAVA_HOME%\ lib\ dt.jar;%JAVA_HOME%\ lib\ tools.jar; / / remember there is a "."
Variable name: Path
Variable value:% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin
JAVA_HOME Settin
PATH Settin
CLASSPATH Settin
Linux,UNIX,Solaris,FreeBSD environment variable setting
The environment variable PATH should be set to point to the location where the Java binaries are installed. If you encounter difficulties in setting up, please refer to the shell documentation.
For example, if you use bash as your shell, you can add the following to the end of your .bashrc file: export PATH=/path/to/java:$PATH
Popular JAVA development tools
As the saying goes, if you want to do good work, you must first sharpen its tools. We also need a good development tool in the process of developing java language. There are many IDE on the market. This article recommends the following java development tools:
Eclipse (recommended): another free and open source java IDE, download from http://www.eclipse.org/
Select Eclipse IDE for Java Developers:
Notepad++: Notepad++ is a free code editor in Microsoft Windows environment, download address: http://notepad-plus-plus.org/
At this point, the study on "how to carry java environment configuration" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.