You are not logged in.

#1 2009-06-13 08:35:54

KViiri
Member
Registered: 2009-06-10
Posts: 32

[SOLVED] Java applets

Hello once again!

Now that I have managed to install GNOME and get online, I'd like to be able to run Java applets. I have installed the OpenJDK, and have managed to run my own Java applications both with Eclipse and terminal. I am using Epiphany and I'm not sure how to enable Java there.

Thanks in advance!

EDIT: I also have tried these applets on Firefox, but they didn't work there either.

Last edited by KViiri (2009-06-14 13:31:42)

Offline

#2 2009-06-13 12:55:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Java applets

Sun is the only one that have a fully implimented java applet for web browsers.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-06-13 13:29:37

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: [SOLVED] Java applets

So I need Sun's Java to be able to run web applets?

Offline

#4 2009-06-13 14:21:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Java applets

In some cases, yes.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2009-06-13 16:17:46

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: [SOLVED] Java applets

Too bad.  I can't remove OpenJDK because JRE is required by Eclipse, and Sun's JRE conflicts with OpenJDK. Do I have to remove Eclipse to get Sun's JRE?

Offline

#6 2009-06-13 16:50:42

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: [SOLVED] Java applets

You could try:

pacman -Rd openjdk6

That will skip dependency checks so that you can uninstall OpenJDK without removing Eclipse, then install Sun JRE/JDK.

Offline

#7 2009-06-13 17:10:07

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: [SOLVED] Java applets

I switched back to OpenJDK since Sun's JRE didn't work with Eclipse. Applets didn't work with Sun's JRE either.

Offline

#8 2009-06-13 17:20:43

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [SOLVED] Java applets

start your browsers from comand line and watch for helpfull output. usually the plugins can show the applets. openjdk6 is doing a great job here.

Offline

#9 2009-06-13 17:37:09

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: [SOLVED] Java applets

I don't seem to have a Java plugin and I can't for some reason install one (needs a loving touch of the root user perhaps?). For example, this page http://www.ibiblio.org/lifepatterns/ has a Java start button in the top left corner. It is replaced bya "click here to download plugin" box, which doesn't react to clicking. I didn't receive any output from the terminal.

Offline

#10 2009-06-13 18:13:36

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: [SOLVED] Java applets

With Sun's version installed, you might want to look on about:plugins in Firefox (maybe Epiphany has this too?) and see if you find the plugin. If not you could create a symlink to the plugin in Epiphany's plugin folder. The JRE plugin is located at /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so.

For Eclipse you may just need to change some paths around from OpenJDK to Sun Java.

Last edited by linkmaster03 (2009-06-13 18:17:59)

Offline

#11 2009-06-13 19:44:51

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [SOLVED] Java applets

KViiri wrote:

I don't seem to have a Java plugin and I can't for some reason install one (needs a loving touch of the root user perhaps?). For example, this page http://www.ibiblio.org/lifepatterns/ has a Java start button in the top left corner. It is replaced bya "click here to download plugin" box, which doesn't react to clicking. I didn't receive any output from the terminal.

The button works well for me in Firefox. Please make sure once you have installed openjdk6 to relogin or source the profile file as stated in the pacman post.install message!

Offline

#12 2009-06-14 13:17:11

KViiri
Member
Registered: 2009-06-10
Posts: 32

Re: [SOLVED] Java applets

On Firefox, the button worked. It produced a window that told me that I could not install plugin. On Epiphany, the button didn't reaspond.

Ok I think I've got it figured out now - I installed KDE because I had issues with GNOME and foudn a way to do it on Konqueror. Thanks for all your help!

Last edited by KViiri (2009-06-14 13:31:26)

Offline

Board footer

Powered by FluxBB