修改环境变量classpath:
原理:
classpath是搜索java类库的路径;当你输入命令“java HelloWorld“时,会根据classpath寻找HelloWorld.class;一点代表当前路径。
时间: 2024-08-09 15:20:44
修改环境变量classpath:
原理:
classpath是搜索java类库的路径;当你输入命令“java HelloWorld“时,会根据classpath寻找HelloWorld.class;一点代表当前路径。