As replacement for Java Web Start, IcedTea-web, provides a Java Web browser plugin. What I like about this project is that it is so clean, easy to access, easy to execute some Java Network Launch Protocol files.
Iced Tea Web – Control Panel
Using this setting will help to set the browser plugin
This basically is a link to the java.policy:
[$JAVA_HOME/jdk1.8.0_191]$ cd jre/lib/security/
[fdemeloj@fdemeloj security]$ ls
blacklist blacklisted.certs cacerts java.policy java.security javaws.policy policy trusted.libraries
Extended applet security
So here one can add the exceptions, in a similar way to JWS. So then you edit the rows in order to add the site exception.
On the link you can select the test to be done, the tests are .jnlp files that you execute directly clicking on it (of course, the default will be IcedTea-web) so we open. This one is pretty cool: circuit-construction-kit-dc_en.jnlp – Developed by PhET at the University of Colorado.
IcedTea test – circuit construction
The code is pretty straightforward, is jnlp file:
You will have a XML file with:
1. code base link (to fetch),
2.a jar file (to execute),
3. some properties – language for example
<?xml version=”1.0″ encoding=”utf-8″?>
<!– JNLP File for Circuit Construction Kit (DC Only) –>
<jnlp spec=”1.0+” codebase=”https://phet.colorado.edu/sims/circuit-construction-kit” href=”circuit-construction-kit-dc_en.jnlp”>
<property name=”javaws.phet.locale” value=”en” />
<property name=”javaws.user.language” value=”en” />
<jar href=”circuit-construction-kit_all.jar”/> ii
- The main class to be executed is set with <application-desc main-class>
- Interestingly they have this for several languages, including Korean and Portuguese! But the trick is to change the language is to change the property AND the doc circuit-construction-kit-dc_es.jnlp – Ampolleta is light in Spanish.