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 |
just answered that in another thread
see it here http://www.linuxquestions.org/questi...hreadid=100333 |
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. |
do you know how to open a terminal and your root password?
|
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. |
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 |
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 " |
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 |
let me know if it works
or you get hung up some where |
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... |
[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 |
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 |
Ok, all done. I did exactly that. Should I reboot the box?
|
noooo thats a windows thing
open netscape browse see if it works |
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.
|
All times are GMT -5. The time now is 04:05 AM. |