LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-05-2003, 02:03 AM   #1
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Rep: Reputation: 15
In need of Java help..


Ok, day 2 of Linux experimentation, and I'm lost again. Since my first problem was resolved quickly, I'm assuming I can do it again.

Ok, problem is, I cannot get Java to work. I did a search and found a couple other threads where the person had the same issue I am - When trying to install athe self extracting Jave RPM from a .bin, I just get a text file, and nothing more. So what do I need to do from here? The last responce in the other thread was in german or something, because it made absolutely NO sense. If anyone can walk me through it really slow and simple (remember, I don't even know where the command line is at) I would be eternally grateful. As it is, I'm getting set to just format everything and install windows XP. It's microshaft, yes, but at least I can make it work, and installing a file is a double click on an .exe, not some string code that is so obscure and complex that only a hard core "geek" can do it.

Thanks in advance!

Robb
 
Old 10-05-2003, 02:07 AM   #2
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
just answered that in another thread

see it here
http://www.linuxquestions.org/questi...hreadid=100333
 
Old 10-05-2003, 02:22 AM   #3
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
Yes, that's the thread "in german" that I was referring to. I'm an EXTREME newbie to linux, and those instructions made no sense. They're problably adequate for someone who has at least some experience with Linux, whereas I do not. I need slightly more difinitive help. I read your instructions a dozen times, and they made no more sense the last time then the first. No offence, I'm just not familiar with the basics.

IE: "su to root
# ln-s /usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins"

I don't know what "su" means, not do I know where I'm supposed to enter the text.

Any (clearer) help would be appreciated.
 
Old 10-05-2003, 02:22 AM   #4
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
do you know how to open a terminal and your root password?
 
Old 10-05-2003, 02:30 AM   #5
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
I do know my root password, yes. Terminal, no.

I'm so pathetic at this that earlier, when I wanted to play an audio file from the net, and it asked me to choose a player, I couldn't get it done, despite the fact that a couple hours ago, I installed XMMS successfully.

One thing windows has over Linux, file structure, so it's easy to navigate.
 
Old 10-05-2003, 02:45 AM   #6
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
menu
system tools
terminal

(should have a black and white text screen)

cd is the command that means change directory
< > these are brackets to put in your information

in the terminal
type
$ cd < whereveryouput the file > ex. /home/<yourusername>/java

when you get there it should look like this
[joe@localhost java]$
type
$ ls ( this will list what is in the file )

take a look at the file
does it end in .rpm.bin
if so
type
$ chmod a+x j2re-1_4_2_ (and tab key)
then
$ ./j2re-1_4_2_ (and tab key)
******* A HINT -- type the first few letters of the package name and hit the tab key to complete the name ***********
Note that the initial "./" is required if you do not have "." in your PATH environment variable.

The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2re-1_4_2_<version>-linux-i586.rpm in the current directory.

the you wanta become root user aka super user
hense su

so type at the command prompt
$ su
< it now asks for your root password >
#
( when you see the tic-tac-toe sign you are root user , be careful
you can really mess up your box now if your not careful )

type now
# rpm -iv j2re-1_4_2_ (and tab key)


and java is installed
now while root

You are using mozilla rite??
it is mozilla 1.0.1 or mozilla 1.2.1 ???

then type

# ln-s /usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins

copy and paste the commads where you can , the one above should work as presented

oh yea when finished
contol key + d
twice exits out of root and then the terminal

Last edited by ehdwuld; 10-05-2003 at 02:46 AM.
 
Old 10-05-2003, 02:51 AM   #7
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
windows does alot of things for you
also lets other programs do alot of things TO you
linux is a bit more of a challenge but once you nderstand what you are doing it becomes much more,

" hands on "
 
Old 10-05-2003, 02:52 AM   #8
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
Ok. I REALLY, REALLY, REALLY appreciate the time it took for you to type all that out. Thanks, you are the man.

Now, I'm going to go give this a whirl, see if I can make it work.

Bbiab.

Robb
 
Old 10-05-2003, 03:00 AM   #9
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
let me know if it works
or you get hung up some where
 
Old 10-05-2003, 03:04 AM   #10
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
Well, it worked perfectly until I got to the "su" part. Here's a direct cut and paste:

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: j2re-1_4_2_01-linux-i586.rpm
Done.
[robb@localhost robb]$ su
Password:
[root@localhost robb]# rpm -iv j2re-1_4_2_01-linux-i586
error: open of j2re-1_4_2_01-linux-i586 failed: No such file or directory


I screwed up something. lol. Let me try again. I'm using netscape btw...

brb...
 
Old 10-05-2003, 03:09 AM   #11
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
[root@localhost robb]# rpm -iv j2re-1_4_2_01-linux-i586

should be

rpm -iv j2re-1_4_2_01-linux-i586.rpm

ok netscape 7.1??

then when your done installing java

copy and paste this into the terminal

ln-s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/netscape/plugins
 
Old 10-05-2003, 03:12 AM   #12
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
the last part tells the system link "ln" symbolic "-s" /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
to
/usr/lib/netscape/plugins
 
Old 10-05-2003, 03:13 AM   #13
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
Ok, all done. I did exactly that. Should I reboot the box?
 
Old 10-05-2003, 03:15 AM   #14
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
noooo thats a windows thing
open netscape

browse
see if it works
 
Old 10-05-2003, 03:15 AM   #15
Anth3m
Member
 
Registered: Oct 2003
Location: Saskatoon, SK, Canada
Distribution: Mandrake 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
Shoot. I'm an idiot. I'm running mozilla. But it looked like netscape, so I assumed that's what it was. Sorry, my bad.
 
  


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM
2 Questions: java calling system commands? PERL vs Java? randomx Programming 28 11-28-2003 08:24 PM


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