Click to See Complete Forum and Search --> : java plugin
yasic
06-16-2004, 04:47 PM
I desire to install java onto my computer
so far, i have went to java.com, and followed the installaction instuructions (except instead of /usr/java i used /home/me )
when i attempt to run a application that uses java, i get this message:
"This page contains information of a type (application/x-java-vm) that can only be viewed with the appropriate Plug-in."
the screen when the application should be running is grey with a picture of a small blue jigsaw piece in the center
The site java.com gives me the following information also:
Java vandor: Sun Microsystems Inc.
jRE Version: 1.4.2_02-ea
Operating System: Linux
OS version: 2.4.20-8
can anyone please tell me what i should do to get my JAVA to work?
yasic
Choozo
06-16-2004, 04:52 PM
Originally posted by yasic
can anyone please tell me what i should do to get my JAVA to work?
Follow instructions already laid out in numerous threads on this site. Try out the nice search function here...
rbrimhall
06-16-2004, 04:56 PM
Knowing what distro might help too b/c there may be built packages that you can install...
Icarus
06-16-2004, 06:05 PM
http://java.sun.com is really the place to go
You will want the Java(TM) 2 Runtime Environment, Standard Edition 1.4.2_04
The file you will want to grab is the j2re-1_4_2_04-linux-i586.bin
To install it, su as root and then "sh j2re-1_4_2_04-linux-i586.bin"
follow the instructions from there
yasic
06-16-2004, 11:15 PM
My distro is: Fedora Core 2
i have went on java.sun.com, found your recomanded files, and attempted to install them (i believe i was successfull, as a plugin link was created) and i followed all the insturctions given
the link exists in /usr/lib/mozilla-1.6/plugins for the necesary java, as said in the instalation instructions
The check box called enable java, in edit - pref. - advanced, is checked off.
at this moment i have a few questions:
1. how do i know if java is installed and mmalfalfunctioning or if it not properly installed?
2. if it is malfunctioning, what steps should i take to fix it
3. if it is not properly installed, is it safe (with the link to plugins there) to completly delete everything i have with java, and attempt to restart (I have done this earlier today before the link was installed, since then i dont think i had anything to risk)
thanks in advance
also, i have attempted to search on google, but i could not find anything that could help me, as i have a specific question on what i have done wrong in my instalation, now how do i install it
i have also attempted to search on this site, however the majority of questions similar to mine consisted of two parts:
1. please indicate the distro that you are useing (most of the questions were asked by noobs like me, and newbies seem to no indicate their distro at first)
2. please search google and the rest of this site for answers
that does not help me alot
and when an answer was given, it was related to something that does not help me
thanks again in advance
yasic
rbrimhall
06-16-2004, 11:23 PM
Well, as much as Icarus may disapprove ;) You can always use apt to install the plugin from here or just install the rpm yourself:
http://dag.wieers.com/packages/j2re/
You need java and the mozilla plugin rpm for FC2.
As far as seeing if your current plugin is working... check "about:plugins" (this is supposed to be a colon and a p but that apparently is an emoticon as well) in the location bar to see if it's listed and then find a sight that uses java to see if it's working:
This was revealed by google:
http://www.shodor.org/interactivate/activities/factors/index.html
yasic
06-16-2004, 11:32 PM
thanks :)
i will look at the link right now
and i cant access the google link:
the google link that you posted takes me to a page that uses java to run, and at this moment the site does not work
(it gives me the grey screen with the jigsaw i posted earlier)
i apologise if i am missing something as i am a noob, and do not know much
thanks again :)
yasic
rbrimhall
06-16-2004, 11:38 PM
I used the rpms to install my java and plugin and then symlinked the mozilla plugins to my firefox plugins... the site works for me but the words are to big for the area provided for the plugin... but it works (more or less)
Icarus
06-17-2004, 07:17 AM
What do you get when you type
java -version
If you get a version number responce, java is on your system. With the plugin, try this
How to install Java (JRE) Plug-in for Mozilla?
1) Follow the instructions "How to install Java (JRE)?"
2) Set:
2a) # ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
2b) # ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.6/plugins/
3) Done!
and then try that page lupin_the_3rd posted
XiaoKJ
06-17-2004, 08:48 AM
FC2 is a rpm-based distro. in an binary package management system try not to compile from source becos of different structures.
BTW what browser are you using? we cannot help you much if we son't know that!
Icarus
06-17-2004, 09:16 AM
I haven't found much difference in using an RPM over the .bin file. They are both binaries, the only difference maybe where it puts the files, but even that is pretty standard
rbrimhall
06-17-2004, 09:55 AM
Yep, I've never noticed a difference... except that the dag rpm puts a java control center menu item in gnome... but the latest bin may do that as well... I'm just lazy;)
yasic
06-17-2004, 09:54 PM
i have tried doing all those insturctions many times
each time it says that the file is already installed, or for whatever thing i am doing, it just says that it was already done
and i am using mozilla 1.6
i'm just about ready to throw this computer out the window
j79zlr
06-17-2004, 10:01 PM
ok, this is not hard. go into the plugin directory and remove any symlinks there. /usr/lib/mozilla-1.6/plugins
Download sun's java and run the installer, enter /usr/lib/mozilla-1.6 as the path to your browser.
Choozo
06-18-2004, 01:30 AM
... also make sure you have enabled Java in your browsers preferences ...
tuxnewb
06-18-2004, 01:39 AM
If i am not mistaken the problem can be solved by him including the java dir to his path. I am not able to remeber exactly how to do this and dont have the time to google it myself but that was my problem. I had the java installed just didnt have the dir in my path. if that doesnt sound right flame me :)