[07:46] <kaushal> hi
[07:46] <kaushal> when i do javac i get /usr/bin/javac
[07:46] <kaushal> i dont want this instead i want /usr/lib/jvm/java-1.5.0-sun/bin
[07:47] <kaushal> i did sudo update-java-alternatives -s java-1.5.0-sun
[07:47] <kaushal> and sudo ln -s /usr/lib/jvm/java-1.5.0-sun/bin/javac /etc/alternatives/javac
[07:47] <kaushal> it doesnot work
[07:47] <kaushal> it still says /usr/bin/javac
[07:52] <ttx> /usr/bin/javac is a link to  /etc/alternatives/javac
[07:52] <ttx> s/is/should be/
[08:03] <kaushal> ttx: yeah
[08:03] <kaushal> but i need javac to be part of /usr/lib/jvm/java-1.5.0-sun/bin
[08:04] <ttx> but since /etc/alternatives/javac is a link to /usr/lib/jvm/java-1.5.0-sun/bin/javac, that should be ok, no ?
[08:05] <ttx> javac -> /usr/bin/javac -> /etc/alternatives/javac -> /usr/lib/jvm/java-1.5.0-sun/bin/javac
[08:05] <kaushal> lrwxrwxrwx 1 root root 37 2009-09-15 23:40 /etc/alternatives/javac -> /usr/lib/jvm/java-1.5.0-sun/bin/javac
[08:07] <kaushal> ttx: any idea ?
[08:08] <ttx> kaushal: well, that seems alright to me
[08:08] <ttx> javac -> /usr/bin/javac -> /etc/alternatives/javac -> /usr/lib/jvm/java-1.5.0-sun/bin/java
[08:09] <kaushal> when i type javac i get not found
[08:10] <ttx> I thought you got: <kaushal> when i do javac i get /usr/bin/javac
[08:20] <kaushal> ttx: Thanks
[08:20] <kaushal> yes it works fine now
[08:20] <ttx> ok :)
[08:21] <kaushal> ttx: i have another question
[08:22] <kaushal> java.io.FileNotFoundException: /var/lib/tomcat-5.5/webapps/GatewayAPI/WEB-INF/classes/EnterpriseSmsGupShupHelp.doc  (No such file or directory)
[08:22] <kaushal> I too have this file already
[08:22] <kaushal> why am i getting this exception in tomcat
[08:23] <ttx> /var/lib/tomcat-5.5 ? not /var/lib/tomcat5.5 ?
[08:24] <kaushal> -rw-rw----+ 1 tomcat tomcat 1639936 Sep  8 10:06 /var/lib/tomcat-5.5/webapps/GatewayAPI/WEB-INF/classes/EnterpriseSmsGupShupHelp.doc
[08:25] <ttx> hm. Our tomcat5.5 runs under the tomcat55 user
[08:26] <ttx> your install look strange.
[08:27] <kaushal> [I--] [  ] www-servers/tomcat-5.5.26 (5.5)
[08:27] <kaushal> ttx: I am using it on gentoo OS
[08:27] <ttx> Ah.
[08:27] <ttx> no clue, then :)
[08:28] <kaushal> ok
[08:28] <ttx> try adding o+r to that file and see if it changes something
[08:28] <ttx> chmod o+r /var/lib/tomcat-5.5/webapps/GatewayAPI/WEB-INF/classes/EnterpriseSmsGupShupHelp.do
[08:28] <kaushal> ok