Skip to content

Commit fa65a85

Browse files
committed
update version to 1.12.2
1 parent cd882aa commit fa65a85

File tree

2 files changed

+38
-25
lines changed

2 files changed

+38
-25
lines changed

README.md

Lines changed: 37 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@
3737
* [Checkout and building](#checkout-and-building)
3838
* [Translation](#translation)
3939
* [Download and installation](#download-and-installation)
40-
* [If you have Java from Oracle installed on your system](#if-you-have-java-from-oracle-installed-on-your-system)
41-
* [If you have Minecraft Java Edition installed on your system](#if-you-have-minecraft-java-edition-installed-on-your-system)
42-
* [If you are using OpenJDK](#if-you-are-using-openjdk)
43-
* [If you are using Java 11 or higher](#if-you-are-using-java-11-or-higher)
40+
* [What works on most systems](#what-works-on-most-systems)
41+
* [If you have Minecraft Java Edition installed](#if-you-have-minecraft-java-edition-installed)
42+
* [If you receive a JavaFX error](#if-you-receive-a-javafx-error)
4443
<!--toc-end-->
4544

4645
---
@@ -337,7 +336,7 @@ If you would like to contribute a translation, you can find the language files i
337336

338337
## Download and installation
339338

340-
[**Download Version 1.12.1**](https://github.com/Querz/mcaselector/releases/download/1.12.1/mcaselector-1.12.1.jar)
339+
[**Download Version 1.12.2**](https://github.com/Querz/mcaselector/releases/download/1.12.2/mcaselector-1.12.2.jar)
341340

342341
"Requirements":
343342
* Either:
@@ -347,33 +346,47 @@ If you would like to contribute a translation, you can find the language files i
347346
* At least 6 GB of RAM. If lower, more RAM has to manually be assigned to the JVM using the `-Xmx` argument. Assigning 4 GB is recommended.
348347
* A brain
349348

350-
#### If you have Java from Oracle installed on your system
349+
### What works on most systems
350+
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.12.2.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.
351351

352-
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.12.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.
352+
### If you have Minecraft Java Edition installed
353+
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.
353354

354-
#### If you have Minecraft Java Edition installed on your system
355+
For Windows:
356+
* Hold `Shift` and Right-click on an empty space and select `Open PowerShell window here` (`Open Command window here` on Windows 8 and earlier).
357+
* Type `C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\java -jar `, then drag and drop the `mcaselector-1.12.2.jar into the console` and press `Enter`.
355358

356-
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. On Windows, that java version is usually located in `C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\` and once inside this folder you can simply run `java.exe -jar <path-to-mcaselector-1.12.1.jar>`. On Mac OS you should find it in `~/Library/Application\ Support/minecraft/runtime/jre-x64/jre.bundle/Contents/Home/bin/` where you can execute `./java -jar <path-to-mcaselector-1.12.1.jar>`.
359+
For MacOS:
360+
* Press `Cmd+Space`, type `Terminal` and press `Enter`.
361+
* 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.12.2.jar` into the console and press `Enter`.
357362

358-
**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.
363+
**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.
359364

360-
#### If you are using OpenJDK
365+
### If you receive a JavaFX error
366+
"When I run `mcaselector-1.12.2.jar`, an error dialog appears that looks like this:"
361367

362-
If you are using a distribution of OpenJDK, you have to make sure that it comes with [JavaFX](https://gluonhq.com/products/javafx/), as it is needed to run the MCA Selector. Some distributions like AdoptOpenJDK (shipped with most Linux distributions) do not ship with JavaFX by default. On Debian distributions, an open version of JavaFX is contained in the `openjfx` package. This or some other installation of JavaFX is required to run the `.jar`.
368+
<p align="center">
369+
<img src="https://gist.githubusercontent.com/Querz/5e08c4ab863c2ad8b5da146dc4188ecb/raw/84ccd7e9b8e70b885a36f8bdf8fce62953be00b2/missing_javafx.png" alt="Popup dialog stating a missing JavaFX installation">
370+
</p>
363371

364-
#### If you are using Java 11 or higher
372+
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:
365373

366-
If you are using Java 11 or higher, the JavaFX modules are not included automatically. You will need to include them by specifying the module path for JavaFX. Some examples are included below, but you may need to edit paths if your system stores the JavaFX modules in a different location.
374+
For Windows:
375+
* Download "JavaFX Windows SDK" for your Java version from [here](https://gluonhq.com/products/javafx/).
376+
* Unzip the `.zip`-file with your program of choice, then navigate into the unzipped folder.
377+
* 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.12.2.jar into the console and hit `Enter`.
367378

368-
On Windows with Oracle Java 13:
369-
```
370-
"C:\Program Files\Java\jdk-13.0.1\bin\java.exe" --module-path "C:\Program Files\Java\javafx-sdk-13.0.1\lib" --add-modules ALL-MODULE-PATH -jar mcaselector-1.12.1.jar
371-
```
379+
For MacOS:
380+
* Download "JavaFX Mac OS X SDK" for your Java version from [here](https://gluonhq.com/products/javafx/).
381+
* Double-click the `.zip`-file to unpack, then navigate into the unzipped folder.
382+
* 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.12.2.jar` into the console and hit `Enter`.
372383

373-
On Debian with OpenJDK 11 and openjfx:
374-
```
375-
java --module-path /usr/share/openjfx/lib --add-modules ALL-MODULE-PATH -jar mcaselector-1.12.1.jar
376-
```
384+
For Linux:
385+
* Download "JavaFX Linux SDK" for your Java version from [here](https://gluonhq.com/products/javafx/).
386+
* Unzip the `.zip`-file with your program of choice.
387+
* Open the command prompt and type `java --module-path <path to unzipped folder>/lib --add-modules ALL-MODULE-PATH -jar <path to mcaselector-1.12.2.jar>` where you replace everything in `<>` with the appropriate paths.
388+
* 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.12.2.jar`.
389+
390+
---
377391

378-
##
379-
If none of these instructions work, apply "A brain" that you providently held ready after having read the "Requirements" section carefully.
392+
If none of these instructions work, apply "A brain" that you providently held ready after having read the "Requirements" section carefully. Or ask your question on [Discord](https://discord.gg/h942U8U).

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ apply plugin: 'idea'
99
apply plugin: 'css'
1010

1111
group 'net.querz.mcaselector'
12-
version '1.12.1'
12+
version '1.12.2'
1313

1414
sourceCompatibility = 1.8
1515

0 commit comments

Comments
 (0)