Configuration method of basic java environment variables on Windows

zhaozj2021-02-16  78

First install JDK (here assumes installation JDK1.4.1)

My installation path is C: /J2SDK1.4.1

Set 3 System Environment Variables: Java_Home, Path, ClassPath:

The new Java_Home: J2SDK installed path, not /, the same end. Such as

C: /j2sdk1.4.1

Edit PATH: Plus:

.;% Java_home% / bin /;

Add ClassPath:

.; Java_home% / lib / Tools.jar;% java_home% / lib / dt.jar;% java_home% / bin

Setting method:

Win9x: Editing the root directory of the system under the root directory, plus

Set java_home = above Javahome

SET PATH = above the PATH

Set classpath = ClassPath or more

Restart. Win2000 / XP / 2003: My Computer -> Properties -> Advanced -> Environment Variables. Save, restart.

转载请注明原文地址:https://www.9cbs.com/read-12385.html

New Post(0)