OpenJdk for the transmission module

From E-fileWiki
Revision as of 12:47, 29 December 2020 by User (talk | contribs)
Jump to navigation Jump to search

Overview

This page gives you the information needed to setup openJDK for the transmission module on the www.e-file.lu platform.

The transmission module requires Java 8 with java Webstart and javaFX.

You do not need any administrator rights on the workstation but having them will simplify the procedure.

Step 1: Download a JDK with JavaFX

We suggest you to download OpenJDK Corretto from Amazon https://docs.aws.amazon.com/fr_fr/corretto/latest/corretto-8-ug/downloads-list.html

If you are not able to use the MSI installer (you do not have administrator rights) you can download the archive. In this case you need to set the java home. In the User variables add the variable: JAVA_HOME. As value put the path of the JDK previously downloaded.

JAVA HOME.jpg


Step 2: Download a tool for Java Webstart (Icedtea)

If you have the administrator rights on the workstation you can use the msi installer http://icedtea.wildebeest.org/download/icedtea-web-binaries/1.8/windows/itw-installer.msi

Alternatively, if you do not those rights, you can download the archive http://icedtea.wildebeest.org/download/icedtea-web-binaries/1.8/windows/icedtea-web-1.8.win.bin.zip


Step 4: Go to the Icedtea directory

Go to the Icedtea directory (bin folder) and open itweb-settings.exe

Itweb-settings exe.png


Step 4: Go to the Policy Settings section

Policy Settings section.png

Click on Simple editor . And then Apply and close. Then click on the Apply button of the configuration screen

Should you get an error message please create an empty file java.policy in the folder %USER_HOME%\.config\icedtea-web\security


Fifth step: The Advanced editor button

Advanced editor button and click on Add Policy Entry.png

Then click the Advanced editor button and click on Add Policy Entry Click the Advanced editor button and click on Add Policy Entry


In the field CodeBase insert the URL : https://homologation.e-file.lu/EfileCrypto/V5/* Click on Add permissionand in the drop down list Permission select java.security.AllPermission and click OK

Java.security.AllPermission and click OK.png

Finally click on Done

Then close the Policy Tool window and save

Policy Tool window and save.png

You should see a message indicating you succeed to modify the policy


You succeed to modify the policy.png