Package Details: hmcl 3.6.11-1

Git Clone URL: https://aur.archlinux.org/hmcl.git (read-only, click to copy)
Package Base: hmcl
Description: A Minecraft Launcher which is multi-functional, cross-platform and popular
Upstream URL: https://github.com/huanghongxun/HMCL
Licenses: GPL-3.0-or-later
Conflicts: hmcl
Provides: hmcl
Submitter: hexchain
Maintainer: imlonghao
Last Packager: imlonghao
Votes: 17
Popularity: 0.011838
First Submitted: 2016-05-04 07:42 (UTC)
Last Updated: 2024-12-03 13:48 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

Soloev commented on 2024-05-17 10:15 (UTC) (edited on 2024-05-17 10:16 (UTC) by Soloev)

RELEASE 3.5.8 Github

imlonghao commented on 2023-10-02 02:13 (UTC)

@cmach_socket 正版登陆需要启动时通过命令行设置 appid 和 appsecret

cmach_socket commented on 2023-10-01 15:49 (UTC)

正版登陆显示: 警告 你正在使用非官方构建的HMCL,请下载官方构建进行微软登录

szdytom commented on 2023-07-28 08:51 (UTC)

图标的清晰度好低啊

zefr0x commented on 2023-01-29 14:21 (UTC) (edited on 2023-01-29 14:23 (UTC) by zefr0x)

The hmcl-launch-script declare it self as a POSIX-compliant script by using the #!/bin/sh shebang, but it uses bashisms (features of bash that are not POSIX-compliant).

Please make the script POSIX-compliant by using:

if [ "$1" != "-p" ]; then

instead of:

if [[ "$1" != "-p" ]]; then

or just use the #!/bin/bash shebang.

imlonghao commented on 2022-04-18 07:29 (UTC) (edited on 2022-04-18 07:29 (UTC) by imlonghao)

@fansuregrin 我已经写死了用哪个 JDK 进行编译,应该没问题了

@JstKddng liberica-jdk-11-full-bin is just a build time dependency, but you can still change the default java to this by archlinux-java command.

To be honest, I just don't know how to build with jdk11-openjdk + java11-openjfx, so I use this AllInOne jdk liberica.

JstKddng commented on 2022-04-17 16:33 (UTC)

hey, ty for packaging hmcl.

Shouldn't /usr/bin/hmcl use /usr/lib/jvm/liberica-jdk-11-full/bin/java instead of system java? otherwise hmcl will download prebuilt binaries for openjfx and just kill the purpose of using this custom jdk.

fansuregrin commented on 2022-04-16 14:39 (UTC)

维护者您好!这个包编译失败。

==> Starting build()...

> Task :HMCLCore:compileJava
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCLCore/src/main/java/org/jackhuang/hmcl/util/platform/OperatingSystem.java:262: warning: [removal] runFinalization() in System has been deprecated and marked for removal
            System.runFinalization();
                  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCLCore/src/main/java/org/jackhuang/hmcl/auth/yggdrasil/YggdrasilSession.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

> Task :HMCL:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :HMCL:compileTestJava FAILED
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:3: error: package javafx.application does not exist
import javafx.application.Application;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:4: error: package javafx.scene does not exist
import javafx.scene.Scene;
                   ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:5: error: package javafx.stage does not exist
import javafx.stage.Stage;
                   ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:14: error: cannot find symbol
