From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FTdsK-0001UW-TS for garchives@archives.gentoo.org; Wed, 12 Apr 2006 11:51:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3CBpMeY009053; Wed, 12 Apr 2006 11:51:22 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3CBpM9L016061 for ; Wed, 12 Apr 2006 11:51:22 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FTdsX-0003kz-VT for gentoo-java@lists.gentoo.org; Wed, 12 Apr 2006 11:51:22 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FTdsS-00069g-71 for gentoo-java@gentoo.org; Wed, 12 Apr 2006 13:51:16 +0200 Received: from research.ics.p.lodz.pl ([212.51.220.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Apr 2006 13:51:16 +0200 Received: from siryes by research.ics.p.lodz.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Apr 2006 13:51:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-java@lists.gentoo.org From: Wiktor Wandachowicz Subject: [gentoo-java] Re: problems compiling junit Date: Wed, 12 Apr 2006 11:51:05 +0000 (UTC) Message-ID: References: <1144843758.6927.10.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 212.51.220.189 (Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.8.0.1) Gecko/20060412 Firefox/1.5.0.1) Sender: news X-Archives-Salt: 676d7812-9b92-49f4-8c29-f5c6cc66eb21 X-Archives-Hash: 81e15b13a0afc93a7cf04cfc9d572d6b Henrique Ferreiro writes: > > BUILD FAILED > java.lang.UnsupportedClassVersionError: junit/framework/Test > (Unsupported major.minor version 49.0) > OTOH after some thought, this error simply means that while currently you have 1.4 system JVM, some libraries were compiled with 1.5 JVM. This is unfortunate, because Java 1.4 cannot use 1.5 classes (their internal file format is different). Maybe you should look into java-1.5-fixer, previously posted by Joshua on the same list? (http://article.gmane.org/gmane.linux.gentoo.java/839) It's also possible to rebuild the offending packages by hand, but you will have to find them manually (it may take some time, though...) The first step is to determine the packages that depends on Java and then remerge them. I've done it once, so I know it's at least possible :) # emerge -avu gentoolkit ### If you don't have equery, that is # equery depends virtual/jdk | tee ~/java-packages.txt | less HTH, Wiktor -- gentoo-java@gentoo.org mailing list