|
|
I'm trying to use the new JDK 1.4 betas, and JBuilder (of any version) gives me the following message when I try to build my projects: "Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0" |
| Sun has changed the format of the class files produced by beta JDK 1.4,
hence the 'wrong version' message.
JBuilder's compiler has to be updated to handle the new JDK class type, or something like that. JDK 1.4 introduces several other java language changes, particularly the new 'assert' keyword, and JBuilder's compiler is unable to process these new features. Stephen Kelvin wrote a tool which resets the JDK class files back to 46, the version JBuilder supports. I have no idea if this is even safe to do, and it probably violates Sun's license, but people report that it gets the projects compiling again with JB3/4/5. http://www.StephenKelvin.de/MerlinPatch/
People asking if Borland plans to patch JB3/JB4 to support JDK 1.4:
I doubt it, myself, but contact Devsupport and ask. I think a JB5
patch is probably unlikely, given that the change is coming from
Sun's java itself rather than a bug in JBuilder. (While annoying,
the class version number concept in the JDK class files is doing
exactly what it is intended to do: prevent incompatible class files
from being mangled by elderly JVMs and compilers.)
| |
| Borland has recently announced JBuilder 6, and the new features page lists JDK 1.4 support.
http://www.borland.com/jbuilder/jb6/newfeatures.html
2001-Nov-24 8:25am gyles19@visi.com | |
| JBuilder 6.0 has a new Project Properties | General | Enable assert keyword setting.
JBuilder 6.0 is able to compile projects using the 1.4.3 beta JDK on linux. I haven't tested it myself on Windows or using the earlier betas. | |
| [Append to This Answer] | |
| 2001-Dec-18 12:05pm |
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||