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