Bug 791339 - FTBFS with OpenJDK7
Summary: FTBFS with OpenJDK7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: plexus-containers
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fernando Nasser
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 19:39 UTC by Omair Majid
Modified: 2012-02-17 18:37 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-17 18:37:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix build with openjdk7 (1.54 KB, text/x-csrc)
2012-02-16 19:39 UTC, Omair Majid
no flags Details

Description Omair Majid 2012-02-16 19:39:34 UTC
Created attachment 562575 [details]
fix build with openjdk7

plexus-containers fails to build from source with OpenJDK7. This is caused because ${java.home}/../lib/tools.jar is not being added to the build classpath - the vendor (in OpenJDK7) is "Oracle Corporation", not "Sun Microsystems, Inc". To keep this package compatible with both OpenJDK6 and OpenJDK7, tools.jar should always be added to the classpath.

Please see https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status for more information.

Comment 1 Deepak Bhole 2012-02-17 18:37:28 UTC
Pushed. Thanks Omair!


Note You need to log in before you can comment on or make changes to this bug.