- Loading...
...
opensshzipunzipmake (needed to compile media)makedepend (needed for media)gitDesktop development with C++ workload is required at most, but it may be possible to install individual components to satisfy the requirements....
bisonflexg++gperfperlpythonrubyAll commands on this page are ran inside Cygwin (and not in Windows CMD).
...
sudo apt-get update
sudo apt-get install libavformat-ffmpeg57 libgl1-mesa-dev \
    libx11-dev pkg-config x11proto-core-dev mercurial git \
    libgtk2.0-dev libgtk-3-dev...
Download OpenJDK 11 12 or later to use as the boot JDK to build and test OpenJFX. We recommend JDK 12.0.213.
...
OpenJFX
...
(and OpenJDK) transitioned to Git as part of Project Skara. The OpenJFX repo is hosted on GitHub at openjdk/jfx. We encourage developers to become familiar with Git and GitHub.
Many (if not all) IDEs include built in support
...
. For example, Eclipse uses EGit, which can be downloaded through the built-in update site http://download.eclipse.org/releases/latest/ under Collaboration > Java implementation of Git.
For Linux,
...
the git package is included in the list of required packaged that were installed.
...
On Windows, you can also install
...
git as a Cygwin package.
The javafxports/openjdk-jfx mirror on GitHub is used a development sandbox, so we encourage developrers to become familiar with Git. We are in the process of transitioning to Git as part of Project Skara. The OpenJFX repo is: https://github.com/openjdk/jfx. That is currently a read-only mirror, but we will likely transition to it in the not-too-distant futurePopular GUI options include SourceTree for Windows or Mac from Atlassian and TortoiseGit for Windows.
Gradle is the primary build tool for building OpenJFX. Since the repository includes a Gradle wrapper that will download the correct Gradle version when needed, you do not need to manually install Gradle. We currently use Gradle 5.3 for jfx-dev (IMPORTANT: Only this version is regularly tested). The current and minimum Gradle versions are defined in the source code. If you want to generate a wrapper yourself (for example, you want to build OpenJFX with a different Gradle version), then you will need to install Gradle.
...
JAVA_HOME and JDK_HOME to point to the root of your jdk-N release.$JAVA_HOME/bin to your PATHgradle-5x.3y/bin to your PATH where x.y is the versionapache-ant-1.10.5/bin to your PATH...
All OpenJFX sources are held in mercurial repositories. As mentioned in Repositories and Releases, we have several different repositories for you to choose from, although most developers should use the mainline jfx-def repo. in https://github.com/openjdk/jfx (see Repositories and Releases). To clone the repo from the command line, use:
| Code Block | ||
|---|---|---|
| 
 | ||
| # for the active development stream, currently targeted for JDK 1314 hggit clone httphttps://hggithub.com/openjdk.java.net/openjfx/jfx-dev/rtjfx.git | 
Other tools will have a clone option(Note: Historically you also had to clone the top "jfx" repository in the forest that you cared about. However we have modified our approach, such that we no longer promote the use of a forest, and instead are putting all of our sources in a single repository, named "rt").
Before diving directly into building OpenJFX, lets get our feet wet by learning what kinds of things we can call from the command line, and how to get help when we need it. The first command you should execute is tasks:
...