Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set Java environment variable by win10

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to set Java environment variables in win10". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "how to set Java environment variables in win10".

Methods / steps:

1. Right-click this computer, open the properties options, and then enter the advanced system settings.

two。 At this point, switch to the advanced options in the pop-up interface, and then open the environment variable.

3. Start by clicking the New option in the lower right corner to proceed to the next step.

4. At this point, enter the variable name of "JAVA_HOME" in the pop-up interface. The value of the variable must be the path where you installed jdk. The installation path of the editor is: E:java\ jdk\

5. Start to find the CLASSPATH option, and if you can't find it, you can create it on your own.

6. After double-clicking to open the option, set its variable value to:.;% JAVA_HOME%\ lib\ dt.jar;%JAVA_HOME%\ lib\ tools.jar

7. Then find path, edit it directly, and add:;% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin; (that is, C: variable value) before the original variable value

8. Save after the settings are completed, and finally open the command prompt interface, enter java and enter, as long as the relevant Chinese options pop up.

9. Continue to enter jacac and enter, and then enter the corresponding Chinese language.

Thank you for your reading, the above is the content of "how win10 sets Java environment variables". After the study of this article, I believe you have a deeper understanding of how win10 sets Java environment variables, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report