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

mcl installer x64 panicked when downloading java #65

Open
cold233 opened this issue Jun 1, 2023 · 3 comments
Open

mcl installer x64 panicked when downloading java #65

cold233 opened this issue Jun 1, 2023 · 3 comments

Comments

@cold233
Copy link

cold233 commented Jun 1, 2023

PS E:\mcl> wget -usebasicparsing -uri https://github.com/iTXTech/mcl-installer/releases/download/ae9f946/mcl-installer-ae9f946-windows-amd64.exe -outfile ./mcl-installer.exe
PS E:\mcl> .\mcl-installer.exe
iTXTech MCL Installer 1.0.7 [OS: windows]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer

iTXTech MCL and Java will be downloaded to "E:\mcl"

Checking existing Java installation.
java version "20.0.1" 2023-04-18
Java(TM) SE Runtime Environment (build 20.0.1+9-29)
Java HotSpot(TM) 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)

Would you like to install Java? (Y/N, default: Y) y
Java version (11, 17, 18), default: 17): 17
JRE or JDK (1: JRE, 2: JDK, default: JRE):
Binary Architecture (default: x64):
Fetching file list for jre version 17 on x64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/x64/windows/
Start Downloading: https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/x64/windows/OpenJDK17U-jre_x64_windows_hotspot_17.0.7_7.zip
panicked at 'called Option::unwrap() on a None value', src\main.rs:114:10

@Weydon-Ding
Copy link

Weydon-Ding commented Jul 11, 2023

我直接从https://mirai.mamoe.net/assets/mcl/org/itxtech/mcl/package.json提供的版本地址https://maven.aliyun.com/repository/public/org/itxtech/mcl/2.1.2/mcl-2.1.2.zip下载到了。解压之后修改一下bat内的java地址就行了,修改为".\java\bin\java.exe"

@shylock-wu
Copy link

https://mirai.mamoe.net/官网的地址都打不开了,所以运行的时候下载不了对应的文件了。到底怎么办啊

@Weydon-Ding
Copy link

https://mirai.mamoe.net/官网的地址都打不开了,所以运行的时候下载不了对应的文件了。到底怎么办啊

可以选择自己安装java等环境,不使用这个一键安装工具。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants