First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 43398
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Torkar <richard.torkar@htu.se>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 43398 depends on: Show dependency tree
Bug 43398 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-01 10:49 0000
Ant should either give a sane error msg or make sure to set the JDK_HOME
variable itself by scanning java-config.
|Warning: JAVA_HOME environment variable not set.
|  If build fails because sun.* classes could not be found
|  you will need to set the JAVA_HOME environment variable
|  to the installation directory of java.
|Error: JAVA_HOME is not defined correctly.
|  We cannot execute java

Reproducible: Always
Steps to Reproduce:
1. Install blackdown jdk _and_ jre
2. Use java-config and set the default JAVA_HOME to the jre
3. emerge dev-java/ant

Actual Results:  
It bails out with the above error msg

Expected Results:  
Compile cleanly and set the JAVA_HOME itself _or_ make sure to give a sane
error
msg.

------- Comment #1 From Chris Aniszczyk (RETIRED) 2004-03-01 11:15:02 0000 -------
env-update && source /etc/profile 
should fix your issue.

I'll look into giving the sane error message.

------- Comment #2 From Richard Torkar 2004-03-01 12:11:11 0000 -------
There is a thread about it here:
http://forums.gentoo.org/viewtopic.php?t=143574&view=next

------- Comment #3 From Chris Aniszczyk (RETIRED) 2004-03-11 12:46:31 0000 -------
Fixed in 1.6.1. It just got unmasked so please emerge ant 1.6.1 :)

First Last Prev Next    No search results available      Search page      Enter new bug