I mark exams for Pearson online using a Java applet called e-PEN on this site. The 'minimum system requirements' state that only Vista or later Windows, and Internet Explorer 9 or later, are supported.
I am using Ubuntu 16.04 and I believe that the correct interpretation of 'minimum system requirements' is that these are the conditions in which I can expect assistance when I contact the ePEN helpdesk.
How can I make ePEN work in Ubuntu, preferably using Firefox?
Bonus section: I have already answered my own question (see below) using Oracle Java 8 BUT I would prefer to use only FOSS. I have uninstalled Oracle Java and made great progress with OpenJDK8 and IcedTea8. After I wrote an elaborate java security policy (basically granting each permission I got an error about in a slow line by line process) and copied the swt.jar
into the right directory (as in the Oracle fix), the applet does START with all features. However, I invariably get an InterruptedException
thrown within a few seconds:
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at
sun.applet.PluginAppletViewer.requestPluginCookieInfo(PluginAppletViewer.java:1266)
(or the same with .requestPluginCookieInfo
) which causes the applet to halt.
When running firefox in a terminal, I also see these two errors every time:
java.io.FileNotFoundException: https://path/to/applet/parent-url/xbean.jar
java.io.FileNotFoundException: https://path/to/applet/parent-url/tiny_mce_3.5.10.zip.pack.gz
If I try to go to the real URLs or wget
them, I get a 404 Not Found
error, so I guess those resources just aren't there. I tried downloading an xbean.jar
which I put into the same directory as the swt library jar, but this had no effect. I also get a NoClassDef
error and a Connection Refused error further down (after the fatal Interrupt
error has already been thrown).
All the info I find online relating to these errors is on how to stop them happening from the other side, as the developer. I'm tempted to give up, but still hoping someone will have a clue :)