LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2006, 05:59 AM   #1
kriogenic
Member
 
Registered: Feb 2006
Distribution: Back Track 2
Posts: 44

Rep: Reputation: 15
Unhappy installing java


ok ive downloaded the bin file of java and i made it executable by going into console and typing

Code:
chmod 777 jre-1_5_0_06-linux-i586.bin
then i did
Code:
./jre-1_5_0_06-linux-i586.bin
and it made a folder on the desktop called java, im not sure but is java now installed? or how do i install it now? help is much appreciated...

thanks
- Kriogenic
 
Old 02-11-2006, 06:24 AM   #2
voger
Member
 
Registered: Oct 2005
Distribution: Arch
Posts: 68

Rep: Reputation: 15
Move that folder in some more appropriate place e.g. /opt as root

Code:
mv jre/ /opt/
and then add that folder to your path. This is what you do as normal user

Code:
export PATH=$PATH:/opt/jre/bin
or even better add that line in the end of your ~/.bash_profile
 
Old 02-11-2006, 06:25 AM   #3
kriogenic
Member
 
Registered: Feb 2006
Distribution: Back Track 2
Posts: 44

Original Poster
Rep: Reputation: 15
simpler and more or an explination for a HUGE noob? plz lol

EDIT: wont let me move to the opt folder

Last edited by kriogenic; 02-11-2006 at 06:30 AM.
 
Old 02-11-2006, 06:32 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Try "sudo mv ..."

You need root permissions to write to folders like /opt and Ubuntu uses sudo to give you those.
 
Old 02-11-2006, 06:35 AM   #5
kriogenic
Member
 
Registered: Feb 2006
Distribution: Back Track 2
Posts: 44

Original Poster
Rep: Reputation: 15
thanks Nylex again it worked and it was moved into the opt folder so now i just do what voger said and it should work?
 
Old 02-11-2006, 06:37 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yeah, it should.
 
Old 02-11-2006, 06:43 AM   #7
kriogenic
Member
 
Registered: Feb 2006
Distribution: Back Track 2
Posts: 44

Original Poster
Rep: Reputation: 15
yup it worked and i got lime wire running finally i just found out that ubuntu is pretty much debian and stuff so ne help on debian would help like wtf i do with .deb files? it says ubuntu can use them and stuff and i wanna learn how to use all the files types ive come across so far so i dont have to ask so many questions in the future...
 
Old 02-11-2006, 06:50 AM   #8
voger
Member
 
Registered: Oct 2005
Distribution: Arch
Posts: 68

Rep: Reputation: 15
You need to be root to write something to /opt/. As Nylex said, if u use ubuntu you can use

Code:
sudo mv jre/ /opt/
that prompts you for a password where you type your user password.

If you don't use ubuntu chances are you don't have configured your su commnad. So you login as root. Assuming that your username is kriogenic

Code:
$ su
password: your root password
# cd /home/kriogenic/Desktop
# mv jre/ /opt/
# exit
$ kate (or gedit or mcedit or whatever editor you like) /home/kriogenic/.bash_profile
in the end of that file you add

Code:
export PATH=$PATH:/opt/jre/bin
an java is installed in your system.

for firefox

Code:
$ su
password: your root password
# cd /usr/lib/mozilla-firefox/plugins
# ln -s /opt/jre/plugin/i386/ns7/libjavaplugin_oji.so
 
Old 02-11-2006, 06:53 AM   #9
kriogenic
Member
 
Registered: Feb 2006
Distribution: Back Track 2
Posts: 44

Original Poster
Rep: Reputation: 15
ok just to stop me from making another thread after ive done all that and ive got java installed then lets say i installed lime wire how do i open it from now on? do i have to keep installing it (hope not) or how do i open it?
 
Old 02-11-2006, 07:06 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You just run "./runLime.sh" from your LimeWire directory.
 
Old 02-11-2006, 07:09 AM   #11
kriogenic
Member
 
Registered: Feb 2006
Distribution: Back Track 2
Posts: 44

Original Poster
Rep: Reputation: 15
soz people i sm still asking the question i just installed lime wire then shut off the console and it shut off lime wire also how do i reopen it :S?

EDIT: ok i got it all i needed to do was go to console and type
Code:
./runLime.sh
and it opend it

Last edited by kriogenic; 02-11-2006 at 07:11 AM.
 
  


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
installing java Nau Linux - Software 2 01-05-2006 08:44 AM
Help installing JAVA sabenfox Fedora 6 12-15-2005 03:20 PM
installing java redduck666 Linux - Software 8 12-23-2004 01:23 PM
help installing java sk8boardersage Linux - Software 3 08-03-2003 11:58 PM
Installing Java? loganwva Linux - General 4 02-17-2002 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:16 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