Skip to content

Commit

Permalink
Merge pull request #173 from Querz/1.14.1
Browse files Browse the repository at this point in the history
1.14.1
  • Loading branch information
Querz committed Feb 28, 2021
2 parents fc423fc + 676317a commit f607ab4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,15 +381,15 @@ If you would like to contribute a translation, you can find the language files i

---

[**Download Version 1.14 (Windows Installer)**](https://github.com/Querz/mcaselector/releases/download/1.14/MCA_Selector_Setup.exe)
[**Download Version 1.14.1 (Windows Installer)**](https://github.com/Querz/mcaselector/releases/download/1.14.1/MCA_Selector_Setup.exe)

"Requirements":
* Windows 7-10 64bit
* At least 6 GB of RAM

---

[**Download Version 1.14 (Universal)**](https://github.com/Querz/mcaselector/releases/download/1.14/mcaselector-1.14.jar)
[**Download Version 1.14.1 (Universal)**](https://github.com/Querz/mcaselector/releases/download/1.14.1/mcaselector-1.14.1.jar)


"Requirements":
Expand All @@ -401,23 +401,23 @@ If you would like to contribute a translation, you can find the language files i
* A brain

### What works on most systems
Most likely, `.jar` files are associated with java on your computer, it should therefore launch by simply double clicking the file (or however your OS is configured to open files using your mouse or keyboard). If not, you can try `java -jar mcaselector-1.14.jar` from your console. If this doesn't work, you might want to look into how to modify the `PATH` variable on your system to tell your system that java is an executable program.
Most likely, `.jar` files are associated with java on your computer, it should therefore launch by simply double clicking the file (or however your OS is configured to open files using your mouse or keyboard). If not, you can try `java -jar mcaselector-1.14.1.jar` from your console. If this doesn't work, you might want to look into how to modify the `PATH` variable on your system to tell your system that java is an executable program.

### If you have Minecraft Java Edition installed
Minecraft Java Edition comes with a JRE that you can use to start the MCA Selector, so there is no need to install another version of Java on your system.

For Windows:
* Hold `Shift` and Right-click on an empty space and select `Open PowerShell window here` (`Open Command window here` on Windows 8 and earlier).
* Type `& "C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\java" -jar `, then drag and drop the `mcaselector-1.14.jar into the console` and press `Enter`. In the Command window (Windows 8 and earlier), the command starts with `"C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\java" -jar ` instead and the path to `mcaselector-1.14.jar` must be typed or copied and pasted into the console manually.
* Type `& "C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\java" -jar `, then drag and drop the `mcaselector-1.14.1.jar into the console` and press `Enter`. In the Command window (Windows 8 and earlier), the command starts with `"C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\java" -jar ` instead and the path to `mcaselector-1.14.1.jar` must be typed or copied and pasted into the console manually.

For MacOS:
* Press `Cmd+Space`, type `Terminal` and press `Enter`.
* Type `~/Library/Application\ Support/minecraft/runtime/jre-x64/jre.bundle/Contents/Home/bin/java -jar ` (with a space at the end), then drag and drop the `mcaselector-1.14.jar` into the console and press `Enter`.
* Type `~/Library/Application\ Support/minecraft/runtime/jre-x64/jre.bundle/Contents/Home/bin/java -jar ` (with a space at the end), then drag and drop the `mcaselector-1.14.1.jar` into the console and press `Enter`.

**WARNING:** For MacOS 10.14+ (Mojave) It is NOT recommended to use the JRE provided by Minecraft (1.8.0_74), because it contains a severe bug that causes JavaFX applications to crash when they lose focus while a dialog window (such as the save-file-dialog) is open (see the bug report [here](https://bugs.openjdk.java.net/browse/JDK-8211304)). This bug has been fixed in Java 1.8.0_201 and above.

### If you receive a JavaFX error
"When I run `mcaselector-1.14.jar`, an error dialog appears that looks like this:"
"When I run `mcaselector-1.14.1.jar`, an error dialog appears that looks like this:"

<p align="center">
<img src="https://gist.githubusercontent.com/Querz/5e08c4ab863c2ad8b5da146dc4188ecb/raw/88e1887eb441c1f0f60af6eb3dfcf7917b16544a/missing_javafx.png" alt="Popup dialog stating a missing JavaFX installation">
Expand All @@ -434,28 +434,28 @@ For MacOS:
Type the command `java -version` and press `Enter`. If the output shows that your java command is linked to `java version "1.8.0"`, you can simply run MCA Selector through the console.

For Windows and MacOS:
* Type `java -jar ` (with a space at the end) and drag and drop the `mcaselector-1.14.jar` into the console and hit `Enter`.
* Type `java -jar ` (with a space at the end) and drag and drop the `mcaselector-1.14.1.jar` into the console and hit `Enter`.

For Linux:
* Run `java -jar <path to mcaselector-1.14.jar` where you replace everything in `<>`.
* Run `java -jar <path to mcaselector-1.14.1.jar` where you replace everything in `<>`.

If the output shows a Java version higher than Java 8, please find and download the appropriate JavaFX version from [Here](https://gluonhq.com/products/javafx/). If you know what to do, do it. If you don't, follow these steps:

For Windows:
* Download "JavaFX Windows SDK" for your Java version from [here](https://gluonhq.com/products/javafx/).
* Unzip the `.zip`-file with your program of choice, then navigate into the unzipped folder.
* Hold `Shift` and Right-click on an empty space in that folder and select `Open PowerShell window here` (`Open Command window here` on Windows 8 and earlier). Type `java --module-path ` (with a space at the end), then drag and drop the `lib`-folder into the console. Continue to type ` --add-modules ALL-MODULE-PATH -jar ` (with a space at the beginning and the end), then drag and drop the `mcaselector-1.14.jar` into the console and hit `Enter`.
* Hold `Shift` and Right-click on an empty space in that folder and select `Open PowerShell window here` (`Open Command window here` on Windows 8 and earlier). Type `java --module-path ` (with a space at the end), then drag and drop the `lib`-folder into the console. Continue to type ` --add-modules ALL-MODULE-PATH -jar ` (with a space at the beginning and the end), then drag and drop the `mcaselector-1.14.1.jar` into the console and hit `Enter`.

For MacOS:
* Download "JavaFX Mac OS X SDK" for your Java version from [here](https://gluonhq.com/products/javafx/).
* Double-click the `.zip`-file to unpack, then navigate into the unzipped folder.
* Press `Cmd+Space`, type `Terminal` and press `Enter`. Type `java --module-path ` (with a space at the end), then drag and drop the `lib`-folder into the console. Continue to type `--add-modules ALL-MODULE-PATH -jar ` (with a space at the end), then drag and drop the `mcaselector-1.14.jar` into the console and hit `Enter`.
* Press `Cmd+Space`, type `Terminal` and press `Enter`. Type `java --module-path ` (with a space at the end), then drag and drop the `lib`-folder into the console. Continue to type `--add-modules ALL-MODULE-PATH -jar ` (with a space at the end), then drag and drop the `mcaselector-1.14.1.jar` into the console and hit `Enter`.

For Linux:
* Download "JavaFX Linux SDK" for your Java version from [here](https://gluonhq.com/products/javafx/).
* Unzip the `.zip`-file with your program of choice.
* Open the command prompt and run `java --module-path <path to unzipped folder>/lib --add-modules ALL-MODULE-PATH -jar <path to mcaselector-1.14.jar>` where you replace everything in `<>` with the appropriate paths.
* Some distributions like AdoptOpenJDK (shipped with most Linux distributions) do not ship with JavaFX by default. On Debian, an open version of JavaFX is contained in the `openjfx` package. This or some other installation of JavaFX is required to run the `mcaselector-1.14.jar`.
* Open the command prompt and run `java --module-path <path to unzipped folder>/lib --add-modules ALL-MODULE-PATH -jar <path to mcaselector-1.14.1.jar>` where you replace everything in `<>` with the appropriate paths.
* Some distributions like AdoptOpenJDK (shipped with most Linux distributions) do not ship with JavaFX by default. On Debian, an open version of JavaFX is contained in the `openjfx` package. This or some other installation of JavaFX is required to run the `mcaselector-1.14.1.jar`.

To avoid having to go through this process every time to start MCA Selector, the resulting command can be copied into a `.bat`-file on Windows or `.sh`-file on MacOS and Linux and can then be executed by double-clicking the `.bat`-file on Windows or running `sh <file>.sh` in the terminal / console on MacOS or Linux where `<file>` must be replaced by the name of the `.sh`-file.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply plugin: 'css'
apply plugin: 'edu.sc.seis.launch4j'

group 'net.querz.mcaselector'
version '1.14'
version '1.14.1'
def appName = 'MCA Selector'
def appUrl = 'https://github.com/Querz/mcaselector'
def appAuthor = 'Querz'
Expand Down

0 comments on commit f607ab4

Please sign in to comment.