我的jbuilder原来用的是jdk1.4,后来由于需要JAVA新功能,所以将JDK改为1.6,可却出现以下问题,原来可以用的类,却提示:
"Excel_control.java": cannot access java.io.FileInputStream,bad class file: D:\java_sdk\j2sdk1.6\jre\lib\rt.jar\java\io\FileInputStream.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 3, column 16
"Excel_control.java": cannot access java.io.FileInputStream,bad class file: D:\java_sdk\j2sdk1.6\jre\lib\rt.jar\java\io\FileInputStream.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 3, column 16
jbuilder不是可以设置JDK的吗?
jb2005就能支持1.5了
在jbuilder中被识别为java version 1.6.0-ea-b42
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b42)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b42, mixed mode, sharing)
不是吧?
另外,楼主,我想问你个问题,你在windows下面写的有系统托盘能在unix或者Linux这样的操作系统下运行吗?好像不能吧!
http://www.java.net/download/jdk6/下载