hi,
I have Fedora 12 and Windows 7 in a dual boot configuration in my lenovo laptop.
The config of my laptop is core2duo 1.73, 3gb ram and 160gb hdd.
My java was working properly till now. I used to start JDownloader by using "java -jar JDowloader.jar". But now it is showing "command not found"
The output of the "ls /usr/bin/java -l" had "/usr/bin/java" in red and "/etc/alternatives/java" in blinking redCode:[root@electron ~]# java -jar /root/.jd/JDownloader.jar bash: java: command not found [root@electron ~]# which java /usr/bin/which: no java in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/opt/real/RealPlayer:/home/livingstone/bin:/opt/real/RealPlayer:/opt/real/RealPlayer) [root@electron ~]# echo $PATH /usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/opt/real/RealPlayer:/home/livingstone/bin:/opt/real/RealPlayer:/opt/real/RealPlayer [root@electron ~]# ls /usr/bin/java -l lrwxrwxrwx 1 root root 22 2010-02-27 02:09 /usr/bin/java -> /etc/alternatives/java
I tried reinstalling java using the following command
But the problem persists. Any idea what the problem could be? Should I add anything more to the $PATH variable?Code:yum reinstall java -y


Reply With Quote
