I am trying to install dspace-1.5.1 ( an institutional repository) in my
debian machine. Here, in one step, i need to use ant installer. So, i used *ant
fresh_install* there. But, it failed. It shows me the error:

*Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.4.2-gcj-4 .1-1.4.2.0/lib/tools.jar*

But, i am pretty much sure that, i have installed jdk1.5.06 in my *
/usr/local/java/jdk1.5.0_06/*

Here are the lines from my /etc/profile:

export PATH

umask 022

JAVA_HOME="/usr/local/java/jdk1.5.0_06"
PATH="$PATH:/usr/local/java/jdk1.5.0_06/bin"
export JAVA_HOME
export PATH

PATH="$PATH:/opt/apache-maven-2.0.9/bin"

export ANT_HOME=/usr/share/ant
PATH="$PATH:/usr/share/ant/bin"
export PATH=${PATH}:${ANT_HOME}/bin:${JAVA_HOME}/jre/bin:$PGDATA
export ANT_HOME
export PATH

JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8"
export JAVA_OPTS


Can anyone please help me? I need it really badly.

-- 
Best,
Z
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to