Cant Found jvm file in /etc
Hello All,
I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ and http://eclipse.dzone.com/articles/ho...-33-ubuntu-710. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, i cant found the jvm file in /etc. While giving the below command i got only one result but in that link they have given 4 to 5 results.How to find the jvm file in /etc. $ sudo update-java-alternatives -l java-6-sun 63 /usr/lib/jvm/java-6-sun $ java -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' Pls anyone point me to the right directions. Many Thanks. |
Hi -
There isn't any "jvm file in /etc". If you installed the JDK and JRE from Ubuntu package manager or "apt-get", then you should be able to run Java without doing anything further. Please try these commands: Code:
java -version Quote:
Code:
find / -name java -print 2>/dev/null |
Quote:
'sudo apt-get install sun-java6-jdk' : Will provide "version 1.6.0.24" and you have the buggy version 1.6.0.21. Please read this ... http://java.dzone.com/articles/sun-j...=toya256ForRSS .. |
Thanx, knudfl -
I assumed the discrepency was just a typo on the OP's part - but maybe there's something more to it. thoufiq - 1. I noticed in this other post that you might still be having problems. If you've resolved the problem, please post back how you fixed it, and mark the thread "solved". That way, you can help others learn from your question. 2. Otherwise, if you haven't resolved the problem, please cut/paste the output of these commands: Code:
java -version 4. If you don't find Java, please either run another "apt-get", or follow the article Knudfl cited. 5. Whichever you choose, please cut/paste the exact commands and the exact text of any error messages. Thank you in advance .. PSM |
All times are GMT -5. The time now is 02:32 AM. |