Thanks.I set the path like this:
[root@asterisk1 ~]# export PATH=/usr/java/jdk1.6.0_10/bin:$PATH
its working.But if i try to compile a program which is in the path /usr/java/jdk1.6.0_10/bin,its not compiling.it displays the message
javac: file not found: HelloAGIScript.java
Usage: javac <options> <source files>
use -help for a list of possible options
.
my path is correct? or i have to put $ infront of export?
[ January 09, 2008: Message edited by: preethi Ayyappan ]