LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   intalling java and limewire (https://www.linuxquestions.org/questions/linux-newbie-8/intalling-java-and-limewire-245811/)

che_elpoder 10-21-2004 11:47 PM

intalling java and limewire
 
i have just downloaded both limewire and java they are in my file:/root/My Computer/My Documents and i cant figure out how to install them can anybody help me please i been trying and reading forums for ever, please help just transfered from windows so this is all new to me kind of fustrating what do i need please give me step by step help if you can :newbie:

Tinkster 10-22-2004 12:41 AM

Knowing your distro would be quite helpful in trying
to assist you with the problem. ... that said, looking
at the location of the download: It's ALWAYS a bad
idea to run a Linux machine logged in as root.


Cheers,
Tink

polarbear 10-22-2004 06:51 AM

lin
 
it looks like it is probably lindows/winux/linspire/whatevertherenameisnow
that is the only distribution I know which would trick a newbie into running as root and also has "My" directories.

z-vet 10-22-2004 07:07 AM

If you downloaded a binary package of Java (j2re-1_4_2_05-linux-i586.bin) so install it as follows. If you downloaded an RPM - i don't know how to install it.

Installing Java from .bin package:

Login as root. Create a directory /usr/java:
Code:

mkdir /usr/java/
Copy a downloaded .bin package to this dir
Code:

cp /My Computer/My Documents/j2re-1_4_2_05-linux-i586.bin /usr/java
go to created dir:
Code:

cd /usr/java/
and make it executable:
Code:

chmod +x j2re-1_4_2_05-linux-i586.bin
.
Then run it:
Code:

./j2re-1_4_2_05-linux-i586.bin
It will unpack itself in subdir of /usr/java called j2re1.4.2_05
Open your favorite text editor and copy the folowing to:
Code:

JAVA_HOME=/usr/java/j2re1.4.2_05
export JAVA_HOME

PATH=$PATH:$JAVA_HOME/bin
export PATH

Save this file as root in /etc/profile.d, name it java.sh. Make it executable:
Code:

chmod +x /etc/profile.d/java.sh
Restart X. To check your Java installation in console do
Code:

which java
It will output an info about installed Java. If it doesn't, you did something wrong.

If you have Mozilla or Firefox, you may want Java plugin installed for. So close Mozilla/Firefox completely, login as root and go to /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32. There is a file called libjavaplugin_oji.so inside. Just copy this file to Mozilla/Firefox /plugin dir. Then to check it installed open Mozilla/Firefox and type "about:plugins" without quotes in addres bar. It will open a page with info about installed plugins. If Java isn't listed, then you did something wrong.
Limewire: post an exact name of the file you downloaded, please.

che_elpoder 10-22-2004 01:13 PM

how do you create a directory and were do i put in all that stuff you said--- z-vet ohh yeah and whats a distro im lost

jsmarshall85 10-22-2004 10:20 PM

a distro is the ditribution of linux you have installed, like slackware, mandrake, linspire, debian, fedora.......

to create a directory, just type mkdir nameofdirectory at a command line in the folder you want to make it

most of the time where you download a file or program, the vendor provides instructions on how to install it. it is a lot different than in windows, for the most part and on most distros you cant simply double click the file and start an install, ,there is a lot more to it

you would probably be better off figuring out what version of linux you have installed and how to use it before you dive into installing file sharing software, if you dont have a firewall running you could be asking for it


All times are GMT -5. The time now is 10:22 AM.