biddu Posted June 16, 2007 Report Share Posted June 16, 2007 Dear All, I have tried to install the jre but with out any success. I did read the instructions in the "Mandrivausers" Forum section. I have followed the following method. (please note that the downloaded file is on my desktop) 1. Downloaded the "jre-1_5_0_02-linux-i586-rpm.bin" from java.com to the desktop. 2. Opened console and typed "su" typed password. 3. cd/ home/xxxx(my user id)/Desktop 4. [root@localhost Desktop]# chmod a+x jre-1_5_0_02-linux-i586-rpm.bin 5. chmod: cannot access `jre-1_5_0_02-linux-i586-rpm.bin': No such file or directory 6. [root@localhost Desktop]# cd [root@localhost ~]# cd /usr/java 7. [root@localhost java]# chmod a+x jre-1_5_0_02-linux-i586-rpm.bin chmod: cannot access `jre-1_5_0_02-linux-i586-rpm.bin': No such file or directory The other commands like " ./jre-1_5_0-linux-i586.bin " also do not work. Please guide me. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
orts Posted June 16, 2007 Report Share Posted June 16, 2007 Are you using Mandriva 2007 or 2007.1? Have you installed alle source lists from http://easyurpmi.zarb.org ? If I remember correct Java is in suorce list from http://seerofsouls.com/. If it's a 2007.1 version then you can find Java in the non-free reposity. It is easier to install Java through urpmi than compiling it your self :) Quote Link to comment Share on other sites More sharing options...
dexter11 Posted June 16, 2007 Report Share Posted June 16, 2007 It's even better if you install it from the official source. Java is available in the non-free repo. Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 16, 2007 Report Share Posted June 16, 2007 biddu: You need to specify the file name and its path together chmod a+x /home/username/Desktop/jre-1_5_0_02-linux-i586-rpm.bin But orts and dexter11 are correct. It would be easier to install using urpmi. I am running Mandriva 2005 so I am sure my menus are different than yours but here is what it looks like for me: Type "mcc" from the command line as you have been doing Software Management Look at Installable Software..... Quote Link to comment Share on other sites More sharing options...
neddie Posted June 16, 2007 Report Share Posted June 16, 2007 You need to specify the file name and its path togetherNo, not if he's already in the Desktop directory. But I strongly doubt that it's version 02, it might be number 11. Or in fact it may be that you've not downloaded the jre 1.5 at all, because if you go to java.com you'll get version 1.6 by default. The filename you use for the chmod command has to match the filename you've got, exactly. To find out what you've got, use the command ls The easiest way to make sure your command matches exactly is to use the autocomplete feature, so you type chmod a+x jre and then press the tab key. That should fill in the rest of the filename for you. Then to run it, type ./jre and press tab again. Quote Link to comment Share on other sites More sharing options...
ffi Posted June 16, 2007 Report Share Posted June 16, 2007 I seriously don' t understand why anyone would go through all this trouble when all you need to do is go to rpmdrake and install java or urpmi java-1.6.0 from a console (as root) and you are done (and maybe set up repos if it hasnt been done, automagically, yet http://www.mandrivausers.org/easyurpmi/index.php ...) Quote Link to comment Share on other sites More sharing options...
neddie Posted June 17, 2007 Report Share Posted June 17, 2007 If the question is about 2007 Spring, then yes I agree. But that had already been said by the first two answers. I was explaining what was wrong with the original attempt, to try to help gain a better understanding of why it didn't work. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted June 17, 2007 Report Share Posted June 17, 2007 For MDV 2006 and 2007 one can get JRE RPM's from the mandrivaclub.nl unofficial repo- they are working fine. Quote Link to comment Share on other sites More sharing options...
Guest Deep V Posted July 9, 2007 Report Share Posted July 9, 2007 (edited) I tried the "type - urpmi java-1.6.0 from a console (as root) and you are done" method last night and it gave me some error message. I tried it this morning and it worked just fine. Go figure. Deep V Edited July 9, 2007 by Deep V Quote Link to comment Share on other sites More sharing options...
Guest fake_name Posted April 11, 2008 Report Share Posted April 11, 2008 This is what I'd do 1. First of all go to the directory where your rpm.bin file is located. it is a self installation file, 2. Run # su 3. make sure the file is executable #chmod 755 j2sdk1.4.0_01.rpm.bin 4. execute the file #./j2sdk1.4.0_01.rpm.bin this will install the package and inflate the rpm... 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.