albertwt
November 12th, 2010, 09:45 AM
Hi All,
I've successfully installed Java and Ant using apt-get, however when i tried to echo the env. variable, I doesn't give me anything ?
But, i can see some result here:
root@SSV:~# java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
root@SSV:~# ant
Buildfile: build.xml does not exist!
Build failed
is that working configuration or i shall add it into /etc/environment file like the following ?
root@SSV:~# whereis ant
ant: /usr/bin/ant /usr/share/ant /usr/share/man/man1/ant.1.gz
root@SSV:~# whereis java
java: /usr/bin/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz
root@SSV:~#
Any help would be greatly appreciated.
Thanks
I've successfully installed Java and Ant using apt-get, however when i tried to echo the env. variable, I doesn't give me anything ?
But, i can see some result here:
root@SSV:~# java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
root@SSV:~# ant
Buildfile: build.xml does not exist!
Build failed
is that working configuration or i shall add it into /etc/environment file like the following ?
root@SSV:~# whereis ant
ant: /usr/bin/ant /usr/share/ant /usr/share/man/man1/ant.1.gz
root@SSV:~# whereis java
java: /usr/bin/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz
root@SSV:~#
Any help would be greatly appreciated.
Thanks