public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grobian <grobian@gentoo.org>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Error compiling ant-tasks
Date: Sat, 5 Aug 2006 17:00:12 +0200	[thread overview]
Message-ID: <20060805150011.GA4886@gentoo.org> (raw)
In-Reply-To: <200608051104.36270.jan@codejunky.org>

On 05-08-2006 11:04:34 +0200, Jan Meier wrote:
> BUILD FAILED
> java.lang.UnsupportedClassVersionError: org/mozilla/javascript/Scriptable 
> (Unsupported major.minor version 49.0)
[snip]
> !!! When you file a bug report, please include the following information:
> GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" 
> JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
> JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
> and of course, the output of emerge --info
> 
> Any suggestions how I can solve this problem?

the class files you encounter were compiled with -target 1.5, while your compiler only supports 1.4.

Did you perhaps previously use Java 1.5 to compile some packages?


-- 
Fabian Groffen
-- 
gentoo-java@gentoo.org mailing list



      parent reply	other threads:[~2006-08-05 15:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-05  9:04 [gentoo-java] Error compiling ant-tasks Jan Meier
2006-08-05 10:18 ` Miroslav Šulc
2006-08-05 15:00 ` Grobian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060805150011.GA4886@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox