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 07-23-2006, 07:27 AM   #1
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Rep: Reputation: 15
trouble installing java and azureus!!


Ok im an uber newb I've got Suse 10 KDE 3.4 and i was wondering now that ive downloaded java, how do i install it?

Theres a .bin file when i click on it it just opens a text file and crashes. What do i do?
I can unzip tar files i can install things in rpm format, mmm thats about it so far.

Any help would be greatly appreciated. Thankyou.
 
Old 07-23-2006, 08:09 AM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
maybe you should better install java linux from blackdown. check their site at http://blackdown.org
 
Old 07-23-2006, 08:18 AM   #3
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Original Poster
Rep: Reputation: 15
Jre

hi there konsole and thanks for the response. It says at this link that i need JRE java runtime environment. I have the files i just dont know what to do with them or how to run them so i can setup java or azureus for that matter. I had them all going on win xp but i gave the boot for suse 10, its like starting all over again.


http://azureus.sourceforge.net/howto_linux.php
 
Old 07-23-2006, 08:40 AM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
gentoo already have these packages java and azureus and i haven't tried installing the package manually yet.

about installing java just in case you haven't installed it yet and you're using java linux from blackdown, you can read the install manual for j2re: ftp://ftp.tux.org/pub/java/JDK-1.4.2...1/INSTALL-j2re

you'll might also have the complete info about how to run azureus in linux by reading the azureus howto

http://azureus.sourceforge.net/howto_linux.php

this should also be a helpful tip for you too: http://www.linux-noob.com/forums/lof...php/t1447.html
 
Old 07-23-2006, 06:25 PM   #5
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Original Poster
Rep: Reputation: 15
thanks

So would i be right in saying that .bin files are run/executed through the console?

Thanks again for your help Konsole, if i run into trouble i will ask some more, i'm new to linux and i still have many more things i need to learn/fix.

Thanks.
 
Old 07-23-2006, 06:58 PM   #6
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
no prob. come back again
 
Old 07-23-2006, 07:24 PM   #7
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Original Poster
Rep: Reputation: 15
got this far

Hi again Konsole i got half way through and now i'm stuck. I write it in letter for letter and it doesnt seem to want to go any further.

I get this error in console

when i type :rpm -iv jre-1_5_0_07-linux-i586.bin i get this error.

:not an rpm package (or package manifest):


and when i type rpm -iv jre-1_5_0_07-linux-i586.rpm i get this error.

failed : No such file or directory

any ideas?
 
Old 07-23-2006, 07:47 PM   #8
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
i guess that's not an rpm. try

Code:
cd /usr/local
bash jre-1_5_0_07-linux-i586.bin
export PATH=/usr/local/j2re1.4.2/bin:$PATH
continue reading the instructions of
ftp://ftp.tux.org/pub/java/JDK-1.4.2...1/INSTALL-j2re
 
Old 07-23-2006, 07:49 PM   #9
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
This is what I do, I like to install it into /usr/local/jre1.5.0_07.

So, as root,

move/copy the bin file to /usr/local

From a terminal

Code:
cd /usr/local
chmod +x jre-1_5_0_07-linux-i586.bin
./jre-1_5_0_07-linux-i586.bin
Then you have to agree to the license and it will unpack everything.

You will now have a jre1.5.0_07 directory in /usr/local.

Two options here 1) you can expand $PATH to include /usr/local/jre1.5.0_07/bin or 2) (my preference as I like to keep $PATH simple) soft link all the binaries to somewhere in your path (in this example /usr/local/bin).

To do 2)

Code:
ln -sv /usr/local/jre1.5.0_07/bin/* /usr/local/bin/
Notice the space between .../bin/* and /usr/...

To check everything works

Code:
java -version
should print a nice little message
 
Old 07-23-2006, 07:50 PM   #10
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
just go reading the docs. i gotta go somewhere else. i'll be back later. good luck
 
Old 07-23-2006, 07:57 PM   #11
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Original Poster
Rep: Reputation: 15
stuffed it

hi again thanks for your help, i stuffed it up, how do i uninstall it and start again or fix it up, i wanted me to replace the files and i accidently stuffed it up, now when java goes to install it stops after i say yes.

says permission denied
checksumming...
expr:syntax error
expr:syntax error

etc etc

also how do u copy from console to a web page?
 
Old 07-23-2006, 08:51 PM   #12
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by Slothburger
permission denied
do
Code:
ps -A
then do
Code:
killall -s 9 javaprocessname
or try restarting the computer.

then reinstall.

Quote:
Originally Posted by Slothburger
also how do u copy from console to a web page?
do u mean konsole? just highlight the text using a mouse, drag then copy. Paste it on a text editor first so that it won't be messy then copy it again.
 
Old 07-23-2006, 09:11 PM   #13
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Original Poster
Rep: Reputation: 15
this is were im stuck

ok this is where im stuck i get to here and it asks me to

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
replace jre1.5.0_07/bin/java? [y]es, [n]o, [A]ll, [N]one, [r]ename:

what do i do to make sure it goes properly i keep stuffing it up?
 
Old 07-23-2006, 09:16 PM   #14
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
as usual before you can't write to that file because you have a process loaded from that file. do
Code:
killall -s 9 java
then go overwrite everything (press a to all)

ps. i gotta go now. good luck.. again.

later
 
Old 07-23-2006, 09:34 PM   #15
Slothburger
LQ Newbie
 
Registered: Jul 2006
Location: Brisbane-Australia
Distribution: Suse 10
Posts: 26

Original Poster
Rep: Reputation: 15
didnt kill

thanks for your help but it didnt kill it..

i did

ps -A

then got a huge list, then i did


killall -s 9 javaprocessname
javaprocessname: no process killed

killall -s 9 java
java: no process killed
 
  


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
trouble installing java plug-in crazyjedi Linux - Newbie 4 04-14-2006 06:14 AM
trouble installing Azureus alex1986 Linux - Software 3 12-05-2005 08:08 PM
Trouble installing Java The Stranger SUSE / openSUSE 17 06-18-2005 10:58 AM
Having trouble installing java... broham Linux - Newbie 2 11-10-2004 07:16 PM
Trouble installing JAVA - Mandrake 10 - Help tcn03u Mandriva 5 07-19-2004 11:36 AM

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

All times are GMT -5. The time now is 02:11 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
Open Source Consulting | Domain Registration