Jbuilder5 & jsdk1.4-beta2 have problem?

I use jbuilder5.
I download the new jsdk1.4-beta2.
I config new jdk setting and add 1.4
but when i run any classes under this jdk setting,
jbuilder display error
"xxxx.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0
why?
thanks

The reason for this is that jbuilder 5 is itself running under java 1.3.0, which limits class versions to 47 (I think)
So regardless of what jdk you set up in the configure jdk menu jbuilder itself cannot read any classes created with jdk 1.4
To solve this problem, get jbuilder to run under jdk1.4 as follows:
shutdown jbuilder
in your jbuilder5/bin directory you have a file called jdk.config edit this and change 2 entries, javapath and addpath
These are initially set to be:
javapath ../jdk1.3/bin/java
addpath ../jdk1.3/lib/tools.jar
(with some lines in between)
Change these to point to your jdk1.4 beta installation and restart jbuilder
Everything should work fine now.
As an added bonus, you may see all the fonts look different in jbuilder now, mine did on win2000.

Similar Messages

Maybe you are looking for