Lab: Environment Setup – Home – Fix to Run Eclipse So That Subclipse (SVN) Works


This document describes how you can prevent problems using SVN in Eclipse on your Home computer.

  1. Find the Eclipse installation folder on your computer. (On a Mac, find the eclipse app.)
  2. Edit the eclipse.ini text file in the Eclipse installation folder. (On a Mac, find the eclipse app, right click on it, show package contents, go to content/Eclipse/eclipse.ini, modify eclipse.ini according to the next instruction below.)
  3. In eclipse.ini, add the following line at the end of the file (you may want to copy and paste it from here to avoid making a mistake when typing it):
        --add-opens=java.base/java.lang=ALL-UNNAMED
       
    and save the file.
  4. [On Macs only, if you cannot edit the eclipse.ini file, you must install the Eclipse application by dragging the Eclipse icon to the Applications folder. After that, edit the eclipse.ini file in the installed Applications folder and make sure you run Eclipse from the Applications folder, not the one you were using before.]