Your absolutely right!

but the point is that I don't have any jre1.6 left on my pc.

the paths are set to the jre1.5

I haven't "installed" the jdk/jre simply set the environment
variables, but this shouldn't cause the damage.

Since I've everything setup similar to my colleague, I'm absolutly
out of ideas.
We even schare the same webserver and source over svn.

I can't continue for today, but I will be back tomorrow.. ;)

Greets

Roman


---- Original Message ----
From: [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Subject: Re: Bad version number in .class file
Date: Mon, 10 Dec 2007 09:41:01 -0500

>Hi Roman-
>
>this is specific to your environment
>whatever class you compiled your aar MUST be == the java runtime you
>use to
>execute
>compile with1.6== JRE runtime must be1.6
>OR
>compile with1.5==JRE runtime must be 1.5
>
>determine the working environment you're colleague is using (echo
>%JAVA_HOME%) and replicate (install that java version including set
>JAVA_HOME and PATH to working environment) on your machine
>
>HTH/
>M--
>----- Original Message -----
>From: "Roman Schönbichler" <[EMAIL PROTECTED]>
>To: <axis-user@ws.apache.org>
>Sent: Monday, December 10, 2007 9:25 AM
>Subject: Re: Bad version number in .class file
>
>
>Hi!
>
>Thanks for your reply, here are the variables, so you can be shure
>I've checked them.
>
>JAVA_HOME = C:\Programme\Java\jre1.5.0_13
>PATH = ...;C:\Program Files\Java\jdk1.5.0_13\bin;C:\Program
>Files\ant-1.7.0\bin;c:\Programme\Axis2\bin
>
>I haven't set CLASSPATH since alle jars are in the lib file of the
>project.
>
>The funy part is, that the same .aar file works on a colleagues'
>computer.
>
>I've also rebuilt alle dependencies of the project, in case one of
>them was built with 1.6... without effect.
>
>Greets
>Roman
>
>---- Original Message ----
>From: [EMAIL PROTECTED]
>To: axis-user@ws.apache.org
>Subject: Re: Bad version number in .class file
>Date: Mon, 10 Dec 2007 14:06:02 +0000
>
>>Please check all the paths once again (i.e. JAVA_HOME, CLASSPATH and
>>
>>PATH). If you compile your code against javac 1.6 it won't run in
>>java 1.5.
>>
>>
>>Michele
>>
>>
>>On 10 Dec 2007, at 12:41, Roman SchXnbichler wrote:
>>
>>> Hey Guys!
>>>
>>> If generated a WS (with wsdl2java) which worked perfectly in
>JRE1.6
>>> and Axis2.
>>>
>>> Now I've got the problem, that it needs to be run under JRE1.5
>>>
>>> I've removed alle Java 1.6 components, and reconfigured my path
>and
>>> java_home variables to point to the jre/jdk 1.5 directories.
>>> I've also changed the JRE in Eclipse to jre1.5.
>>>
>>> Then I've recreated the WS, using wsdl2java (it told me that it
>>uses
>>> jre1.5).
>>>
>>> After that I've filled in the buisness logic, and made a new .aar
>>> file.
>>>
>>> When I try to deploy the .aar file, axis tells me:
>>> or.apache.axis2.deployment.DeploymentException:
>>> java.lang.UnsupportedClassVersionError: Bad version number in
>>.class
>>> file
>>>
>>> I don't have a clue where this could come from, since I've rebuilt
>>> everything!
>>>
>>> I hope someone can give me some hints!
>>>
>>> Greets
>>> Roman
>>>
>>>
>>>
>>--------------------------------------------------------------------
>-
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>>--------------------------------------------------------------------
>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to