You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nagarajan Murugesan <NM...@Selectica.com> on 2003/12/13 11:31:15 UTC

Unsupported major.minor version 48.0 problem while running the an telope task- Help needed

Hi All,

I am having  a problem with Antelope task.

This is my ant script:

<project name="Installation" default="sqlrun">

	<target name="sqlrun">
	<taskdef name="var" classname="ise.antelope.tasks.Variable"/>
	<property name="ant.enable.var" value="true"/>
    
	<var name="x" value="6"/>
    <echo>x = ${x}</echo>   <!-- print: 6 -->
    
    <var name="x" value="12"/>
    <echo>x = ${x}</echo>   <!-- print: 12 -->
    
    <var name="x" value="6 + ${x}"/>
    <echo>x = ${x}</echo>   <!-- print: 6 + 12 -->
    
  	
	</target>
</project>

while running the script, error given as

sqlrun:
BUILD FAILED: java.lang.UnsupportedClassVersionError:
ise/antelope/tasks/Variable (Unsupported major.minor version 48.0)
Total time: 370 milliseconds

what could be the problem? How to solve this?

Can any one help me out.

Thanks,
Nagarajan

Re: Unsupported major.minor version 48.0 problem while running the an telope task- Help needed

Posted by Stefan Bodewig <bo...@apache.org>.
On Sat, 13 Dec 2003, Dirk Weigenand <Di...@smb-tec.com>
wrote:

> Use 1.4 JRE/JDK and the error will go away.

Alternatively, recompile the tasks using JDK 1.3.

Stefan

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


Re: Unsupported major.minor version 48.0 problem while running the an telope task- Help needed

Posted by "Dirk.Weigenand" <Di...@smb-tec.com>.
Hi,

Nagarajan Murugesan <NM...@Selectica.com> writes:

> Hi All,
>
> I am having  a problem with Antelope task.
>

<snip/>

>
> while running the script, error given as
>
> sqlrun:
> BUILD FAILED: java.lang.UnsupportedClassVersionError:
> ise/antelope/tasks/Variable (Unsupported major.minor version 48.0)
> Total time: 370 milliseconds
>
> what could be the problem? How to solve this?
>

It's telling you that the antelope task was compiled using Java 1.4 and you
are trying to run it with an older version of Java.

Use 1.4 JRE/JDK and the error will go away.

regards,
        Dirk
-- 
_____________________________________________________________________
Dirk Weigenand                      mailto:Dirk.Weigenand@smb-tec.com
SMB GmbH                                       http://www.smb-tec.com

RISC: Relegate Important Stuff to Compiler

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