Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

RE: FW: Trouble with installation

Sean Tiley

2008-04-30

Replies:
Obvious but
you have the ANT_HOME\bin directory in your path environment variable?

Sean

-----Original Message-----
From: Debbie Shapiro [mailto:DShapiro@(protected)]
Sent: Wednesday, April 30, 2008 3:34 PM
To: Ant Users List
Subject: RE: FW: Trouble with installation

Hey it looks like I'm at least one step closer! Thank you!!!

It's not complaining about the tools.jar missing anymore!

But I still can't run it outside the ant/apache.../bin directory. Not
sure why.

Debbie Shapiro, Data Warehouse Manager
Office: 425.402.2233

-----Original Message-----
From: Peter Reilly [mailto:peter.kitt.reilly@(protected)]
Sent: Wednesday, April 30, 2008 12:25 PM
To: Ant Users List
Subject: Re: FW: Trouble with installation

Looking at the JAVA_HOME setting:
JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15;

You have a trailing '";", this may not be good.

Peter

On Wed, Apr 30, 2008 at 7:53 PM, Debbie Shapiro
<DShapiro@(protected):
> Well, I tried reinstalling Ant into c:\Ant, but I'm still getting the
> same results.
>
> It somehow thinks it should be looking for my Java path in c:\Program
>
> Files\Java\jre1.5.0_15\lib\
> (instead of the JDK)
> And it is looking for tools.jar in the JRE where it doesn't exist.
>
> I still can't run Ant outside of the Ant directory.
>
>
> Unable to locate tools.jar. Expected to find it in C:\Program
> Files\Java\jre1.5.0_15\lib\tools.jar
> ------- Ant diagnostics report -------
> Apache Ant version 1.7.0 compiled on December 13 2006
>
> -------------------------------------------
>  Implementation Version
> -------------------------------------------
> core tasks   : 1.7.0
> optional tasks : not available
>
> -------------------------------------------
>  ANT PROPERTIES
> -------------------------------------------
> ant.version: Apache Ant version 1.7.0 compiled on December 13 2006
> ant.java.version: 1.5
> ant.core.lib: C:\Ant\apache-ant-1.7.0\lib\ant.jar
> ant.home: C:\Ant\apache-ant-1.7.0
>
>
> -------------------------------------------
>  ANT_HOME/lib jar listing
> -------------------------------------------
> ant.home: C:\Ant\apache-ant-1.7.0
>
>
> ant-antlr.jar (5769 bytes)
> ant-apache-bcel.jar (8627 bytes)
> ant-apache-bsf.jar (3980 bytes)
> ant-apache-log4j.jar (3074 bytes)
> ant-apache-oro.jar (39591 bytes)
> ant-apache-regexp.jar (3737 bytes)
> ant-apache-resolver.jar (4080 bytes)
> ant-commons-logging.jar (3943 bytes)
> ant-commons-net.jar (47163 bytes)
> ant-jai.jar (21368 bytes)
> ant-javamail.jar (7011 bytes)
> ant-jdepend.jar (8152 bytes)
> ant-jmf.jar (6609 bytes)
> ant-jsch.jar (30122 bytes)
> ant-junit.jar (92792 bytes)
> ant-launcher.jar (11734 bytes)
> ant-netrexx.jar (9895 bytes)
> ant-nodeps.jar (430311 bytes)
> ant-starteam.jar (35404 bytes)
> ant-stylebook.jar (2334 bytes)
> ant-swing.jar (6713 bytes)
> ant-testutil.jar (14919 bytes)
> ant-trax.jar (6897 bytes)
> ant-weblogic.jar (14254 bytes)
> ant.jar (1289806 bytes)
> xercesImpl.jar (1212965 bytes)
> xml-apis.jar (195119 bytes)
>
> -------------------------------------------
>  USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: C:\Documents and Settings\Administrator.ENGDOM
> No such directory.
>
> -------------------------------------------
>  Tasks availability
> -------------------------------------------
> image : Missing dependency javax.media.jai.PlanarImage
> sshexec : Missing dependency com.jcraft.jsch.UserInfo
> scp : Missing dependency com.jcraft.jsch.UserInfo
> jdepend : Missing dependency jdepend.xmlui.JDepend
> A task being missing/unavailable should only matter if you are trying
to
> use it
>
> -------------------------------------------
>  org.apache.env.Which diagnostics
> -------------------------------------------
> Not available.
> Download it at http://xml.apache.org/commons/
>
> -------------------------------------------
>  XML Parser information
> -------------------------------------------
> XML Parser : org.apache.xerces.jaxp.SAXParserImpl
> XML Parser Location: C:\Ant\apache-ant-1.7.0\lib\xercesImpl.jar
>
> Namespace-aware parser :
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
> Namespace-aware parser Location:
> C:\Ant\apache-ant-1.7.0\lib\xercesImpl.jar
>
>
> -------------------------------------------
>  System properties
> -------------------------------------------
> java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
> sun.boot.library.path : C:\Program Files\Java\jre1.5.0_15\bin
> java.vm.version : 1.5.0_15-b04
> ant.library.dir : C:\Ant\apache-ant-1.7.0\lib
>
> java.vm.vendor : Sun Microsystems Inc.
> java.vendor.url : http://java.sun.com/
> path.separator : ;
> java.vm.name : Java HotSpot(TM) Client VM
> file.encoding.pkg : sun.io
> user.country : US
> sun.java.launcher : SUN_STANDARD
> sun.os.patch.level : Service Pack 2
> java.vm.specification.name : Java Virtual Machine Specification
> user.dir : C:\Ant\apache-ant-1.7.0\bin
>
> java.runtime.version : 1.5.0_15-b04
> java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
> java.endorsed.dirs : C:\Program Files\Java\jre1.5.0_15\lib\endorsed
> os.arch : x86
> java.io.tmpdir : C:\DOCUME~1\ADMINI~1.ENG\LOCALS~1\Temp\
> line.separator :
>
> java.vm.specification.vendor : Sun Microsystems Inc.
> user.variant :
> os.name : Windows 2003
> ant.home : C:\Ant\apache-ant-1.7.0
>
> sun.jnu.encoding : Cp1252
> java.library.path :
>
C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32
> ;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin;
> C:\Ant\apache-ant-1.7.0\bin
>
> java.specification.name : Java Platform API Specification
> java.class.version : 49.0
> sun.management.compiler : HotSpot Client Compiler
> os.version : 5.2
> user.home : C:\Documents and Settings\Administrator.ENGDOM
> user.timezone : America/Chicago
> java.awt.printerjob : sun.awt.windows.WPrinterJob
> file.encoding : Cp1252
> java.specification.version : 1.5
> user.name : Administrator
> java.class.path :
>
C:\Ant\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Ant\apache-ant-1.7.0\lib
>
\ant-antlr.jar;C:\Ant\apache-ant-1.7.0\lib\ant-apache-bcel.jar;C:\Ant\ap
>
ache-ant-1.7.0\lib\ant-apache-bsf.jar;C:\Ant\apache-ant-1.7.0\lib\ant-ap
>
ache-log4j.jar;C:\Ant\apache-ant-1.7.0\lib\ant-apache-oro.jar;C:\Ant\apa
>
che-ant-1.7.0\lib\ant-apache-regexp.jar;C:\Ant\apache-ant-1.7.0\lib\ant-
>
apache-resolver.jar;C:\Ant\apache-ant-1.7.0\lib\ant-commons-logging.jar;
>
C:\Ant\apache-ant-1.7.0\lib\ant-commons-net.jar;C:\Ant\apache-ant-1.7.0\
>
lib\ant-jai.jar;C:\Ant\apache-ant-1.7.0\lib\ant-javamail.jar;C:\Ant\apac
>
he-ant-1.7.0\lib\ant-jdepend.jar;C:\Ant\apache-ant-1.7.0\lib\ant-jmf.jar
>
;C:\Ant\apache-ant-1.7.0\lib\ant-jsch.jar;C:\Ant\apache-ant-1.7.0\lib\an
>
t-junit.jar;C:\Ant\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Ant\apache-a
>
nt-1.7.0\lib\ant-netrexx.jar;C:\Ant\apache-ant-1.7.0\lib\ant-nodeps.jar;
>
C:\Ant\apache-ant-1.7.0\lib\ant-starteam.jar;C:\Ant\apache-ant-1.7.0\lib
>
\ant-stylebook.jar;C:\Ant\apache-ant-1.7.0\lib\ant-swing.jar;C:\Ant\apac
>
he-ant-1.7.0\lib\ant-testutil.jar;C:\Ant\apache-ant-1.7.0\lib\ant-trax.j
>
ar;C:\Ant\apache-ant-1.7.0\lib\ant-weblogic.jar;C:\Ant\apache-ant-1.7.0\
>
lib\ant.jar;C:\Ant\apache-ant-1.7.0\lib\xercesImpl.jar;C:\Ant\apache-ant
>
>
> -1.7.0\lib\xml-apis.jar
> java.vm.specification.version : 1.0
> sun.arch.data.model : 32
> java.home : C:\Program Files\Java\jre1.5.0_15
> java.specification.vendor : Sun Microsystems Inc.
> user.language : en
> awt.toolkit : sun.awt.windows.WToolkit
> java.vm.info : mixed mode, sharing
> java.version : 1.5.0_15
> java.ext.dirs : C:\Program Files\Java\jre1.5.0_15\lib\ext
> sun.boot.class.path : C:\Program
> Files\Java\jre1.5.0_15\lib\rt.jar;C:\Program
> Files\Java\jre1.5.0_15\lib\i18n.jar;C:\Program
> Files\Java\jre1.5.0_15\lib\sunrsasign.jar;C:\Program
> Files\Java\jre1.5.0_15\lib\jsse.jar;C:\Program
> Files\Java\jre1.5.0_15\lib\jce.jar;C:\Program
> Files\Java\jre1.5.0_15\lib\charsets.jar;C:\Program
> Files\Java\jre1.5.0_15\classes
> java.vendor : Sun Microsystems Inc.
> file.separator : \
> java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
> sun.cpu.endian : little
> sun.io.unicode.encoding : UnicodeLittle
> sun.desktop : windows
> sun.cpu.isalist :
>
> -------------------------------------------
>  Temp dir
> -------------------------------------------
> Temp dir is C:\DOCUME~1\ADMINI~1.ENG\LOCALS~1\Temp\
> Temp dir is writeable
> Temp dir alignment with system clock is 16 ms
>
>
> -------------------------------------------
>  Locale information
> -------------------------------------------
> Timezone Central Standard Time offset=-18000000
>
> -------------------------------------------
>  Proxy information
> -------------------------------------------
> Java1.5+ proxy settings:
> Direct connection
>
>
>
>
> Debbie Shapiro, Data Warehouse Manager
> Office: 425.402.2233
>
> -----Original Message-----
>
> From: Taj, Abdul [mailto:abdul_taj@(protected)]
> Sent: Wednesday, April 30, 2008 11:43 AM
> To: Ant Users List
>
>
> Subject: RE: FW: Trouble with installation
>
> That would only matter if he had given "Program File"
>
> But since the path is specified like - Progra~1, it is not a
concern..
>
> -t
>
> -----Original Message-----
> From: glenn opdycke-hansen [mailto:glennoph@(protected)]
> Sent: Wednesday, April 30, 2008 2:29 PM
> To: Ant Users List
> Subject: Re: FW: Trouble with installation
>
> I noticed this
> > ANT_HOME=C:\Progra~1\Ant\apache-ant-1.7.0
> > JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15;
>
> It appears that Ant and Java are installed in the "Program Files"
> folder.
> I would first install and to C\:ant or something similar. Please do
> not use a folder name with an embedded space.
> Then change the PATH to the new ant install and try again.
>
> --glenn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
> --------------------------------------------------------
>
> The information contained in this message is intended only for the
> recipient, and may be a confidential attorney-client communication or
> may otherwise be privileged and confidential and protected from
> disclosure. If the reader of this message is not the intended
recipient,
> or an employee or agent responsible for delivering this message to
the
> intended recipient, please be aware that any dissemination or copying
of
> this communication is strictly prohibited. If you have received this
> communication in error, please immediately notify us by replying to
the
> message and deleting it from your computer. The McGraw-Hill
Companies,
> Inc. reserves the right, subject to applicable local law, to monitor
and
> review the content of any electronic message or information sent to
or
> from McGraw-Hill employee e-mail addresses without informing the
sender
> or recipient of the message.
> --------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.