java j2re . bin
So I saved the download of j2re-1_4_2_03-linux-i586.bin to
file:/home/jeremy/Documents.....so question is can someone help step by step to get this installed and working on browser? Or to whatever i need to do with this,basicaly i just wanted to be able to chat, I get the error java executible not found so i am guessing this is what i need? |
|
ok thats starting in the right direction,but i am totaly new and do not know how to make the java sub directory or anything
|
sorry , just really new at this, should i download the file to any in particular?
|
open a terminal and i'll explain the rest ....
Quote:
su - and then your root password to be logged as root then it says create the subdirectory "java" in the /usr directory, so we then navigate to the /usr directory by typing : cd /usr and then it wants you to make the directory so you will type : mkdir java Quote:
Quote:
cd java if for some reason you left the /usr folder, then issue the full command as : cd /usr/java then the rest of the guide is step by step, which i personally don't think i could explain any further than it is ... but if you do get stuck, just come back and ask ;-) |
Ok i think i had it figured out before you replied but thanks so much going thru those steps made it easier for me.:)
|
well i went to type the first command, and i got. chmod: failed to get atributes for j2re....etc no such file or directory? :(
|
well there is three things i can think of :
a) your not in the directory where the file resides or b) your obviously not typing the filename correctly .. or c) you dont' have the file (but you said you downloaded it, so we can rule out this option :p) p.s. a little tip is something called "tab completion" and what it is, is instead of typing the full filename manually which can get tedious with longer names, you use tab to complete it for you .... so just for example type the following : j2re <PRESS TAB> and it will complete the rest of the word for you ... that is if there is not another file that has the first 4 characters of j2re, and if there is, you press tab again and it will list the files for you ... so i guess the benefit of using this technique is the fact you don't have to sit there and type the whole filename, and the fact that you know it will be spelled right :D |
well the saved file is in file:/home/jeremy/Documents so is that a problem?
|
it don't matter where you save it ...
just open a terminal and change in the directory and then follow the steps .. |
grrrrrrrrrrrrrrrrrr! lol
|
ok something is really screwy here, can i delete the directory i made? I tried to start from scratch but it sais directory isnt empty i made it wron i think because it is java/usr/java how can i fix this to try all this again?
|
n/m i got it had to force it ty anyway
|
help?
|
root@localhost java]# chmod a+x j2re-1_4_2_-linux-i586.bin
chmod: failed to get attributes of `j2re-1_4_2_-linux-i586.bin': No such file or directory ok so what is going on here why is this happening? |
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?
|
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 |
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. |
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 |
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 |
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. |
To lozz1978
I can't understand :rolleyes: :) :D :cool: :confused: :p :p :p :p l:twocents: :lol: |
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?
|
Setting the Konqueror you'll find a tab with java
|
ok so i have java enabled on kon so why isnt it working?
|
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:)
|
good luck
we're happy if u solve ur trouble ok lozz1978? :) |
The instructions i supplied are correct, Which parts dont you understand ?
You got me all confused now ??:confused: :confused: :confused: |
All times are GMT -5. The time now is 02:24 AM. |