📜  java set classpath - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:18.084000             🧑  作者: Mango

代码示例1
//For CMD users, requires to be done whenever we start cmd, temporary 
SET PATH=

//For Using Javac without setting up jdk path each time
//Windows users requires admin access
//Press start type "environment variables"
//Click on Environment variables box in bottom of the System properties 
//Add a new variable with variable name = "CLASSPATH" no quotes required
// Value is the location of Java/JDK/bin folder