From: | "Scot P(dot) Floess" <floess(at)mindspring(dot)com> |
---|---|
To: | Cristina Surroca <cris(at)dmcid(dot)net> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: : URGENT: problem installing Ant |
Date: | 2003-03-26 20:08:03 |
Message-ID: | 3E8208A3.3000903@mindspring.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-03-26 20:58:59 | Re: Help Needed with Connection Pooling for Java Swing Based |
Previous Message | Cristina Surroca | 2003-03-26 19:54:13 | : URGENT: problem installing Ant |