java——cmd命令编译带包名的源程序
.java文件的绝对路径:C:\eclipse-workspace\test_01\src\test\try.java
try.java的包名为:package test;
在cmd中
cd C:\eclipse-workspace\test_01\src\test;
javac -d . try.java //此时将try.class文件存入C:\eclipse-workspace\test_01\src\test\test中
java test.trt