Home> Java> JavaBase> body text

How to set path in java?

Linda Hamilton
Release: 2019-11-14 10:31:51
Original
3940 people have browsed it

How to set path in java?

How to set the path in java?

The steps to set the java path are as follows:

1. Right-click My Computer—>Properties—>Advanced—>Environment Variables—> System variables, as shown in the figure:

How to set path in java?

2. In the system variable option -> Create a new path to

How to set path in java?

java_home as follows C:\j2sdk1.4.2_01; Add the java bin path to the path, such as C:\j2sdk1.4.2_01\bin; Add .;lib\dt.jar;lib\tools.jar; to the new classpath; such as.;C: \j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\tools.jar;

The above is the detailed content of How to set path in java?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!