public class Test extends Application {
                          ^
  symbol: class Application
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:26: error: cannot find symbol
    public void start(Stage stage) throws Exception {
                      ^
  symbol:   class Stage
  location: class Test
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:3: error: package javafx.application does not exist
import javafx.application.Platform;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:4: error: package javafx.scene does not exist
import javafx.scene.Scene;
                   ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:5: error: package javafx.scene.image does not exist
import javafx.scene.image.Image;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:6: error: package javafx.scene.input does not exist
import javafx.scene.input.DragEvent;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:7: error: package javafx.scene.input does not exist
import javafx.scene.input.MouseEvent;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:8: error: package javafx.scene.input does not exist
import javafx.scene.input.ScrollEvent;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:9: error: package javafx.scene.input does not exist
import javafx.scene.input.TransferMode;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:10: error: package javafx.stage does not exist
import javafx.stage.Stage;
                   ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:3: error: package javafx.collections does not exist
import javafx.collections.FXCollections;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:4: error: package javafx.collections does not exist
import javafx.collections.ObservableList;
                         ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:20: error: cannot access Group
        canvas.getAnimationPlayer().addSkinAnimation(new SkinAniWavingArms(100, 2000, 7.5, canvas), new SkinAniRunning(100, 100, 30, canvas));
              ^
  class file for javafx.scene.Group not found
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:25: error: method does not override or implement a method from a supertype
    @Override
    ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:28: error: cannot find symbol
        Scene scene = new Scene(createSkinCanvas());
        ^
  symbol:   class Scene
  location: class Test
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:28: error: cannot find symbol
        Scene scene = new Scene(createSkinCanvas());
                          ^
  symbol:   class Scene
  location: class Test
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/test/Test.java:35: error: cannot find symbol
        launch(args);
        ^
  symbol:   method launch(String[])
  location: class Test
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:38: error: cannot find symbol
            t.addEventHandler(MouseEvent.MOUSE_PRESSED, e -> {
                              ^
  symbol:   variable MouseEvent
  location: class Mouse
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:42: error: cannot find symbol
            t.addEventHandler(MouseEvent.MOUSE_DRAGGED, e -> {
                              ^
  symbol:   variable MouseEvent
  location: class Mouse
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:46: error: cannot access Rotate
                            t.zRotate.setAngle(t.zRotate.getAngle() - (e.getSceneY() - lastY) * sensitivity);
                                                        ^
  class file for javafx.scene.transform.Rotate not found
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:69: error: cannot find symbol
            t.addEventHandler(ScrollEvent.SCROLL, e -> {
                              ^
  symbol:   variable ScrollEvent
  location: class Mouse
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:71: error: cannot access Scale
                t.scale.setX(Math.min(Math.max(t.scale.getX() - delta, 0.1), 10));
                                                      ^
  class file for javafx.scene.transform.Scale not found
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:71: error: cannot access Scale
                t.scale.setX(Math.min(Math.max(t.scale.getX() - delta, 0.1), 10));
                       ^
  class file for javafx.scene.transform.Scale not found
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:88: error: cannot find symbol
            t.addEventHandler(DragEvent.DRAG_OVER, e -> {
                              ^
  symbol:   variable DragEvent
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:92: error: cannot find symbol
                        e.acceptTransferModes(TransferMode.COPY);
                                              ^
  symbol:   variable TransferMode
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:95: error: cannot find symbol
            t.addEventHandler(DragEvent.DRAG_DROPPED, e -> {
                              ^
  symbol:   variable DragEvent
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:98: error: cannot find symbol
                    Platform.runLater(() -> {
                    ^
  symbol:   variable Platform
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:101: error: cannot find symbol
                            Stage stage = new Stage();
                            ^
  symbol:   class Stage
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:101: error: cannot find symbol
                            Stage stage = new Stage();
                                              ^
  symbol:   class Stage
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:104: error: cannot find symbol
                            canvas.updateSkin(new Image(input), skin.getName().contains("[alex]"), null);
                                                  ^
  symbol:   class Image
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:105: error: cannot find symbol
                            Scene scene = new Scene(canvas);
                            ^
  symbol:   class Scene
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/moe/mickey/minecraft/skin/fx/SkinCanvasSupport.java:105: error: cannot find symbol
                            Scene scene = new Scene(canvas);
                                              ^
  symbol:   class Scene
  location: class Drag
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/JavaFXLauncher.java:35: error: package javafx.application does not exist
                            javafx.application.Platform.class, "startup", MethodType.methodType(void.class, Runnable.class));
                                              ^
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:17: error: cannot find symbol
        final ObservableList<Integer> aggregatedList = aggregatedWrapper.getAggregatedList();
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:17: error: cannot access ObservableList
        final ObservableList<Integer> aggregatedList = aggregatedWrapper.getAggregatedList();
                                                                        ^
  class file for javafx.collections.ObservableList not found
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:19: error: cannot find symbol
        final ObservableList<Integer> list1 = FXCollections.observableArrayList();
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:19: error: cannot find symbol
        final ObservableList<Integer> list1 = FXCollections.observableArrayList();
                                              ^
  symbol:   variable FXCollections
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:20: error: cannot find symbol
        final ObservableList<Integer> list2 = FXCollections.observableArrayList();
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:20: error: cannot find symbol
        final ObservableList<Integer> list2 = FXCollections.observableArrayList();
                                              ^
  symbol:   variable FXCollections
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:21: error: cannot find symbol
        final ObservableList<Integer> list3 = FXCollections.observableArrayList();
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:21: error: cannot find symbol
        final ObservableList<Integer> list3 = FXCollections.observableArrayList();
                                              ^
  symbol:   variable FXCollections
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:80: error: cannot find symbol
        final ObservableList<Integer> aggregatedList = aggregatedWrapper.getAggregatedList();
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:82: error: cannot find symbol
        final ObservableList<Integer> a = FXCollections.singletonObservableList(1);
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:82: error: cannot find symbol
        final ObservableList<Integer> a = FXCollections.singletonObservableList(1);
                                          ^
  symbol:   variable FXCollections
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:83: error: cannot find symbol
        final ObservableList<Integer> b = FXCollections.observableArrayList(2, 3, 4);
              ^
  symbol:   class ObservableList
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/util/AggregatedObservableListTest.java:83: error: cannot find symbol
        final ObservableList<Integer> b = FXCollections.observableArrayList(2, 3, 4);
                                          ^
  symbol:   variable FXCollections
  location: class AggregatedObservableListTest
/home/fansuregrin/.cache/paru/clone/hmcl/src/HMCL-d28723916d6d42fbea2a6423a07a74ffdf7cd1bd/HMCL/src/test/java/org/jackhuang/hmcl/ui/GameCrashWindowTest.java:63: error: cannot access Stage
            window.showAndWait();
                  ^
  class file for javafx.stage.Stage not found
50 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':HMCL:compileTestJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 16s
10 actionable tasks: 6 executed, 4 up-to-date
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'hmcl-3.5.3-3': 
error: packages failed to build: hmcl-3.5.3-3

fansuregrin commented on 2022-02-17 09:32 (UTC)

Can not login through microsoft account! I need someone's help, thank all you! The log messages are bellow:

[17:28:24] [org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$start$1/WARNING] An exception occurred in task execution
org.jackhuang.hmcl.auth.yggdrasil.RemoteAuthenticationException: invalid_request: AADSTS900144: The request body must contain the following parameter: 'client_id'.
Trace ID: 659ee664-cb69-42b4-8e9f-b14281828700
Correlation ID: c6e94bdd-3747-4b57-a5bd-a81912a399b1
Timestamp: 2022-02-17 09:28:24Z: 
        at org.jackhuang.hmcl.auth.OAuth.handleErrorResponse(OAuth.java:186)
        at org.jackhuang.hmcl.auth.OAuth.authenticateDevice(OAuth.java:102)
        at org.jackhuang.hmcl.auth.OAuth.authenticate(OAuth.java:59)
        at org.jackhuang.hmcl.auth.microsoft.MicrosoftService.authenticate(MicrosoftService.java:74)
        at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount.<init>(MicrosoftAccount.java:53)
        at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:44)
        at org.jackhuang.hmcl.auth.microsoft.MicrosoftAccountFactory.create(MicrosoftAccountFactory.java:27)
        at org.jackhuang.hmcl.ui.account.CreateAccountPane.lambda$onAccept$3(CreateAccountPane.java:227)
        at org.jackhuang.hmcl.task.Task$SimpleTask.execute(Task.java:1022)
        at org.jackhuang.hmcl.task.AsyncTaskExecutor.lambda$null$22(AsyncTaskExecutor.java:245)
        at org.jackhuang.hmcl.util.Lang.lambda$wrap$2(Lang.java:270)
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
        at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)

Sparky_14145 commented on 2021-09-06 14:39 (UTC)

@KiteAB That was a bug of openjdk. Use jdk8/jre8 instead, or use the newer versions from here