16

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

2
  • What Java Control Panel?
    – guntbert
    May 12, 2014 at 15:25
  • Dash -> search "java" -> open java control panel -> open tab "security". It's that easy.
    – Danatela
    May 13, 2014 at 5:43

6 Answers 6

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.

0
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.

2
  • Pity the other answer was already accepted as this one is much more clean and succinct.
    – Blind Fish
    Nov 8, 2015 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, 2016 at 7:55
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

1
  • 2
    Medium level is now removed.
    – jnajna
    Dec 14, 2015 at 23:47
1

Go to the Path you saved Java.

Type

cd jre/bin/
sh ControlPanel
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .