• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

Unable to run Applets

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,
Recently, I installed a fresh installation of Ubuntu 8.04 on my laptop.
JDK 1.6.06 is installed via Synaptic.
Then, I run this command:
sudo update-java-alternatives --set java-6-sun
But I'm unable to run Java applets in FireFox 3.0.3
Any ideas?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does "unable to run" mean? Are there any messages in the Java Console?

Is Java turned in the browser?

Can you run applets using appletviewer?
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, it seems that there is a package called sun-java6-plugin should be installed in addition to sun-java6-jdk , sun-java6-jre , sun-java6-bin and the list go on ...
Why JDK6 is partitioned to many packages in Ubuntu repositories?
How I'm supposed to remember all these packages? why not one package?

Any way, thank you Ulf
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, does it work now?

Note that if you're running the 64-bit version of Ubuntu, it's not going to work, because Sun still doesn't have a 64-bit version of the Java plug-in. As far as I know, this is going to come "soon" (I think with Java 6 update 10).
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes it works.
I'm running 32-bit version of Ubuntu 8.04
 
Saloon Keeper
Posts: 29001
214
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is, thank goodness! a way to run applets on 64-bit Linux. I found a web site that gave a simple way to hack it in. I forgt its URL though.

No luck with Flash, however. I'm still Flash-blind. Which considering how Flash is abused is sometimes just a well.

It will be nice to have native applet support for 64-bit, however.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is another possibility. Do not use the Firefox that comes with your 64-bit Linux distro. Instead, download Firefox from the Mozilla web site - as far as I can tell they are all 32-bit versions - and install that, which involves simply unpacking the tar.gz file. I placed mine at /opt/firefox.

Next, download a 32-bit JDK (or JRE) from the Sun web site, and install it, which involves running the .bin file (for Ubunutu, do not download the *.rpm.bin version, get the other one). I placed mine at /usr/java/32bit/jdk1.6.0_07. Then follow the instructions to manually install the Java applets plugin..

Start (or restart) Firefox, and applets should now work. I did this on Kubuntu 8.04 64-bit and it works for me.
 
I don't like that guy. The tiny ad agrees with me.
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic