16

How can I open Java's Control Panel to change the security settings?

belacqua
  • 23,120

6 Answers6

18

If you've manually installed Oracle Java it doesn't show up in the Dash (as far as I know).

  1. Open a terminal
  2. Execute the following command:

    /usr/bin/jdk1.8.0_05/bin/ControlPanel
    

    Replace /usr/bin/jdk1.8.0_05 by the path of your Java installation.

Louis Matthijssen
  • 11,885
  • 6
  • 44
  • 50
17

Open a terminal (Ctrl-Alt-T) and start

ControlPanel

Just a few moments later the Java Control Panel appeared. I haven't checked yet, but it may be necessary to

sudo ControlPanel

to save your changes.

A.B.
  • 90,397
7
  1. Open a terminal
  2. Execute the command: jcontrol
4

Hit the super key, search for "java" and it will show, amongst others, "java plugin control panel" if it is installed that is.

enter image description here

Rinzwind
  • 299,756
1

Go to the Path you saved Java.

Type

cd jre/bin/
sh ControlPanel
Kalle Richter
  • 6,180
  • 21
  • 70
  • 103
paddy
  • 11
0

as of java9... (Oct 2017)

This assumes you have installed java9 yourself (since the webupd8 PPA method is currently broken). After repeated purging of all things java-related (especially the default-installed java), I've not taken the time to fix the "update alternatives" infrastructure, so that particular link to jcontrol is borked (that is, the answer above -- "just type jcontrol in a terminal window" -- does not work).

This also assumes you have a working java installation (java -version returns something).

 # ls -al `which java`

You'll get something back like this:

  lrwxrwxrwx ... /usr/bin/java -> /usr/java/default/bin/java

So your command will be:

 # /usr/java/default/bin/jcontrol

Now, you can fix the alternatives link (the quick-and-dirty way), so you can just type jcontrol and have it work. I do recommend you use the update-alternatives structures (be sure you know what you are doing before taking these steps. I suggest using ls -al to check the links). This is done as root. You can put sudo in front of the commands if you feel better about doing that.

# ln -s -f /usr/java/default/bin/jcontrol /etc/alternatives/jcontrol
# ln -s -f /etc/alternatives/jcontrol /usr/bin/jcontrol
BISI
  • 722