...
Eclipse is a popular IDE that is used by many committers to develop Java code. Eclipse projects have been created for you to use. You should use the latest Eclipse version, or at least 4.8 due to modular support.
IMPORTANT: The It's recommended that location of the mercurial repository (<PATH TO JFX>) must local git repository not be inside the Eclipse workspace directory. If it is, nothing will compile and work. (This might not be true anymore)
You should take advantage of Eclipse's incremental compiler and faster unit tests compared to Gradle tasks, however, you still need Gradle for the initial setup (./gradlew
or /.gradlew build
) that Make sure that you have ran gradle
(or gradle build
). The build task generates resources that are specified in the Eclipse projects dependencies. Without them, projects will fail to compile, and to verify that you can build with javac. You can either use Gradle from the command line or use Buildship.
Import the Eclipse Projects
- Go to
File -> Import -> General -> Existing Projects into Workspace.
- Set the root directory to the base repository path (/
rt
by default). - Check
Search for nested projects.
- Optionally, you might find it convenient to work with Working Sets.
Configure Eclipse to use the latest JDK
...