Click to See Complete Forum and Search --> : Limewire


markbowen
11-15-2002, 07:52 PM
Hi All
I have just installed Java and I have also executed the Limewire file, The problem is when I install it it still comes up with " you must install Vm prior to this program " which I have already done.
I have checked all the other listing's in the forum and they are not working or I might be doing it wrong?
I am finding it very hard to get into the part where you have to edit PATH files with an editor, I am using SuSE 8.1 and the only one I can see is VIM but I still dont know what to do from there.
Can someone please explain to me how I go about installing Limewire as I am a nerd when it comes to things like this.
All the help Gratefull

Mark

saithan
11-16-2002, 02:35 AM
did you export the path to java for that user?
when working with java programs either the java interpreter must be in the users path or you must export that path for that user.

to do this simply (as user not root) open ~/.bashrc
add the line:
export PATH=$PATH:/usr/java/j2re1.4.0_02/bin

replace the path with your true path to the java bin directory
then reopen a terminal to make the path set.
in some distros you need to actually logout then back in to get the path to set. you should be good to go after that.

note.... you can install more than one java using this method and switch between then for what ever reason by editing the .bashrc file.

markbowen
11-16-2002, 06:53 AM
Hi
Thanks for the reply, I have tried typing in ~./bashrc and it either says "permissin denied" or "not a directory" can you explain how I get into this as this seems the only place where I am stuck is just getting into this to editoring this PATH file.

Mark

bwitt
11-16-2002, 07:48 AM
I have MDK 9 on my machine so I can't guarantee this will be the same for SuSE. But anyway, if you want the change to the PATH to apply for all users on the machine the file is .bashrc in your root directory. If you want it to apply to only your user account the file you are looking for is .bash_profile in your home directory. Notice the periods at the beginning of the file names this means that they are hidden files. To edit .bashrc you will have to su to become root. For .bash_profile you can do that without any special permission.

saithan
11-16-2002, 02:04 PM
maybe I should have explained that ~ means home.
so if you look in your users home directory
(enable you file manager to view hidden files)
in the home you will see hidden .bashrc file
open that with a text editor.

files preceeded by "." are hidden files, and therefore you will not see them unless you enable viewing of hidden files.

if you use vi, open the file by running terminal and type:
vi .bashrc
while the users home is the present working directory in the terminal.

If you have multiple users and are into programing and wish to have multiple java interpreters (as I do) then it is better to set the path at user level allowing you to have users for seperate programing environments.

markbowen
11-16-2002, 02:18 PM
Hi

Cheers saithan for the reply, I will have to make all hidden files viewable then and try that. I am using SuSE 8.1 and it is not bad but what Java program what you recommend as the one I downloaded was not the correct one I don't think.

Cheers

Mark

;) cheers saithan for the help

saithan
11-16-2002, 02:38 PM
I have found 4.0_0.2 to work ok although 3.1 has less bugs.

when downloading the java it will be a rpm.bin file.

simply open terminal and su root
then cd to the directory where the file is saved
and type:
./filename.rpm.bin

(use the proper filename)

this will cause the file to turn into a fully qualified rpm type:
ls
to view the name of the new rpm that will now be in the directory
then type:
rpm -Uvh filename.rpm
(again use the proper filename)

then you may exit as root. Then you can go through the proceedures to exporting the java path to your user.

-----------------------------------------------------------
note-
my suse system is bare bones and I compile everything in it from source. not being shure how the newer suse distros are. I can't really say what to to use.

markbowen
11-16-2002, 04:02 PM
Hi

Cheers saithan you have been great in helping me sort my problem out and it was great advice :D

I hope I can get it working now and will let you know how I get on!

Thanks

Mark

busspass
11-16-2002, 04:37 PM
grat when you have sorted that out mark you can come and get me up and running:D :D :D :D :D

markbowen
11-16-2002, 04:48 PM
Hi

No problem Busspass you old timer :D anytime


Mark