你在用Netbeans(实际上是Ant)Clean and Build你的项目生成可执行文件(例如Windows下的exe文件)时候遇到报错 或者遇到这样的报错: The libs.CopyLibs.classpath property is not set up 参考资料:http://www.adam-bien.com/roller/abien/entry/how_to_fix_the_libs 解决办法:Tools>Options>Java>Ant>Properties中添加…
解决 Error: could not open `C:\Program Files\Java\jre7\lib\i386\jvm.cfg' 重装JDK后,因为没有装在以前的目录,运行java命令后报错,内容如标题 classpath和path都没有错 一通搜索后才知道需要删除c:/windows/system32/java.exec:/windows/system32/javaw.exec:/windows/system32/javaws.exe这几个文件(有的人机器中可能javaws.exe…
这个课程的参考视频在youtube. 主要学到的知识点有: set up needs Java SE JDK, NetBeans IDE class name should be the same like .java file name. .java is java file, .jar is compiled code. "clean and build" did clean old .jar file and create a new .jar file. For keyboar…