title: Do not know how to get permission to write eclipse.ini file
body: <p>Right now I do not have eclipse on my mac. The version of my mac is macos mojave version 10.14.6.
  I tried to download Eclipse IDE 2018-12 R Packages. It is for Enterprise Java Developers, and the link is here. <a href="https://www.eclipse.org/downloads/packages/release/2018-12/r" rel="nofollow noreferrer">https://www.eclipse.org/downloads/packages/release/2018-12/r</a>
  After i installed. I launched it and I got
  <a href="https://i.stack.imgur.com/HRTSw.png" rel="nofollow noreferrer">This is the error message I got</a>
  So i tried this
  &quot;1. Open the eclipse.ini file from your eclipse folder,see the picture below.</p>
  <p>eclipse.ini</p>
  <ol start="2">
  <li>Open eclipse.ini in Notepad or any other text-editor application, Find the line -Xmx256m (or -Xmx1024m). Now change the default value 256m (or 1024m) to 512m. You also need to give the exact java installed version (1.6 or 1.7 or other).</li>
  </ol>
  <p>max size</p>
  <p>Like This:</p>
  <p>-Xmx512m
  -Dosgi.requiredJavaVersion=1.6
  OR</p>
  <p>-Xmx512m
  -Dosgi.requiredJavaVersion=1.7
  OR</p>
  <p>-Xmx512m
  -Dosgi.requiredJavaVersion=1.8
  Then it works well for me. &quot;
  <a href="https://stackoverflow.com/questions/7302604/eclipse-error-failed-to-create-the-java-virtual-machine">Eclipse error: &#39;Failed to create the Java Virtual Machine&#39;</a>
  I cannot edit this file because it says I do not have access permission.
  How do I fix that?</p>