LinuxQuestions.org
Help answer threads with 0 replies.
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-08-2004, 02:55 AM   #16
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46

is the file in that java folder? from you error message, it doesn't look like you put the file in that folder. is that java folder /usr/java? you need to either copy the or move *.bin file from your download directory to /usr/java. where did you download the *.bin file at?
 
Old 02-08-2004, 02:58 AM   #17
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
the bin file is in my file://home/jeremy/documents
i am trying to figure out how to move this i am really new at this
 
Old 02-08-2004, 03:56 AM   #18
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well you need to run the bin file first you shouldn't have to move anything. in the shell use these commands. make sure your paths use the correct upper or lowercase letters.

# cd /home/jeremy/documents
# su
# enter root password: ******
# ./java*.bin

the question is what java package did you get. if you got the self extracting rpm, then all you have to do is click the rpm file or use the command:
# rpm -ivh java*.rpm

i just usually grab the self extracting rpm. i never used any other java install packages, so i don't really know what those instructions would be. i'm going to assume that you got the same java package as in the link posted earlier. try following those directions if you didn't get the self extracting rpm package.
 
Old 02-08-2004, 05:27 AM   #19
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Rep: Reputation: 15
Ok here goes.

1, Download the java bin file,
type cd /where-ever-you-saved-the-bin-file-to

2, using xterm,goto the directory where you saved the java.bin file, Type "chmod u+x name of the java bin here,

3, Now type "./name of the java file.bin" ( this will extract the bin file and make a new directory)

This is where it get a little tricky!

4, goto "lib/mozilla/plugins" do "pwd" to make sure your in the right directroty, then type "ln -s /to/the/location/of/libjavaplugin_oji.so"

Issue the ls -1 command to confirm that the sym link has been created.

Your done
 
Old 02-08-2004, 05:34 AM   #20
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
you are not in the same dir of the file
type ls (=equeal dir)
and you can see if the file is inside the dir where you are
 
Old 02-08-2004, 08:09 AM   #21
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Rep: Reputation: 15
This Is How You Install Java!


[thd0n@Svr1 thd0n]$ cd java (my directory i creaed in home)
[thd0n@Svr1 java]$ ls -1
j2re-1_4_2_03-linux-i586.bin
[thd0n@Svr1 java]$ chmod u+x j2re-1_4_2_03-linux-i586.bin
[thd0n@Svr1 java]$ ./j2re-1_4_2_03-linux-i586.bin
Here it goes on about the licence agreement..keep pressing space.
Do you agree to the above license terms? [yes or no]
yes (Type yes and hit enter)
Unpacking...
Checksumming...
Extracting...
Extracts loads of files
#Done.
[thd0n@Svr1 java]$ ls -1
j2re1.4.2_03/
j2re-1_4_2_03-linux-i586.bin*
[thd0n@Svr1 java]$ cd j2re1.4.2_03/
[thd0n@Svr1 j2re1.4.2_03]$ ls -1
bin/
CHANGES
ControlPanel.html
COPYRIGHT
javaws/
lib/
LICENSE
man/
plugin/
README
THIRDPARTYLICENSEREADME.txt
Welcome.html
[thd0n@Svr1 j2re1.4.2_03]$ cd plugin
[thd0n@Svr1 plugin]$ ls -1
desktop/
i386/
[thd0n@Svr1 plugin]$ cd i*
[thd0n@Svr1 i386]$ ls -1
ns4/
ns610/
ns610-gcc32/
[thd0n@Svr1 i386]$ cd ns610-gcc32/
[thd0n@Svr1 ns610-gcc32]$ ls -1
libjavaplugin_oji.so* (THIS IS THE JAVA FILE YOU NEED TO LINK TOO)
[thd0n@Svr1 ns610-gcc32]$ pwd
/home/thd0n/java/j2re1.4.2_03/plugin/i386/ns610-gcc32 (HERE IS THE PATH TO THAT FILE)
[thd0n@Svr1 thd0n]$ su
Password:
[root@Svr1 thd0n]# locate netscape/plugins
/usr/local/netscape/plugins
/usr/local/netscape/plugins/libnullplugin.so
/usr/local/netscape/plugins/flashplayer.xpt
/usr/local/netscape/plugins/libflashplayer.so
[root@Svr1 thd0n]# cd /usr/local/netscape/plugins
[root@Svr1 plugins]# ls -1
flashplayer.xpt
libflashplayer.so
libnullplugin.so*
[root@Svr1 plugins]# ln -s /home/thd0n/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
[root@Svr1 plugins]# ls -1
flashplayer.xpt
libflashplayer.so
libjavaplugin_oji.so
libnullplugin.so*
[root@Svr1 plugins]#

And thats how to install Java on linux, its all there, to check its working click "Help" then "About-Plugins" Java should be listed.

Last edited by lozz1978; 02-08-2004 at 08:20 AM.
 
Old 02-08-2004, 06:46 PM   #22
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
To lozz1978


I can't understand
l :lol:
 
Old 02-09-2004, 12:08 AM   #23
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
OK I have the file j2re-1_4_2_03-linux-i586.bin . Is this gonna let konqueror use java applets such as yahoo? I dont have any other browsers except for Kon. If I install the file how do i get Kon to work with it?
 
Old 02-09-2004, 04:19 AM   #24
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
Setting the Konqueror you'll find a tab with java
 
Old 02-09-2004, 04:41 AM   #25
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
ok so i have java enabled on kon so why isnt it working?
 
Old 02-09-2004, 05:21 AM   #26
nOOb1kanobee
Member
 
Registered: Feb 2004
Location: Portland,Or
Distribution: slack 9.1
Posts: 39

Original Poster
Rep: Reputation: 15
FINALY GOT IT WORKING YAHOOOOOOOOOOOOOOO! WOW THANKS EVERYONE FOR THE HELP, JUST HAD TO FIGURE OUT WHERE THE EXCUTIBLE WAS AND PUT THAT IN THE PATH, AWESOME NOW, FIGURING EVERYTHING ELSE OUT
 
Old 02-09-2004, 05:52 AM   #27
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
good luck
we're happy if u solve ur trouble

ok lozz1978?
 
Old 02-09-2004, 06:46 AM   #28
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Rep: Reputation: 15
The instructions i supplied are correct, Which parts dont you understand ?

You got me all confused now ??
 
  


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
Firefox 0.8 and J2RE 1.4.2_03(Java) Comreak Linux - Software 31 12-09-2004 03:38 AM
Java J2re , why doesnt it make a directory? Ogledbyoldmen Linux - Software 2 12-03-2003 09:48 PM
Where can I get j2re (java) for RH 9.0? TippyToes Linux - General 5 06-17-2003 12:37 PM
j2re-1_4_1_01-linux-i586-rpm.bin gsikora Linux - Software 2 01-19-2003 10:55 PM
Installing Open Office and J2RE... where is Java? bxb32001 Linux - Software 6 07-03-2002 10:54 PM


All times are GMT -5. The time now is 07:43 AM.

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