LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trouble installing java and azureus!! (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-installing-java-and-azureus-466752/)

Slothburger 07-23-2006 07:27 AM

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.

konsolebox 07-23-2006 08:09 AM

maybe you should better install java linux from blackdown. check their site at http://blackdown.org

Slothburger 07-23-2006 08:18 AM

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

konsolebox 07-23-2006 08:40 AM

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

Slothburger 07-23-2006 06:25 PM

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.

konsolebox 07-23-2006 06:58 PM

no prob. come back again :)

Slothburger 07-23-2006 07:24 PM

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?

konsolebox 07-23-2006 07:47 PM

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

Daws 07-23-2006 07:49 PM

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

konsolebox 07-23-2006 07:50 PM

just go reading the docs. i gotta go somewhere else. i'll be back later. good luck :)

Slothburger 07-23-2006 07:57 PM

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?

konsolebox 07-23-2006 08:51 PM

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.

Slothburger 07-23-2006 09:11 PM

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?

konsolebox 07-23-2006 09:16 PM

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

Slothburger 07-23-2006 09:34 PM

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


All times are GMT -5. The time now is 04:42 PM.