• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. OpenJFX
  4. Building OpenJFX

Page History

Versions Compared

Old Version 136

changes.mady.by.user Kevin Rushforth

Saved on Jul 18, 2019

compared with

New Version 137

changes.mady.by.user Kevin Rushforth

Saved on Jul 26, 2019

  • Previous Change: Difference between versions 135 and 136
  • Next Change: Difference between versions 137 and 138
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Setting up a Linux build configuration is fairly straightforward. These build instructions were used for Ubuntu 1618.04.

Ubuntu

...

18.04

First, run the following command to install all the required development packages:

TODO: verify and update this (I think many are unused)

sudo apt-get update
sudo apt-get install ksh libasound2libavformat-devffmpeg57 libgl1-mesa-dev \
    libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libjpeg-dev \
    libpng-dev libx11-dev libxml2-dev libxslt1-dev libxt-dev \
    libxxf86vm-dev pkg-config x11proto-core-dev \
    x11proto-xf86vidmode-dev libavcodec-dev mercurial mercurial git \
libgtk2.0-dev libgtk-3-dev \ libxtst-dev libudev-dev libavformat-dev

If you build WebKit (it is not built by default) you will need the following additional tools:

  • Cmake 3.813.2 3 or later, available from the Cmake download site
  • bison
  • flex
  • gperf
  • ruby

...

We use Oracle Linux 7 to build the javafx.* modules that we ship with the Oracle JDK releases. Here are the packages you will need:

TODO: verify and update this

yum install mercurial git bison flex gperf ksh pkgconfig \
    libpng12-devel libjpeg-devel libxml2-devel \
libxslt-devel systemd-devel glib2-devel gtk2-devel gtk3-devel \
    libXtstgtk2-devel gtk3-devel pango-devel freetype-devel

...

Popular options include SourceTree from Atlassian, TortoiseHg for Windows, or the command line tools from Mercurial. On Windows, you can also install Mercurial as a Cygwin package.

Git

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 future.

Gradle

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). 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.

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 435, "requestCorrelationId": "e08c1e72fc0ba924"}