Get Social

Problem with java plugin in proxmox

The java plugin installed in this way works well by itself, but in the case of proxmox, it produces an error:

Appication Blocked by Security Settings: Your security setting have blocked a self-signed application from running

Here is error screenshot:


What to do? There are 2 solutions:

[Solution 1] Install IcedTea plugin and then connect it to the browser

aptitude install icedtea-7-plugin

And so on … But I did not do it, because I found a better solution -> next “Solution 2”.

[Solution 2] Configure Java Control Panel


Execute this command in the terminal and you get run the Java Control Panel.
If in your case there is no such file, then you can find it like this:

find /usr/lib/jvm/ | grep -i ControlPanel

Next, choose Security > Edit Site List > Add And add your path to the host (it was https://aspetruk:8006 in my case)


After that, proxmox console worked perfectly.

Howto install latest java and plug-in to chromium

Install build java utility:

aptitude install java-package

After that – go to link and download archive for your system (in my case it was: Linux x64 131.8 MB jdk-7u51-linux-x64.tar.gz). Compile deb-package:

make-jpkg jdk-7u51-linux-x64.tar.gz

(We could download rpm package and used the alien utility to convert it to deb, but [we are not looking for easy ways]||[it seems make-jpkg compiled package will be more correct] ). Now install it:

dpkg -i oracle-j2sdk1.7_1.7.0+update51_amd64.deb

To connect it to the browser, we do so:

mkdir ~/.config/chromium/plugins
ln -s /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/ ~/.config/chromium/plugins/

Even without restarting the browser, you can immediately go to the link and check the version of java.