Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Henrique Ferreiro <henrique.ferreiro@...>
Subject: problems compiling junit
Date: Wed, 12 Apr 2006 14:09:18 +0200
I am using the migration overlay. After installing sun-jdk-1.4 and
sun-jdk-1.5 and setting 1.4 as system vm I have the following problem:

localhost ~ # emerge -1 junit
Calculating dependencies ... done!
>>> Emerging (1 of 1) dev-java/junit-3.8.1-r1 to /
>>> checksums files   ;-) junit-3.8.1-r1.ebuild
>>> checksums files   ;-) files/digest-junit-3.8.1-r1
>>> checksums src_uri ;-) junit3.8.1.zip
 * Enabling generation-2 compatibility ...
 * Using sun-jdk-1.4
[ ok ]>>> Unpacking source...
>>> Unpacking junit3.8.1.zip to /var/tmp/portage/junit-3.8.1-r1/work
Archive:  src.jar
   creating: META-INF/
  inflating: META-INF/MANIFEST.MF
   creating: junit/awtui/
   creating: junit/extensions/
   creating: junit/framework/
   creating: junit/runner/
   creating: junit/swingui/
   creating: junit/swingui/icons/
   creating: junit/textui/
   creating: junit3.8.1/
  inflating: build.xml
  inflating: junit/awtui/AboutDialog.java
  inflating: junit/awtui/Logo.java
  inflating: junit/awtui/ProgressBar.java
  inflating: junit/awtui/TestRunner.java
  inflating: junit/extensions/ActiveTestSuite.java
  inflating: junit/extensions/ExceptionTestCase.java
  inflating: junit/extensions/RepeatedTest.java
  inflating: junit/extensions/TestDecorator.java
  inflating: junit/extensions/TestSetup.java
  inflating: junit/framework/Assert.java
  inflating: junit/framework/AssertionFailedError.java
  inflating: junit/framework/ComparisonFailure.java
  inflating: junit/framework/Protectable.java
  inflating: junit/framework/Test.java
  inflating: junit/framework/TestCase.java
  inflating: junit/framework/TestFailure.java
  inflating: junit/framework/TestListener.java
  inflating: junit/framework/TestResult.java
  inflating: junit/framework/TestSuite.java
  inflating: junit/runner/BaseTestRunner.java
  inflating: junit/runner/ClassPathTestCollector.java
  inflating: junit/runner/excluded.properties
  inflating: junit/runner/FailureDetailView.java
  inflating: junit/runner/LoadingTestCollector.java
  inflating: junit/runner/logo.gif
  inflating: junit/runner/ReloadingTestSuiteLoader.java
  inflating: junit/runner/SimpleTestCollector.java
  inflating: junit/runner/smalllogo.gif
  inflating: junit/runner/Sorter.java
  inflating: junit/runner/StandardTestSuiteLoader.java
  inflating: junit/runner/TestCaseClassLoader.java
  inflating: junit/runner/TestCollector.java
  inflating: junit/runner/TestRunListener.java
  inflating: junit/runner/TestSuiteLoader.java
  inflating: junit/runner/Version.java
  inflating: junit/swingui/AboutDialog.java
  inflating: junit/swingui/CounterPanel.java
  inflating: junit/swingui/DefaultFailureDetailView.java
  inflating: junit/swingui/FailureRunView.java
  inflating: junit/swingui/icons/error.gif
  inflating: junit/swingui/icons/failure.gif
  inflating: junit/swingui/icons/hierarchy.gif
  inflating: junit/swingui/icons/ok.gif
  inflating: junit/swingui/ProgressBar.java
  inflating: junit/swingui/StatusLine.java
  inflating: junit/swingui/TestHierarchyRunView.java
  inflating: junit/swingui/TestRunContext.java
  inflating: junit/swingui/TestRunner.java
  inflating: junit/swingui/TestRunView.java
  inflating: junit/swingui/TestSelector.java
  inflating: junit/swingui/TestSuitePanel.java
  inflating: junit/swingui/TestTreeModel.java
  inflating: junit/textui/ResultPrinter.java
  inflating: junit/textui/TestRunner.java
  inflating: stylesheet.css
>>> Source unpacked.
>>> Compiling source
in /var/tmp/portage/junit-3.8.1-r1/work/junit3.8.1 ...
/usr/bin/ant: line 161: arch: command not found
Buildfile: build.xml

init:

versiontag:
     [copy] Copying 1 file
to /var/tmp/portage/junit-3.8.1-r1/work/junit3.8.1/junit/runner
     [move] Moving 1 file
to /var/tmp/portage/junit-3.8.1-r1/work/junit3.8.1/junit/runner

build:

BUILD FAILED
java.lang.UnsupportedClassVersionError: junit/framework/Test
(Unsupported major.minor version 49.0)


-- 
gentoo-java@g.o mailing list


Replies:
Re: problems compiling junit
-- Wiktor Wandachowicz
Re: problems compiling junit
-- Wiktor Wandachowicz
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
java-config-1
Next by thread:
Re: problems compiling junit
Previous by date:
java-config-1
Next by date:
Re: problems compiling junit


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.