Hi Guys plz help me in removing this bug...

Hi,

I am trying toload a client into oracle through loadjava command.....

iam encountering this error:

ORA-29535:Source require recompilation

class file has wrong version 49.0 ,should be 48.0,

I amusing oracle10g(ver 10.2.0.1).....and ejb3.0.......jdk1.5

Theclient imports silpleEJB.HelloRemote;

Which is the buissness interface...

Beforethis i have loaded simpleEJB.jar also into oracle ....It gave one warning regarding version ....

I hope i ll get reply as fast as possible..

[579 byte] By [gopal@tcsa] at [2007-11-27 1:35:29]
# 1

> ORA-29535:Source require recompilation

> class file has wrong version 49.0 ,should be 48.0,

The first thing to do is search for what the error code means: http://ora-29535.ora-code.com/

It means what the error message says. You need to recompile the source to generate the class files.

> I am using oracle10g(ver 10.2.0.1).....and

> ejb3.0.......jdk1.5

Since you are compiling with JDK 1.5, the class files get a version number 49.0, but your code execution expects a class generated by JDK 1.4 (or lower should work too) that would have a version number 48.0

Your task now is to get a JDK 1.4 distribution and use it to compile your classes.

annie79a at 2007-7-12 0:44:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...