Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52525 - jai (Java Advanced Imaging API) fails on null JDK
Summary: jai (Java Advanced Imaging API) fails on null JDK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-30 23:25 UTC by chouser (RETIRED)
Modified: 2004-06-03 11:33 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 chouser (RETIRED) gentoo-dev 2004-05-30 23:25:57 UTC
dev-java/jai-1.1.2-r2.ebuild has a typo in it's logic.  If "java-config --jdk-home" returns an empty string (no JDK configured), jai will then be installed in "/jre", which is not at all correct.  I believe what was intended can be done by replacing the two times that the ebuild uses "-z java_home" with "-z $java_home"

Reproducible: Always
Steps to Reproduce:
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-06-03 11:33:10 UTC
Suggested patches applied. Didn't bump, but available as dev-java/jai-1.1.2-r2