我用的是 NetBeans7.0 jdk 1.6错误:Compiling 1 source file to C:\java\wg\object\build\classes
C:\java\wg\object\src\java\lang\ClassLoader.java:30: 软件包 sun.jkernel 不存在
import sun.jkernel.DownloadManager;
C:\java\wg\object\src\java\lang\ClassLoader.java:31: 警告:sun.misc.ClassFileTransformer 是 Sun 的专用 API,可能会在未来版本中删除
import sun.misc.ClassFileTransformer;
C:\java\wg\object\src\java\lang\ClassLoader.java:32: 警告:sun.misc.CompoundEnumeration 是 Sun 的专用 API,可能会在未来版本中删除
import sun.misc.CompoundEnumeration;
C:\java\wg\object\src\java\lang\ClassLoader.java:33: 警告:sun.misc.Resource 是 Sun 的专用 API,可能会在未来版本中删除
import sun.misc.Resource;注意:C:\java\wg\object\src\java\lang\ClassLoader.java 使用了未经检查或不安全的操作。
注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
5 错误
22 警告
C:\java\wg\object\nbproject\build-impl.xml:626: The following error occurred while executing this line:
C:\java\wg\object\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
C:\java\wg\object\src\java\lang\ClassLoader.java:30: 软件包 sun.jkernel 不存在
import sun.jkernel.DownloadManager;
C:\java\wg\object\src\java\lang\ClassLoader.java:31: 警告:sun.misc.ClassFileTransformer 是 Sun 的专用 API,可能会在未来版本中删除
import sun.misc.ClassFileTransformer;
C:\java\wg\object\src\java\lang\ClassLoader.java:32: 警告:sun.misc.CompoundEnumeration 是 Sun 的专用 API,可能会在未来版本中删除
import sun.misc.CompoundEnumeration;
C:\java\wg\object\src\java\lang\ClassLoader.java:33: 警告:sun.misc.Resource 是 Sun 的专用 API,可能会在未来版本中删除
import sun.misc.Resource;注意:C:\java\wg\object\src\java\lang\ClassLoader.java 使用了未经检查或不安全的操作。
注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
5 错误
22 警告
C:\java\wg\object\nbproject\build-impl.xml:626: The following error occurred while executing this line:
C:\java\wg\object\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
C:\java\wg\object\src\java\lang\ClassLoader.java:30: 软件包 sun.jkernel 不存在
import sun.jkernel.DownloadManager;软件包 sun.jkernel 不存在
你的程序在IDE能运行 拷出来不行? CLASSPATH似乎有问题呢
ANT构建的么 警告信息统统的无视吧..