Java on Linux wont work?
I need to install java on my Acer netbook so i downloaded the file jre-6u23-linux-rpm.bin. i then opened a terminal typed in su and typed in my root password i followed the instructions they told me to and this happened.
[user@localhost ~]$ su
Password:
[root@localhost user]# cd /usr/java
[root@localhost java]# chmod a+x jre-6u23-linux-rpm.bin
chmod: cannot access ‘jre-6u23-linux-rpm.bin’ : No such file or directory
I know for a fact that i downloaded the file and it is in my downloads folder at the moment.
Please Help Me!! I followed exact instructions on http://www.java.com/en/download/help/linux_install.xml and downloaded the file on java’s website.
Tagged with: acer • chmod • exact instructions • Linux • linux rpm • root password • usr
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
Instead of ‘cd /usr/java/’ go to ‘cd /usr/downloads/’, or whatever your download folder is called, and then proceed with previous command.
What does i read when you type
ls /usr/java
?
The "cd /usr/java" command is used to navigate to the directory where you saved the file. Navigate to the directory where you saved the file. For example, "cd /home/username/Downloads/".