1 Replies - 613 Views - Last Post: 04 August 2017 - 12:46 PM

#1 mercy_angel  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 321
  • Joined: 28-February 13

java exception sites add from terminal

Posted 04 August 2017 - 01:55 AM

Does it possible to add sites mannualy through terminal in security tab in java control panel options? It is pain in the ass to do it allways thorugh GUI..
Is This A Good Question/Topic? 0
  • +

Replies To: java exception sites add from terminal

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 5061
  • View blog
  • Posts: 13,659
  • Joined: 18-April 07

Re: java exception sites add from terminal

Posted 04 August 2017 - 12:46 PM

Well that list is contained in a simple text file. On Mac it is usually ~/Library/Application Support/Oracle/Java/Deployment/Security
and the file will be called "exception.sites". Now this file will only exist after you add a site to the exception list in the GUI. So add it in the GUI and then go back to that location in the file system. You can manually add lines to this file (if you have permission problems, make sure you are using an editor with admin permissions enabled).

Hope that is what you were looking for. :)

This post has been edited by Martyr2: 04 August 2017 - 12:49 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1