In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to install JDK1.6 configuration, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Detailed explanation of JDK1.6 installation
1. To download JAVA JDK SE 6, here is one of the download addresses:
Http://www.java.net/download/jdk6/6u10/promoted/b32/binaries/jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
two。 Go to the downloaded folder and double-click the installer to start the installation:
Click accept.
Select the program features and installation path, and click next.
Click next to install jre.
Click finish.
3. Set environment variabl
Set the three environment variables JAVA_HOME,CLASSPATH and path in the system variable respectively.
JAVA_HOME environment variable setting:
Right-click my computer-Properties-Advanced-Environment variables-system variables-New
Note: (1) the value of the variable varies according to the java installation directory. * find the relevant file in the installation file and copy the path.
Variable name: JAVA_HOME
Variable value: d:\ Program Files\ Java\ jdk 1.6.0room10
Variable name: CLASSPATH
Variable value:.; D:\ Program Files\ Java\ jdk1.6.0_10\ bin;D:\ Program Files\ Java\ jdk1.6.0_10\ lib\ tools.jar
Variable name: Path
Variable value: d:\ Program Files\ Java\ jdk1.6.0_10\ bin;D:\ Program Files\ Java\ jdk1.6.0_10\ jre\ bin (added to the original value)
(2) the classpath variable starts with ".;"!
Click OK to exit the environment variable setting.
4. Test the installation:
Test whether JAVA is installed successfully, and write the test file as HelloWorld.java. The contents of the file are:
Public class HelloWorld {public static void main (String [] args) {System.out.println ("Hello world!");}}
Run cmd
Note: the path where HelloWorld.java is located should be added to the path environment variable when testing.
So far, JDK1.6 has been installed successfully.
These are all the contents of the article "how to install and configure JDK1.6". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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.