Kowash Posted November 14, 2005 Report Share Posted November 14, 2005 HI Thanx for all the help in the past, but the newbie is back. I am trying to install JAVA. I downloaded the 1.5 file from the java sight and tried to install it. Unfortunately I don't get it installed. Obviously it is an Id10t problem, but I just don't know what to do. I follow the instructions, but the only response I effectively get is that there is no such file or directory. [kowash@Silver ~]$ su [root@Silver kowash]# cd /home/kowash [root@Silver kowash]# sh jre-1_5_0-linux-i586-rpm.bin sh: jre-1_5_0-linux-i586-rpm.bin: No such file or directory [root@Silver kowash]# sh jre-1_5_0-linux-i586-rpm.bin sh: jre-1_5_0-linux-i586-rpm.bin: No such file or directory [root@Silver kowash]# cd /home/kowash/java [root@Silver java]# sh jre-1_5_0-linux-i586-rpm.bin sh: jre-1_5_0-linux-i586-rpm.bin: No such file or directory [root@Silver java]# su [root@Silver java]# sh /jre-1_5_0-linux-i586-rpm.bin sh: /jre-1_5_0-linux-i586-rpm.bin: No such file or directory [root@Silver java]# sh home/kowash/jre-1_5_0-linux-i586-rpm.bin sh: home/kowash/jre-1_5_0-linux-i586-rpm.bin: No such file or directory [root@Silver java]# sh /home/kowash/jre-1_5_0-linux-i586-rpm.bin sh: /home/kowash/jre-1_5_0-linux-i586-rpm.bin: No such file or directory [root@Silver java]# The install file is copied into my home/kowash directory. I am running Mandrake 10.2 Thanx for any help Kowash [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
jboy Posted November 14, 2005 Report Share Posted November 14, 2005 Follow the install instructions at the java site: http://www.java.com/en/download/help/50000...#selfextracting For example, if the .bin in your /home/kowash directory, then per the instructions above: # cd /home/kowash # chmod a+x jre-1_5_0-linux-i586-rpm.bin # ./jre-1_5_0-linux-i586-rpm.bin etc. Quote Link to comment Share on other sites More sharing options...
Kowash Posted November 15, 2005 Author Report Share Posted November 15, 2005 Thanx for the reply As I said, I did! For some reason it does not work. Here is the paste. [root@Silver java]# su [root@Silver java]# cd /home/kowash [root@Silver kowash]# chmod a+x jre-1_5_0-linux-i586-rpm.bin chmod: cannot access `jre-1_5_0-linux-i586-rpm.bin': No such file or directory [root@Silver kowash]# Thanx for helping out Kowash Quote Link to comment Share on other sites More sharing options...
devries Posted November 15, 2005 Report Share Posted November 15, 2005 You need to execute these commands in the same folder where you saved the bin file (or make sure you didn't make a typo :). ) PS. you now about auto complete? Just type the first few letters and then Tab. The file name will be auto completed so no chance for typos. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 15, 2005 Report Share Posted November 15, 2005 shell commands in linux are case sensitive... so checkout if the actual name is "jre-1_5_0-linux-i586-rpm", CASE INCLUDED. Quote Link to comment Share on other sites More sharing options...
neddie Posted November 15, 2005 Report Share Posted November 15, 2005 try the following, and paste what the results are: cd /home/kowash ls jre* According to the sun site the download file is jre-1_5_0_05-linux-i586-rpm.bin. As suggested, just type jre and hit <Tab> - it will try and autocomplete based on the files it finds. If it finds more than one, it will complete as far as it can and show you the filenames which match. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.