Re: : URGENT: problem installing Ant - Mailing list pgsql-jdbc

From Scot P. Floess
Subject Re: : URGENT: problem installing Ant
Date
Msg-id 3E8208A3.3000903@mindspring.com
Whole thread Raw
In response to : URGENT: problem installing Ant  ("Cristina Surroca" <cris@dmcid.net>)
List pgsql-jdbc
Christina:

Make sure your ant jar files are "readable" by whatever user you are when you build.

For instance can you do this (as the user):

unzip -l ${ANT_HOME}/lib/ant.jar

Scot

Cristina Surroca wrote:
Hi!
I'm doing a project with Postgresql and I need to use JDBC.
I've got a problem installing ant (I use SUSE). When I try to execute ant is
trhown this exeption:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main

my PATH:
 
echo $PATH:   
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/X11R6/bin:/bin
:/usr/games/bin:/usr/games:/opt/gnome/bin:/usr/local/soft/jdk1.3.1_07/:/usr/
local/src/apache-ant-1.5.2

and I've done also: 
JAVA_HOME=/usr/local/soft/jdk1.3.1_07
export JAVA_HOME   
 
ANT_HOME=/usr/local/src/apache-ant-1.5.2
export ANT_HOME   
Does anyone know what I'm doing wrong?

Thanks

Cris..


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
 

-- 
Scot P. Floess - 27 Lake Royale - Louisburg, NC  27549 - 252-478-8087

Open Source Home Page
--------------------------------------
http://javapim.sourceforge.net
http://jplate.sourceforge.net
http://jwaretechniques.sourceforge.net

Open Source Project Host
-----------------------------------------------
http://sourceforge.net/projects/javapim
http://sourceforge.net/projects/jplate
http://sourceforge.net/projects/jwaretechniques

pgsql-jdbc by date:

Previous
From: "Cristina Surroca"
Date:
Subject: : URGENT: problem installing Ant
Next
From: Barry Lind
Date:
Subject: Re: Help Needed with Connection Pooling for Java Swing Based