[Question] How to set PATH and CLASSPATH under Windows 98?

xiaoxiao2021-03-06  18

Windows98 does not provide an interface to modifying Path and Claspath, you can modify autoexec.bat

specific method

If it is Win95 / 98, add the following 3-line statement at the last side of /autoexec.bat: java_home = c: /j2sdk1.4.1 (this path should be modified according to your JDK installation path)

PATH =% java_home% / bin;% PATH% (note the middle is a semicolon)

ClassPath =.;% Java_home% / lib;% java_home% / lib / dt.jar;% java_home% / lib / Tools.jar ;;% java_home% / jre / rt.jar (note the most in front of one point, one point number)

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

New Post(0)