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:

java-plugin-proxmox-blocked

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

/usr/lib/jvm/j2sdk1.7-oracle/bin/ControlPanel

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)

java-plugin-proxmox-control-panel

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:

su
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/libnpjp2.so ~/.config/chromium/plugins/libjavaplugin.so

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

The history of one error … (microsoft forms)

In a certain kingdom, in a certain state …

In one company, specific software is used. For that software even more specific applications are written in the Excel using Visual Basic to generate reports. But, when Access is not installed (and it is often not included in the office components), this report produces a similar error:

Microsoft Forms: Could not load an object because it is not available on this machine
mscal.ocx

We get rid of it error simply. We search another computer with the same version of the office where Access is installed. Then the file mscal.ocx (usually it is in c:\\program files\microsoft office\officeXX, where XX is the office version), copy it from there. Then we register it on the command line:

regsvr32 "c:\\program files\microsoft office\office\XXmscal.ocx"
vb-error

After this, error should disappear …