多谢febchen()的帮助,可是问题还是一样 D:\>javac Child.java Child.java:2: cannot access java.sql bad class file: .\java\sql.java file does not contain class java.sql Please remove or make sure it appears in the correct subdirectory of the classpath. import java.sql.*; ^ 1 error 算了,重做系统吧!!
D:\>javac Child.java
Child.java:2: cannot access java.sql
bad class file: .\java\sql.java
file does not contain class java.sql
Please remove or make sure it appears in the correct subdirectory of the classpath.
import java.sql.*;
^
1 error
算了,重做系统吧!!