Can someone please show me how I can use/install a java applet I downloaded to work with my browser (firefox). The applet is BNCApplet.java that I got from this link:
http://world.std.com/~reinhold/BigNumCalc.html
I have installed openjdk using:
sudo apt-get install openjdk-8-jdk
And tried to compile by:
javac BNCApplet.java
which gave me loads of error messages that mean nothing to me. Here it is:
javac BNCApplet1.java
BNCApplet1.java:51: error: class BigNumCalc is public, should be
declared in a file named BigNumCalc.java public class BigNumCalc
^ Note: BNCApplet1.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note:
BNCApplet1.java uses unchecked or unsafe operations. Note: Recompile
with -Xlint:unchecked for details. 1 error
I am sure this java program is bug-free and should work flawlessly. In any case should I be compiling this at all before I can use it as a plugin? And how do I use it as a plugin.
Update: I have also installed icedtea as suggested by Byte Commander:
sudo apt-get install icedtea-8-plugin
and checked it in firefox preferences and it is there and active.
When I File/Open the BNCApplet.java in firefox it simply offers to save the file!
I badly need a step-by-step insrtructions to install this applet. Thanks