Installing Java on Fedora Linux, having trouble installing it, help?
I’m trying to install Java version 6 Update 11 (newest version) on my Fedora Linux computer, and I’m running into some trouble. I’m following the directions on the Java website, and this is what it says:
Follow these instructions:
1. At the terminal: Type:
su
2. Enter the root password.
3. Change to the directory in which you want to install. Type:
Example: /usr/local (this is what I used)
4. Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-i586-rpm.bin
5. Start the installation process. Type:
./jre-6u<version>-linux-i586-rpm.bin
6. The installation file creates jre-6u<version>-linux-i586.rpm file in the current directory.
7. Run the RPM command at the terminal to install the packages. Type:
rpm -iv jre-6u<version>-linux-i586.rpm
8. The JRE is installed in jre1.6.0_<version> sub-directory under the current directory. In this case, the JRE is installed in the /usr/java/jre1.6.0_<version> directory. Verify that the jre1.6.0_<version> sub-directory is listed under the current directory. Type:
ls
Now the trouble I run into is #4. I managed to make the downloaded file executable, but then when I type chmod a+x jre-6u<version>-linux-i586-rpm.bin into the terminal, it keeps telling me"chmod: cannot access `jre-6u11-linux-i586-rpm.bin’: No such file or directory"
I have no idea what to do to now, can anyone please help?
Note: I am installing the RPM file, I think this is the correct file type for this OS.
What’s the entire directory if it’s in my Downloads folder? Or on the home screen?
I tried it, and it doesn’t work… Any other ideas?
Tagged with: directory type • downloaded file • fedora linux • gt directory • java version • java website • Linux • lt • root password • rpm • terminal type • type chmod • version 6
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
well.. the file is not there, try typing the whole path instead of just the file name