How to Install jre in Mandriva 2007 Frustrated in installing JRE
#1
Posted 16 June 2007 - 06:31 PM
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]
#2
Posted 16 June 2007 - 06:52 PM
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 :)
#3
Posted 16 June 2007 - 08:07 PM
#4
Posted 16 June 2007 - 08:40 PM
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.....
#5
Posted 16 June 2007 - 11:06 PM
daniewicz, on Jun 16 2007, 10:40 PM, said:
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
lsThe easiest way to make sure your command matches exactly is to use the autocomplete feature, so you type
chmod a+x jreand then press the tab key. That should fill in the rest of the filename for you. Then to run it, type
./jreand press tab again.
#6
Posted 16 June 2007 - 11:16 PM
Thomas Jefferson
#7
Posted 17 June 2007 - 06:00 PM
#8
Posted 17 June 2007 - 06:13 PM
#9
Posted 09 July 2007 - 06:05 PM
Deep V
This post has been edited by Deep V: 09 July 2007 - 06:55 PM
#10
Posted 11 April 2008 - 12:05 AM
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...

Help
MultiQuote








