|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Trouble with installationHello -
Let me preface this with saying I am not a Java guru by any means. I am trying to install Ant 1.7 in conjunction with a Pentaho Business Intelligence installation. I had extracted the application into a directory on my server and tried to create a build.xml but then learned that Ant needs the Java JDK installed and not just a JRE. I had 1.5.0_04 JRE installed. Downloaded 1.5.0_15 JDK and installed that on my server. Yesterday, when I tried to run Ant -diagnostics it indicated it was still pointing to my _04 version even though I had changed my JAVA_HOME and PATH to point to the new installation. I uninstalled the _04 version completely. However, when I try to run Ant -diagnostics now it is giving me the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Launch/Launcher I checked my java version. And this all seems correct: Java(tm) 2 Runtime Environment, Standard Edition (build 1.5.0_015-b04) Java JotSpot(tm) Client VM (build 1.5.0_15-b04, mixed mode, sharing) I DO NOT have a CLASSPATH set. Only ANT_HOME, JAVA_HOME, PATH. What am I doing wrong here? I followed the instructions in the manual completely. Did not do any of the optional tasks. Thanks in advance for any help! Debbie Shapiro Data Warehouse Manager Cardiac Science Corporation * cardiacscience.com 3303 Monte Villa Parkway, Bothell, WA 98021 Office: 425.402.2233 Cardiac Science Corporation [NASDAQ: CSCX] is a global leader in advanced cardiac diagnosis, resuscitation, rehabilitation, and informatics products. |
|
|
Re: Trouble with installationWhat is the java home directory?
what is PATH and JAVA_HOME? Also, you stated that the jdk was installed but later indicate that jre was being used. --glenn On Fri, Apr 25, 2008 at 1:19 PM, Debbie Shapiro <DShapiro@...> wrote: > Hello - > > Let me preface this with saying I am not a Java guru by any means. I am > trying to install Ant 1.7 in conjunction with a Pentaho Business > Intelligence installation. I had extracted the application into a > directory on my server and tried to create a build.xml but then learned > that Ant needs the Java JDK installed and not just a JRE. I had 1.5.0_04 > JRE installed. Downloaded 1.5.0_15 JDK and installed that on my server. > Yesterday, when I tried to run Ant -diagnostics it indicated it was > still pointing to my _04 version even though I had changed my JAVA_HOME > and PATH to point to the new installation. I uninstalled the _04 version > completely. However, when I try to run Ant -diagnostics now it is giving > me the following error: > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/tools/ant/Launch/Launcher > > > > I checked my java version. And this all seems correct: Java(tm) 2 > Runtime Environment, Standard Edition (build 1.5.0_015-b04) Java > JotSpot(tm) Client VM (build 1.5.0_15-b04, mixed mode, sharing) > > > > I DO NOT have a CLASSPATH set. Only ANT_HOME, JAVA_HOME, PATH. What am I > doing wrong here? I followed the instructions in the manual completely. > Did not do any of the optional tasks. > > > > Thanks in advance for any help! > > > > Debbie Shapiro > Data Warehouse Manager > Cardiac Science Corporation * cardiacscience.com > 3303 Monte Villa Parkway, Bothell, WA 98021 > Office: 425.402.2233 > > Cardiac Science Corporation [NASDAQ: CSCX] is a global leader in > advanced cardiac diagnosis, resuscitation, rehabilitation, and > informatics products. > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
RE: Trouble with installationThanks so much for the quick response!
think I have this working now. Part of the problem was having both the JDK and JRE paths in my JAVA_HOME when I only needed the JDK there. I also had to point to the JRE directory of my JDK path. I created a new environment variable called JDK_HOME that only contains my JDK path as well. I also had, for my ANT_HOME variable the higher level Ant directory rather than the apache-ant-1.7.0 directory, which apparently was causing some problems. So, apparently, Ant was a bit confused about where it was looking for stuff. Debbie Shapiro, Data Warehouse Manager Office: 425.402.2233 -----Original Message----- From: glenn opdycke-hansen [mailto:glennoph@...] Sent: Friday, April 25, 2008 7:41 PM To: Ant Users List Subject: Re: Trouble with installation What is the java home directory? what is PATH and JAVA_HOME? Also, you stated that the jdk was installed but later indicate that jre was being used. --glenn On Fri, Apr 25, 2008 at 1:19 PM, Debbie Shapiro <DShapiro@...> wrote: > Hello - > > Let me preface this with saying I am not a Java guru by any means. I am > trying to install Ant 1.7 in conjunction with a Pentaho Business > Intelligence installation. I had extracted the application into a > directory on my server and tried to create a build.xml but then learned > that Ant needs the Java JDK installed and not just a JRE. I had 1.5.0_04 > JRE installed. Downloaded 1.5.0_15 JDK and installed that on my server. > Yesterday, when I tried to run Ant -diagnostics it indicated it was > still pointing to my _04 version even though I had changed my JAVA_HOME > and PATH to point to the new installation. I uninstalled the _04 version > completely. However, when I try to run Ant -diagnostics now it is giving > me the following error: > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/tools/ant/Launch/Launcher > > > > I checked my java version. And this all seems correct: Java(tm) 2 > Runtime Environment, Standard Edition (build 1.5.0_015-b04) Java > JotSpot(tm) Client VM (build 1.5.0_15-b04, mixed mode, sharing) > > > > I DO NOT have a CLASSPATH set. Only ANT_HOME, JAVA_HOME, PATH. What > doing wrong here? I followed the instructions in the manual completely. > Did not do any of the optional tasks. > > > > Thanks in advance for any help! > > > > Debbie Shapiro > Data Warehouse Manager > Cardiac Science Corporation * cardiacscience.com > 3303 Monte Villa Parkway, Bothell, WA 98021 > Office: 425.402.2233 > > Cardiac Science Corporation [NASDAQ: CSCX] is a global leader in > advanced cardiac diagnosis, resuscitation, rehabilitation, and > informatics products. > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: Trouble with installationJAVA_HOME should have 1 directory in it, since it is home and not a
path. I would look for the Ant bin directory in the PATH and JAVA_HOME to contain the directory that the java jdk is installed to. --glenn On Mon, Apr 28, 2008 at 2:44 PM, Debbie Shapiro <DShapiro@...> wrote: > Thanks so much for the quick response! > > think I have this working now. Part of the problem was having both the > JDK and JRE paths in my JAVA_HOME when I only needed the JDK there. I > also had to point to the JRE directory of my JDK path. I created a new > environment variable called JDK_HOME that only contains my JDK path as > well. I also had, for my ANT_HOME variable the higher level Ant > directory rather than the apache-ant-1.7.0 directory, which apparently > was causing some problems. So, apparently, Ant was a bit confused about > where it was looking for stuff. > > > > > Debbie Shapiro, Data Warehouse Manager > Office: 425.402.2233 > > > -----Original Message----- > From: glenn opdycke-hansen [mailto:glennoph@...] > Sent: Friday, April 25, 2008 7:41 PM > To: Ant Users List > Subject: Re: Trouble with installation > > What is the java home directory? > what is PATH and JAVA_HOME? > > Also, you stated that the jdk was installed but later indicate that > jre was being used. > > --glenn > > On Fri, Apr 25, 2008 at 1:19 PM, Debbie Shapiro > <DShapiro@...> wrote: > > Hello - > > > > Let me preface this with saying I am not a Java guru by any means. I > am > > trying to install Ant 1.7 in conjunction with a Pentaho Business > > Intelligence installation. I had extracted the application into a > > directory on my server and tried to create a build.xml but then > learned > > that Ant needs the Java JDK installed and not just a JRE. I had > 1.5.0_04 > > JRE installed. Downloaded 1.5.0_15 JDK and installed that on my > server. > > Yesterday, when I tried to run Ant -diagnostics it indicated it was > > still pointing to my _04 version even though I had changed my > JAVA_HOME > > and PATH to point to the new installation. I uninstalled the _04 > version > > completely. However, when I try to run Ant -diagnostics now it is > giving > > me the following error: > > > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/tools/ant/Launch/Launcher > > > > > > > > I checked my java version. And this all seems correct: Java(tm) 2 > > Runtime Environment, Standard Edition (build 1.5.0_015-b04) Java > > JotSpot(tm) Client VM (build 1.5.0_15-b04, mixed mode, sharing) > > > > > > > > I DO NOT have a CLASSPATH set. Only ANT_HOME, JAVA_HOME, PATH. What > am I > > doing wrong here? I followed the instructions in the manual > completely. > > Did not do any of the optional tasks. > > > > > > > > Thanks in advance for any help! > > > > > > > > Debbie Shapiro > > Data Warehouse Manager > > Cardiac Science Corporation * cardiacscience.com > > 3303 Monte Villa Parkway, Bothell, WA 98021 > > Office: 425.402.2233 > > > > Cardiac Science Corporation [NASDAQ: CSCX] is a global leader in > > advanced cardiac diagnosis, resuscitation, rehabilitation, and > > informatics products. > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
|
|
|
Re: FW: Trouble with installationI 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@... For additional commands, e-mail: user-help@... |
|
|
RE: FW: Trouble with installationThat 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@...] 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@... For additional commands, e-mail: user-help@... -------------------------------------------------------- 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@... For additional commands, e-mail: user-help@... |
|
|
RE: FW: Trouble with installationWell, 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@...] 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@...] 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@... For additional commands, e-mail: user-help@... -------------------------------------------------------- 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@... For additional commands, e-mail: user-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: FW: Trouble with installationLooking 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@...> wrote: > 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@...] > 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@...] > 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@... > For additional commands, e-mail: user-help@... > -------------------------------------------------------- > > 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@... > For additional commands, e-mail: user-help@... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@... > For additional commands, e-mail: user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
RE: FW: Trouble with installationHey 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@...] 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@...> wrote: > 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 > 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;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 : > > \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-an |