Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34028 - After updating to sun-jdk 1.4.2_02 ant no longer works
Summary: After updating to sun-jdk 1.4.2_02 ant no longer works
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Adrian Almenar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 08:57 UTC by Lars
Modified: 2003-12-07 10:13 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 Lars 2003-11-21 08:57:08 UTC
After updating to JDK 1.4.2_02 from Sun Ant 1.5.3 (installed via emerge) no longer works.
The error message says that JAVA_HOME isn't set properly and jc_config cannot find java.

Reproducible: Always
Steps to Reproduce:
1. Emerge latest sun-jdk
2. Emerge ant 1.5.3
3. Run ant in shell
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2003-11-21 12:33:44 UTC
You have to set the changed path with 'java-config'. An einfo line in pkg_postinst () would be fine, btw.
Comment 2 Lars 2003-11-24 05:52:37 UTC
I changed the path with java-config though I think the problem might be that I executed java-config as root. Because when I deleted the file ~/.gentoo/java-env everything worked as expected.
Comment 3 Adrian Almenar 2003-12-07 10:13:55 UTC
I consider this an invalid bug, so closing it.