(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) Compiler :
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.)
2001-Aug-30 9:07am gyles19@visi.com

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.

2001-Dec-18 12:05pm gyles19@visi.com

[Append to This Answer]
2001-Dec-18 12:05pm
Previous: (Answer) I can add a whole package to my project and edit the source code. However, when compiling, you have to right click the desired package and the only that package is compiled. Any packages within the selected package are NOT compiled.
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=260
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

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
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]