title: Getting "Access Denied" Error While Editing HOSTS Via JAVA program
body: <p>Getting An "Access Denied" Error While Editing "Hosts" File Through Java Program.
  Program needs an ADMINISTRATIVE PRIVILEGE To Edit The Hosts File.</p>
  
  <p>So Is there any Solution To provide That Administrative privilege to java program so that It can edit Hosts File. </p>
  
  <p>** Note **
  I am Using Window 8.1 OS.
  Hosts File Location is:
  C:\Windows\System32\Drivers\etc\Hosts</p>