LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-15-2004, 07:34 AM   #31
ddrfreak
Member
 
Registered: Dec 2004
Location: Winnipeg, Manitoba, Canada
Distribution: Mandrake 10.1 Community, Windows Longhorn Beta
Posts: 82

Original Poster
Rep: Reputation: 15

Someone told me to download JRE Java so I did /i downloaded the rpm. i named it asdf.rpm.bin So I could remember it. Then I put

su
my pass
cd /home/administrator
sh ./asddf.rpm.bin
then it did some stuff then had some thing called gdfgfdg.bin

Then I went

sh ./gdfgfdg.bin
and there were two 100% things. Is that what I had to do???

But then I tried lime wire install thing again then it said
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

But I install JRE is this ok? What doI do? Do I still follow reddazz s steps?

Also Thank you everyone for thier help so far.
 
Old 12-15-2004, 08:30 AM   #32
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I spent quite a while posting the instructions above, so please follow them as I suggested. If you are using broadband it won't take you long to download the jdk. Don't mix the instructions I have given you with those given by others because people do things differently. The method I posted has worked for me on Fedora Core 3 and Mandrake 10.1 (and their previous releases). I wrote those instructions in a simple fashion, so you should be able to follow them step by step.

It would also be helpful to you if you first made a directory called downloads with a subfolder called bin in your home directory so that you can just cut and paste the commnads I posted above. Download the jdk into that folder. To make the directory in a console, do

$mkdir -p downloads/bin

After downloading the jdk, follow the instructions I posted above from number 1.

It's also bad practice to rename binary installation files like you are doing, so please leave the files as they are and just remember the folder you downloaded them into. if you want to view the contents of that folder, you can do it using Konqueror, Nautilus, or in a console

$ls /path/to/folder

Hope your installation succeeds now.
 
Old 12-15-2004, 02:58 PM   #33
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Instead of putting a link directly into the limewire directory, simply

#cd /usr/bin
#ln -s /usr/java/jre1.5.0/bin/java java

This is great because for any other applications that require java, you don't need to put a link in every folder that has what you want to install. The installation programs look for /usr/bin/java at one time or another.
 
Old 12-15-2004, 03:53 PM   #34
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Thats not necessary if java is already added to your path in the .bash_profile.
 
Old 12-15-2004, 04:04 PM   #35
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
ddrfreak, just incase you downloaded the rpm that I gave a link to, then followed reddazz's post on jre installation, they refer to two totally different rpm's and ways of installing.

The one I posted a link to was packaged for mandrake, and was not to be renamed, simply save rpm on your desktop and double click on it and it would have installed and configured itself with you only supplying your root password. Most times you don't have access to such rpm's.

Never pass up an oportunity when someone takes the time to walk you through a proper install. Most times, you will need to get your rpm from Sun and it is a totally different and more complicated install, so I suggest you follow reddazz's lead if you want to learn. So if you downloaded from the link I provided I suggest, although it is simpler, delete it and restart from the top with reddazz's instructions.
 
Old 12-15-2004, 07:06 PM   #36
ddrfreak
Member
 
Registered: Dec 2004
Location: Winnipeg, Manitoba, Canada
Distribution: Mandrake 10.1 Community, Windows Longhorn Beta
Posts: 82

Original Poster
Rep: Reputation: 15
reddazz,

I aid I installed java and those instructions wont work. im pretty sure I installed java. and when I try the instructions it says
[administrator@MTS administrator]$ cd /home/administrator
[administrator@MTS administrator]$ chmod +x jdk-1_5_0-linux-i586-rpm.bin
[administrator@MTS administrator]$

So im pretty sure itsinstalled. Also before I did that I installed the bins and I had a RPM file and I clicked it it asked If I wanted it installed and I said yes. But Im pretty sure its installed.
ButThis is what I get when I try to install lime wire.
[root@MTS administrator]# cd /home/administrator
[root@MTS administrator]# sh ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
[root@MTS administrator]#

i need help on limewire java was easy and thanks for the steps. But I found a simpler way

su
pass
cd /home/administrator
sh ./whateverjavawascalled.bin
 
Old 12-15-2004, 08:47 PM   #37
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Quote:
Originally posted by reddazz
Thats not necessary if java is already added to your path in the .bash_profile.
Well I had an issue at the time with Java and it saying there was no VM installed so I added it and it worked fine You're probably right, but my fix worked fine

ddrfreak, you didn't install Java properly. It can't find the VM... *sigh*
Do a symbolic link from whereever you installed java to /usr/bin/ and see if you get that error again.

Last edited by caladbolg; 12-15-2004 at 08:48 PM.
 
Old 12-15-2004, 09:06 PM   #38
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
ddrfreak, I am getting frustrated coz it seems like you are not following plain and simple instructions, in the order that they are given. You haven't followed the steps as I posted and therefore java isn't installed. All you did was make the java sdk file executable and that isn't installing it onto the system, it is just one step towards completing the installation.

