这样配置jdk.config 我的jdk1.4目录是c:\j2sdk # +-----------------------------------------------------+ # | | # | This is the shared configuration file for the | # | Win32 JDK | # | | # | Do NOT make modifications without maintaining a | # | backup copy. See config_readme.html for a | # | description of the recognized directives. | # | | # +-----------------------------------------------------+# Use the embedded JDK provided with JBuilder and # override the default heap growth / shrinkage rates javapath C:/J2SDK/bin/java vmparam -Xminf0.2 vmparam -Xmaxf0.2# Add the "tools" JAR to the path since the JDK doesn't # do so automatically addpath C:/J2SDK/lib/tools.jar# Force standard VM settings for all applications vmparam -Xverify:none# +-----------------------------------------------------+ # | | # | Uncomment the following line if you are seeing | # | screen glitches while running JBuilder. This | # | problem is especially common under Windows 95/98. | # | | # +-----------------------------------------------------+ #vmparam -Dsun.java2d.noddraw# +-----------------------------------------------------+ # | | # | Uncomment the following line if you are having | # | problems with your default file encoding. This | # | problem is evident in some locales. | # | | # +-----------------------------------------------------+ #vmparam -Dfile.encoding=ISO8859_1
我已按上面写的去做,可是还是不成,JBuilder的外观已完全更改,可进行编译时还是一样,"ModuleOperate.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0请问是何故?
你的意思不覆盖原来,
把jbuilder的解析改至1.4的目录
jbuilder装在那个目录好
# +-----------------------------------------------------+
# | |
# | This is the shared configuration file for the |
# | Win32 JDK |
# | |
# | Do NOT make modifications without maintaining a |
# | backup copy. See config_readme.html for a |
# | description of the recognized directives. |
# | |
# +-----------------------------------------------------+# Use the embedded JDK provided with JBuilder and
# override the default heap growth / shrinkage rates
javapath C:/J2SDK/bin/java
vmparam -Xminf0.2
vmparam -Xmaxf0.2# Add the "tools" JAR to the path since the JDK doesn't
# do so automatically
addpath C:/J2SDK/lib/tools.jar# Force standard VM settings for all applications
vmparam -Xverify:none# +-----------------------------------------------------+
# | |
# | Uncomment the following line if you are seeing |
# | screen glitches while running JBuilder. This |
# | problem is especially common under Windows 95/98. |
# | |
# +-----------------------------------------------------+
#vmparam -Dsun.java2d.noddraw# +-----------------------------------------------------+
# | |
# | Uncomment the following line if you are having |
# | problems with your default file encoding. This |
# | problem is evident in some locales. |
# | |
# +-----------------------------------------------------+
#vmparam -Dfile.encoding=ISO8859_1
也将其改为你1.4版本的目录。