Problem while changing from jdk1.3 to jdk1.4
1 posts in topic
Flat View  Flat View

Posted By:   Mitul_Das
Posted On:   Wednesday, June 12, 2002 03:42 AM

"": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0

This is the error which i get while changing from jdk1.3 to jdk1.4.

Is there anyway by which i can get across it.

I am using JBuilder 5


Re: Problem while changing from jdk1.3 to jdk1.4

Posted By:   gayan_kulatilleke  
Posted On:   Friday, June 21, 2002 03:39 AM

jBuilder uses pre-compiled class files ( Object.class) to speedup operation rather than recompile these commonly used classes all the time. These class files are of an older version as they were compiled using older JDK’s.
When using JDK1.4 it compiles your java files to a later version.

The JAVAC has restriction on compiling multiple versions of class files and will not intermix if the differences are too high. It is stated in the JDK1.4 documentation that it will only compile versions within a certain range. How ever there is no restrictions on running an application. All older applications will run on newer JRE’s.
Therefore the lowest version that can be used with JDK1.4 is jBuilder6, as any lower versions (of jBuilder) will have incompatible class files that the JAVAC will not compile together.

NOTE: it‘s possible to use JDK1.3 to compile the application and use 1.4 to run it.

Other than that we have no option...
About | Sitemap | Contact