Before trying the instructions again, create a directory called downloads in your home directory. Go to that directory called downloads and inside it create another directory called bin. Cut and paste the java sdk and LimeWireLinux.bin from wherever they are at the moment, into /downloads/bin (so the java sdk and LimewireLinux.bin should be located in the folder /home/administrator/downloads/bin in your case)

Start a console session and follow the instructions from 1 to 12 exactly as they are without diverting from them coz if you do, things will keep going wrong. (You can even just cut and paste them into your console). If you don't follow my instructions as I have typed them and do your own thing, I can't help you anymore coz we seem to have been stuck on this issue for days. I am not flaming you, but when someone is helping you and giving you instructions, follow those instructions to the last letter coz if you don't problems may never get resolved.
 
Old 12-16-2004, 06:37 AM   #39
mr_bod
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Useful tip for ddrfreak

Won't help you install Limewire but I reckon it'll be of help.

If you renamed the file because of the huge filename, in a console the tab key is your friend. Just remember the first bit of the filename and where you saved it . If you type the first bit as much as you can remember, then press tab, it will list files starting with those letters. It will also autocomplete as much as it can

http://mandrakeuser.org/docs/basics/bshell2.html

Don't give up on it
 
Old 12-16-2004, 04:32 PM   #40
ddrfreak
Member
 
Registered: Dec 2004
Location: Winnipeg, Manitoba, Canada
Distribution: Mandrake 10.1 Community, Windows Longhorn Beta
Posts: 82

Original Poster
Rep: Reputation: 15
I took your advice made /home/administrator/downloads/bin and then loaded the file it just made a new line didn't have an agreement but I typed yes anyway. Then it said

y
y
y
y
y
y

And then never stopped. I'm pretty sure java's installed bucause there is no agreement. Before I made it then it was just a rpm and then I typed in a command I web site told me and then it said installed. Then there were 2 100% signs. I want to follow your instructions but I can't unless I am told how to remove java. So please tell me how to remove java and that will probably help me thanks!!!
 
Old 12-16-2004, 04:42 PM   #41
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
to find out if java is installed, type

$rpm -qa | grep -i jdk

you should get an output similar to the one below

jdk-1.5.0-fcs

If indeed it's installed, there is no need to remove it, what you need to do is then do step 6 onwards. You need to make sure you are in /home/administrator when you start step 6. It seems like we are getting somewhere now, and I bet you have learnt a lot of Linux commands in the last few days . Make sure when you complete step 6 you actually logout and back in coz if you don't the sytem will not recognise java as being in your PATH.
 
Old 12-16-2004, 04:58 PM   #42
ddrfreak
Member
 
Registered: Dec 2004
Location: Winnipeg, Manitoba, Canada
Distribution: Mandrake 10.1 Community, Windows Longhorn Beta
Posts: 82

Original Poster
Rep: Reputation: 15
yea that did show up. I knew it was installed. im soo happy. but also again I got it into a rpm instadr or rpm.bin or whatever it was. And can I substitue chmod +x with sh ./ ?? And do I restart my computer log out or end session ???
 
Old 12-16-2004, 05:40 PM   #43
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I'm glad thats over and done with, java is now installed on your system. What you need to do now is step 6 and when you have finished log out and back in (no need to restart). Continue from step 7 when you log back in.

No, you can't just substitute "chmod +x" with "sh" (not "sh ./" like you are doing even though it may work). chmod (change mode) enables you to change the permissions on a file. The "+x" option makes the file executable, meaning you are able to run the file. Most shell scripts or *.bin files you will download will be non-executable so that they don't do damage to your system. You can however substitute "./" with "sh". "./" means run the script or file in the current directory. So instead of doing something like,

$./filename

you can do

$sh filename

When you install most software on Linux you dont need to restart your computer like you do in windows.

Last edited by reddazz; 12-16-2004 at 05:43 PM.
 
Old 12-16-2004, 05:44 PM   #44
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
By the way are you using KDE or GNOME?
 
Old 12-16-2004, 05:48 PM   #45
ddrfreak
Member
 
Registered: Dec 2004
Location: Winnipeg, Manitoba, Canada
Distribution: Mandrake 10.1 Community, Windows Longhorn Beta
Posts: 82

Original Poster
Rep: Reputation: 15
I think I got it to work the only problem is now where do you save it on the pop upinstaller so it appers on the menu???
I don't know...
I click on the little computer moniter on the bottom.

Last edited by ddrfreak; 12-16-2004 at 07:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox - bind one key to a key combo dracolich Linux - General 0 09-01-2005 03:53 PM
How to bind Windows key combos and laptop Fn key MDesigner Linux - Newbie 12 08-15-2004 03:08 AM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
rndc: no key definition for name rncd.key forkvoid Linux - Networking 2 12-29-2003 03:40 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration