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

  • What Java Control Panel? – guntbert May 12 '14 at 15:25
  • Dash -> search "java" -> open java control panel -> open tab "security". It's that easy. – Danatela May 13 '14 at 5:43
up vote 16 down vote accepted

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.

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.

  • Pity the other answer was already accepted as this one is much more clean and succinct. – Blind Fish Nov 8 '15 at 18:34
  • Shouldn't sudo -H be used here? I've been told running a GUI application as root can cause trouble. – grooveplex May 30 '16 at 7:55
  1. Open a terminal
  2. Execute the command: jcontrol

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

  • 2
    Medium level is now removed. – jnajna Dec 14 '15 at 23:47

Go to the Path you saved Java.

Type

cd jre/bin/
sh ControlPanel

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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.