title: Error when installing Eclipse on Linux Mint
body: <p>I just followed the Eclipse websites links to download the latest version for Debian, and after running from the terminal</p>
  
  <pre><code>$ ./eclipse-inst
  </code></pre>
  
  <p>It goes through the installation process but returns</p>
  
  <pre><code>JVM terminated. Exit code=1
  /usr/lib/jvm/java-9-openjdk-amd64/bin/java
  -Dosgi.requiredJavaVersion=1.8
  -Dosgi.instance.area.default=@user.home/eclipse-workspace
  -XX:+UseG1GC
  -XX:+UseStringDeduplication
  --add-modules=ALL-SYSTEM
  -Dosgi.requiredJavaVersion=1.8
  -Dosgi.dataAreaRequiresExplicitInit=true
  -Xms256m
  -Xmx1024m
  --add-modules=ALL-SYSTEM
  -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/-&gt;http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  -Duser.dir=/root/eclipse/java-photon/eclipse
  -jar /root/eclipse/java-photon/eclipse//plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
  -os linux
  -ws gtk
  -arch x86_64
  -showsplash
  -launcher /root/eclipse/java-photon/eclipse/eclipse
  -name Eclipse
  --launcher.library /root/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200/eclipse_1705.so
  -startup /root/eclipse/java-photon/eclipse//plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
  --launcher.appendVmargs
  -exitdata eb0026
  -product org.eclipse.epp.package.java.product
  -vm /usr/lib/jvm/java-9-openjdk-amd64/bin/java
  -vmargs
  -Dosgi.requiredJavaVersion=1.8
  -Dosgi.instance.area.default=@user.home/eclipse-workspace
  -XX:+UseG1GC
  -XX:+UseStringDeduplication
  --add-modules=ALL-SYSTEM
  -Dosgi.requiredJavaVersion=1.8
  -Dosgi.dataAreaRequiresExplicitInit=true
  -Xms256m
  -Xmx1024m
  --add-modules=ALL-SYSTEM
  -Declipse.p2.max.threads=10
  -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
  -Doomph.redirection.index.redirection=index:/-&gt;http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
  -Duser.dir=/root/eclipse/java-photon/eclipse
  -jar /root/eclipse/java-photon/eclipse//plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar 
  </code></pre>
  
  <p>I wasn't able to search the error but it may be because the error is so massive that I don't know which parts of it to search for.  I tried searching the initial segment of the error and didn't find much that was useful.  What I did find indicated editing the <code>eclipse.ini</code> file, so I did that, and it now looks like the following: [Edit: after the advice of a proposed answer I updated the file to look like the following]</p>
  
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
  --launcher.library
  plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist
  -showsplash
  org.eclipse.platform
  #--launcher.XXMaxPermSize
  #256m
  --launcher.appendVmargs
  
  -vm
  /usr/lib/jvm/java-9-openjdk-amd64/bin/java
  
  -vmargs
  -Dosgi.requiredJavaVersion=1.8
  --add-modules=ALL-DEFAULT
  -Xms40m
  -Xmx384m
  -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
  </code></pre>
  
  <p>However, after making this edit I see no difference in the error message that the installer brings up.</p>
  
  <p>I believe it's also possible to get Eclipse not by downloading the installer but by using a repo--but as I understand it, this repo usually has a slightly outdated version of Eclipse.  I could certainly be wrong, but I believe I've seen advice that it's best to download and use the installer.  </p>
  
  <p>When I run <code>java -version</code> it returns </p>
  
  <pre><code>openjdk version "9-internal"
  OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
  OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
  </code></pre>
  
  <p>When I try to run Eclipse it pops up an error message</p>
  
  <pre><code>An error has occurred. See the log file
  /home/bob/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1533437446117.log.
  </code></pre>
  
  <p>And interestingly, the folder in which the file is supposed to exist, doesn't exist.</p>