You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Moreira, Paulo" <Pa...@nl.compuware.com> on 2004/12/06 16:09:57 UTC

Question about generated code

Hi,

I'm having the following problem- I'm running XMLBeans with JDK 1.4.1.
Everything goes ok. The problem is that I have to use the generated code
with WebSphere 5, that is using JDK 1.3.1. Whenever I try to use the
generated code I get a java.lang.UnsupportedClassVersionError (Unsupported
major.minor version 48.0). Is there any option to generate code that is
1.3.1 compatible (even if it requires the use of JDK 1.4 to run XMLBeans to
generate that code)?

I've read in the mailing list archive that there is a port for JDK 1.3. I
guess this is a possible solution- if only JDK 1.3 is required to run
XMLBeans then I suppose that the generated code is also JDK 1.3 compatible.
Is this port available for XMLBeans 1.0.3? As far as I can see this port is
available through the cvs server. Is there any way to get the binary version
of this port?

Many thanks

Paulo



-- 
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Re: Question about generated code

Posted by Jorg Heymans <jh...@domek.be>.

Moreira, Paulo wrote:
> Hi,
> 
> I'm having the following problem- I'm running XMLBeans with JDK 1.4.1.
> Everything goes ok. The problem is that I have to use the generated code
> with WebSphere 5, that is using JDK 1.3.1. Whenever I try to use the
> generated code I get a java.lang.UnsupportedClassVersionError (Unsupported
> major.minor version 48.0). Is there any option to generate code that is
> 1.3.1 compatible (even if it requires the use of JDK 1.4 to run XMLBeans to
> generate that code)?

This error should go away if you compile the generated code yourself 
using jdk 1.3. Whether it actually *will* compile is a different issue.

HTH
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org