In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "how to configure the process of JDK1.6", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to configure the process of JDK1.6" this article.
JDK1.6 configuration step 1. First of all, download the * * version of JDK from the sun website. I am going to download the jdk1.6.0_01 version at:
Https://sdlc2a.sun.com/ECom/EComActionServlet;jsessionid=EB65B0899A70D46007BEA6C25635512C
Just install it after you download it.
JDK1.6 configuration step 2. To configure the environment, you only need to configure classpath and Path as follows:
Right-click-- my computer-- Properties-- Advanced-- Environment variables-- in the system variables, click Path-- to edit:
Here, add the path of bin under the installation path of JDK
For example, if my JDK is installed under D:\ Program Files\ Java, then add it in front of it (do not delete the value of the variables already in it, just add it in front of it)
D:\ Program Files\ Java\ jdk1.6.0_01\ bin; remember not to lose the ";".
Then create a new system variable named "classpath" (without double quotes).
The variable value is ".; D:\ Program Files\ Java\ jdk1.6.0_01\ lib\ dt.jar;D:\ Program Files\ Java\ jdk1.6.0_01\ lib\ tools.jar;".
In front of it is a "." And a ";", do not throw away, followed by the dt.jar and tools.jar under the installed JDK path
If JDK is installed under c:\ java, write ".; c:\ java\ jdk1.6.0_01\ lib\ dt.jar;c:\ java\ jdk1.6.0_01\ lib\ tools.jar;" (without double quotes).
Click OK, ok, and the environment variables are configured.
JDK1.6 configuration step 3. Write a Hello.java program using JCreatorPro as follows:
/ * * @ (#) Hello.java * @ author * @ version 1.00 2007-4-10 * / public class Hello {public Hello () {} public static void main (String [] args) {System.out.println ("Hello World!");}}
Output: "Hello World!". The environment variable was configured successfully.
These are all the contents of the article "how to 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.