Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation where to find Monocle source code #106

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions src/docs/source-code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Monocle Source

It is often difficult to remember where to find the Monocle source code in
order to build it. This document notes where to find the Monocle source code
for Java LTS versions.

In all cases, the code for Monocle is found in the following folder in the source archive:

`modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle`

## JFX 21
Since JFX 14 all JFX source code is now on [Github](#github)

URL: https://github.com/openjdk/jfx/tree/jfx21

## JFX 17

Since JFX 14 all JFX source code is now on [Github](#github)

URL: https://github.com/openjdk/jfx/tree/jfx17

## JFX 11

Version 11.0.2 was the last freely supported version of JFX 11. All other
releases require an LTS support contract with Gluon.

Download 11.0.2 from [Gluon](#gluon): https://download2.gluonhq.com/openjfx/11.0.2/openjfx-11.0.2_linux-x64_bin-sdk.zip


## JFX 8
JavaFX 8 source code is bundled with any JDK 8 release.

URL: https://adoptium.net/temurin/releases/?os=linux&arch=x64&package=jdk&version=8

## GitHub
1. Navigate to: https://github.com/openjdk/jfx
1. Select the branch for the version of JFX for which you are building Monocle
1. Click the `<> Code` button
1. Click the `Download ZIP` link

## Gluon
1. Navigate to: https://gluonhq.com/products/javafx/
1. Scroll down to `Downloads` section
1. Select the `Include older versions` checkbox
1. Choose the version of JFX for which you are building Monocle
1. Click the `Download` button

## Eclipse Temurin
1. Navigate to: https://adoptium.net/temurin/releases
1. Select the version of Java for which you are building Monocle
1. Click the archive link to download