Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88489 - Can't compile eclipse-sdk-3.1_pre6
Summary: Can't compile eclipse-sdk-3.1_pre6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 10:09 UTC by Ondrej Novy
Modified: 2005-04-09 11:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Novy 2005-04-09 10:09:45 UTC
hi, if i try to compile eclipse-sdl-3.1_pre6 (M6) version with Java 1.5 i say i need 1.4.2 java. so i by java-config change java to 1.4.2 a try again.

...
 * Cleaning out prebuilt code
 * Cleaning all pre-built code

BUILD FAILED
java.lang.UnsupportedClassVersionError: com/jcraft/jsch/UserInfo (Unsupported ma

Total time: 0 seconds

BUILD FAILED
java.lang.UnsupportedClassVersionError: com/jcraft/jsch/UserInfo (Unsupported ma

Total time: 0 seconds
 * Patching frontend
 * Set build version in Help->About
...
 * Bootstrapping ecj compiler
/var/tmp/portage/eclipse-sdk-3.1_pre6/work/eclipse-sdk-3.1_pre6 /var/tmp/portage/eclipse-sdk-3.1_pre6/work/eclipse-sdk-3.1_pre6
     [echo] TARGET: compiler

BUILD FAILED
java.lang.UnsupportedClassVersionError: com/jcraft/jsch/UserInfo (Unsupported major.minor version 49.0)

Total time: 1 second

!!! ERROR: dev-util/eclipse-sdk-3.1_pre6 failed.
!!! Function build-compiler, Line 420, Exitcode 1
!!! Failed to bootstrap jdtcore compiler
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-04-09 11:40:05 UTC
You have compiled some Ant dependencies with Java 1.5. Please recompile Ant and all its dependencies with a 1.4.x JDK, then try installing Eclipse again.

This is exactly why 1.5 has not been unmasked yet, see bug 65937.

This is a problem with how we handle Java 1.5, not Eclipse.