ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chappell, Simon P" <Simon.Chapp...@landsend.com>
Subject RE: JAVA_HOME path problem in linux
Date Wed, 12 Jun 2002 16:23:16 GMT
Agreed. Forexample, my JAVA_HOME for my RedHat Linux 7.2, using Sun JDK 1.3.1 is:

JAVA_HOME=/usr/local/jdk1.3.1

This is because I install all my tools and applications under the /usr/local directory structure.

Simon

-----------------------------------------------------------------
Simon P. Chappell                     simon.chappell@landsend.com
Java Programming Specialist                      www.landsend.com
Lands' End, Inc.                                   (608) 935-4526


>-----Original Message-----
>From: GOMEZ Henri [mailto:hgomez@slib.fr]
>Sent: Wednesday, June 12, 2002 8:05 AM
>To: Ant Users List
>Subject: RE: JAVA_HOME path problem in linux
>
>
>The JAVA_HOME depends on the JDK your have installed.
>
>For example IBM SDK rpm install on /opt/IBMJava2-131,
>so JAVA_HOME is /opt/IBMJava2-131.
>
>Sun SDK install on /usr/java/jdk1.3.1 or /usr/java/j2sdk1.4.0_01
>
>-
>Henri Gomez                 ___[_]____
>EMAIL : hgomez@slib.fr        (. .)                     
>PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
>PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 
>
>
>
>>-----Original Message-----
>>From: Siamack Farshi [mailto:sfarshi@724.com]
>>Sent: Wednesday, June 12, 2002 2:19 PM
>>To: 'Ant Users List'
>>Subject: RE: JAVA_HOME path problem in linux
>>
>>
>>Check /usr/local directory, normally all the softwares that
>>are shared by users are put in this directory. If you do not find
>>java installation there, why do n't you download one there
>>and then set you path to that location, that will solve
>>all your problems. In my case it did.
>>
>>usr/bin only contains java executable.
>>
>>-----Original Message-----
>>From: rp601@doc.ic.ac.uk [mailto:rp601@doc.ic.ac.uk]
>>Sent: Wednesday, June 12, 2002 8:16 AM
>>To: Ant Users List
>>Subject: JAVA_HOME path problem in linux
>>
>>
>>Thanx for that, but I 've tried it and didn't work
>>
>>If I put JAVA_HOME=/usr/bin I get the error message
>>cannot execute or load usr/bin/bin
>>
>>If I put JAVA_HOME=/usr I get the error message
>>couldn't find or load essential class java/lang/Object
>>
>>
>>
>>set JAVA_HOME=/usr/bin and not /usr/bin/java
>>_____________________________________
>>Kapil Singh Pawar
>>Consultant - Integration
>>i2 Technologies India Private Ltd.
>>1 Primrose Road
>>Bangalore 560 025, INDIA
>>Email: kapil_pawar@i2.com
>>Tel: +91 80 558 1487-90 ext. 2416
>>
>>
>>
>>
>>Rigas Parathyras <rp601@doc.ic.ac.uk>
>>06/12/02 05:29 PM
>>Please respond to "Ant Users List"
>>
>> 
>>        To:     ant-user@jakarta.apache.org
>>        cc: 
>>        Subject:        please help JAVA_HOME problem in path 
>>(mandrake)
>>linux
>>
>>
>>hello there
>>I was wondering if someone could help me with ant installation. It's
>>about the JAVA_HOME path. I am
>>using linux, Mandrake and I cannot find the path where java is
>>installed. Whenever I type ant, I get the error message:
>>ERROR: JAVA_HOME is not defined correctly.
>>
>>The thing is I installed java from the cdrom of mandrake 
>originally and
>>not seperately and now I cannot find it.
>>
>>If I type whereis java I get the directories:
>>/usr/bin/java   /usr/include/java
>>The first one just has the java command and the second the 
>>libraries (If
>>I put the second as JAVA_HOME it gives me the error message that it
>>cannot find the class Object.
>>
>>I would be so greatful if you could help me in this
>>Best regards
>>Rigas
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
><mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:ant-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, 
>e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:ant-user-help@jakarta.apache.org>
>
>
>--
>To unsubscribe, 
>e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:ant-user-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message