In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces how to achieve JAVA Mini Program HelloWorld, the content is very detailed, interested friends can refer to, hope to be helpful to you.
one。 Configure the JAVA development environment
Download 1.JDK
Go to SUN to download the latest version of JDK and choose the system you use. I use the 32-bit flagship version of win7.
Installation and configuration of 2.JDK
Install JDK to pay special attention to, the first step is to install JDK, this select the directory you set on the line, the problem in the next prompt to install JRE, I generally like to install different parts of the same software in the same directory, but here if JRE and JDK are installed in the same directory, there will be an overlay effect, the next step in the configuration of environment variables will be a problem. As shown in the figure:
After installing JDK and JRE, you are ready to configure the environment variables. The configuration under Win7 is as follows: right-click "computer"-Properties-Advanced system Settings-Environment variables, which mainly operate on the following system variables.
After you use the CD command to go to the folder where the JAVA file is located, you can start compiling and running, as follows:
Compile command: javac HelloWorld.java A HelloWorld.class file will be generated in this directory at this time
Run command: java HelloWorld runs successfully at this moment, and the following screen will appear
At this point, the first tangled JAVA Mini Program [HelloWorld] was born.
On how to achieve JAVA Mini Program HelloWorld to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.