FreeBSD Java Plugin x64

Here’s manual how to make installed diablo java x64 work in browsers, like in Opera for example.

If you installed JDK or JRE via PC-BSD PBI, then you should make soft-links

/usr/Programs/JavaJDK/diablo-jdk1.6.0 -> /usr/local/diablo-jdk1.6.0

Also, you need create additional link:

/usr/local/diablo-jdk1.6.0/jre/lib/amd64/server -> /usr/local/diablo-jdk1.6.0/jre/lib/amd64/client

After this, Opera will find installed JRE automatically, and enable it.

To play some games/launch some apps, you need to tweak java permissions (to allow sound, graphics, filesystem access, etc).

For Opera:

edit (under root) file /…. opera.policy

and add there some of this lines (the choice is yours!):

grant {

permission  #to allow applets access whole internet

permission java.awt.AWTPermission «accessClipboard»;

permission «localhost:5577″ ,  «accept, connect, listen»;

permission java.lang.RuntimePermission «loadLibrary.<library name>»;

permission javax.sound.sampled.AudioPermission «play»

permission; #Not recommended at all ;)


Comments are closed.