ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Klimowicz" <art...@rogers.com>
Subject RE: Really New to Ant - problem w/ set up.
Date Mon, 26 Sep 2005 19:41:43 GMT
Thanks Ron. Finally got to working this out today and your help was right
on. Arthur 

-----Original Message-----
From: Ron Wheeler [mailto:rwheeler@artifact-software.com] 
Sent: Saturday, September 24, 2005 12:28 PM
To: Ant Users List
Subject: Re: Really New to Ant - problem w/ set up.

The actual location of the SDK is not really a problem as long as JAVA_HOME
actually points to a Java Software Development Kit.

The fact that the mesage refers to C:\Program
Files\Java\jre1.5.0_04\lib\tools.jar. makes me think that JAVA_HOME is set
to "C:\Program Files\Java\jre1.5.0_04".

Your JAVA_HOME points to a run-time only install (jre). That is likely why
you are missing bits that you need.

Redo the Java install but making sure that you get the SDK not the JRE. 
The jre will be installed as part of the SDK but you want the JAVA_HOME to
point to an SDK not just a run-time.

Not a big problem (just a big download.) Ron



Arthur Klimowicz wrote:

>Yes, but it points to C:\Sun\AppServer\jdk
>
>-----Original Message-----
>From: Ron Wheeler [mailto:rwheeler@artifact-software.com]
>Sent: Saturday, September 24, 2005 11:21 AM
>To: Ant Users List
>Subject: Re: Really New to Ant - problem w/ set up.
>
>Did you download the java SDK from ww.java.sun.com?
>JAVA_HOME needs to point to the java SDK which will likely be installed 
>under \Program Files\Java\jdk1.5.0_04.
>
>Ron
>
>Arthur Klimowicz wrote:
>
>  
>
>>I need Ant to work with a product called, "Thinkmap SDK".
>>
>>Thinkmap works ok. It also has Ant in its SDK, but it is not installed. 
>>I am using Windows XP pro.
>>
>>
>>I set ANT_HOME: C:\PROGRA~1\THINKM~1.5ST\PACKAGER\APACHE~1.1\BIN>
>>(DOS for C:\Program Files\Thinkmap SDK 2.5 Standard
>>Edition\packager\apache-ant-1.6.1\bin)
>>Without setting ANT_HOME I got error saying "ant" is not a commant...
>>
>>When I start Thinkmap server, it says "Using JAVA_HOME:
>>C:\Sun\AppServer\jdk".
>>
>>I copied my command.com (Windows XP) into C:\Program Files\Thinkmap 
>>SDK
>>2.5 Standard Edition\packager\apache-ant-1.6.1\bin
>>
>>I get an error saying it cannot find "tools.jar" in C:\Program 
>>Files\Java\jre1.5.0_04\lib\tools.jar. The only tools.jar on my 
>>computer is in C:\Sun\AppServer\jdk\lib\tools.jar. So I set JAVA_HOME 
>>to C:\Sun\AppServer\jdk, but then the Thinkmap server complains that 
>>JAVA_HOME is not set correctly.
>>
>>Can someone help this very green developer?
>>Many thanks,
>>Arthur
>>
>> 
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>

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


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


Mime
View raw message