View previous topic :: View next topic |
Author |
Message |
Cubics n00b
Joined: 03 Aug 2003 Posts: 13
|
Posted: Tue Aug 19, 2003 8:54 pm Post subject: JAVA_HOME |
|
|
'lo
i tried to emerge php and this is what it gave me:
root@Image image # emerge php
Calculating dependencies ...done!
>>> emerge (1 of 12) dev-java/ant-1.5.3-r5 to /
>>> md5 src_uri apache-ant-1.5.3-1-src.tar.bz2
>>> Unpacking source...
>>> Unpacking apache-ant-1.5.3-1-src.tar.bz2 to /var/tmp/portage/ant-1.5.3-r5/work
* Applying build.sh-exit-fix.patch.gz... [ ok ]
* Applying 1_6_backport-jdk142.patch.gz... [ ok ]
>>> Source unpacked.
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
Bootstrap FAILED
!!! ERROR: dev-java/ant-1.5.3-r5 failed.
!!! Function src_compile, Line 72, Exitcode 1
!!! (no error message)
i've browsed the forums abit and didnt find anything relating to this, sorry if this is double posted...
i've checked my env and this is what is says:
JAVA_HOME=/opt/blackdown-jre-1.4.1
if that has any relavance to anything
[/code] |
|
Back to top |
|
|
feardapenguin Guru
Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
|
Back to top |
|
|
Cubics n00b
Joined: 03 Aug 2003 Posts: 13
|
Posted: Wed Aug 20, 2003 5:11 am Post subject: |
|
|
'lo
mmm..seemed my jdk libary wasnt defined...
if any oneelse runs into the same problem.. just use following command to define it.: java-config --set-system-vm=blackdown-jdk-1.4.1 |
|
Back to top |
|
|
|