Why can't I run Java applets on my Fedora 8 system?
Hi all,
My problem is that I cannot run Java applets on my newly installed fedora 8 system. I get the 'Java starting...' splash screen and everything, but after that, nothing happens. I have tried thisbut it has not helped. Any ideas please? I urgently need to get the applets up and running. :( |
Do you know which java version you have installed on your system? I think Fedora is using their own openjdk project now called icedtea. You should have no problem using Sun JVM.
|
Type java -version in terminal and post the output.You maybe have sun's jdk,but you are maybe not using it.You need to switch from IcedTea to sun's jdk to be the default java environment.It's always good to reboot after installing jdk.
|
Quote:
|
Hello, can anyone please reply?
This has been my first hand linux experience and I didn't know linux was this buggy as well. :( |
As root try to run: update-alternatives --config java
This is not a bug,this is that you do not know what you are doing. |
Quote:
|
Are you sure that you have sun's-jdk installed?
|
icedtea is a stripped down version of the Sun JRE. It will work most of the time but then sometimes it won't. The failsafe option is still to visit Sun and install their own JRE.
Two reasons you can't find update-alternatives: - you need to run its as root as it is a system command - you may need to specify the full path: /sbin/update-alternatives But if you are already using icedtea, update-alternatives isn't going to be much help. So: install Sun JRE. That will be a bit of work, though. Fedora is rather a poor choice for anyone who wants the best java support without extra effort (I stress extra effort - I'm not saying it is overly complex or even impossible - just more work). |
Quote:
But then again, the alternatives shown on that page do not work for me (yes I modified the directories while using the same methods as given on that page - according to my installation of icedtea ) So, learning from your post, does it mean that I will have to get rid of icedtea and then do a clean install of Sun's jdk? If yes, how? PS- I had tried the update-alternatives command as root itself, and I also tried including the path. Nothing. |
Go to sun.java.com, download the jre rpm.bin to your home directory.
Make the it executable: chmod +x file_name.rpm.bin Execute it: ./file_name.rpm.bin It will create a set of rpm files. Install them (you need to be root for this part) with: rpm -ivh *rpm Install galternatives from the fedora repositories and use it to switch the plug-in from icedtea to sun jre. |
by the way the newest java for the browsers as of this post sucks, it's worser than the last version or so they had, so expect some trouble on some sites and freezing the browser so much to where about the only way out is to open a terminal and killall it well at last it does this on my browser. :/
edit: oh yeah, and if u changed your useragent and ur using firefox expect a crash where the browser will just suddenly quit when trying to start any java apps, the only way to use a java app. seems to use the default useragent. well at least these were the troubles I had with it on my browser. :) |
Quote:
|
Ok, no help. This seems to be a bug with Java - as shown here: http://bugs.sun.com/bugdatabase/view...bug_id=6532373
Problem is, their alternatives don't work for me. :( |
This not a bug, not a bug at all... the icedtea jvm is not complete yet. I think they use gcj to run applets for now. If you use sun jvm and make it the default on your pc, it should work...
The steps below might not be simple but if you can manage them, you're done. Sorry, I can't go into deep explanations, too long : - You need to install the sun jvm rpm - The sun jvm needs to be the first one found in your $PATH environment variable - The java plugin linked in the firefox plugins directory must be the one from Sun JVM BTW, the update-alternatives command is usually found on Debian based distributions such as Ubuntu, etc. |
All times are GMT -5. The time now is 11:20 PM. |