You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-24Lines changed: 37 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,9 @@
37
37
*[Checkout and building](#checkout-and-building)
38
38
*[Translation](#translation)
39
39
*[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)
44
43
<!--toc-end-->
45
44
46
45
---
@@ -337,7 +336,7 @@ If you would like to contribute a translation, you can find the language files i
337
336
338
337
## Download and installation
339
338
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)
341
340
342
341
"Requirements":
343
342
* Either:
@@ -347,33 +346,47 @@ If you would like to contribute a translation, you can find the language files i
347
346
* 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.
348
347
* A brain
349
348
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.
351
351
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.
353
354
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`.
355
358
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`.
357
362
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.
359
364
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:"
361
367
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
+
<palign="center">
369
+
<imgsrc="https://gist.githubusercontent.com/Querz/5e08c4ab863c2ad8b5da146dc4188ecb/raw/84ccd7e9b8e70b885a36f8bdf8fce62953be00b2/missing_javafx.png"alt="Popup dialog stating a missing JavaFX installation">
370
+
</p>
363
371
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:
365
373
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`.
* 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`.
* 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
+
---
377
391
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).
0 commit comments