iTXTech / mcl-installer

MCL一键安装工具
GNU Affero General Public License v3.0
351 stars 35 forks source link

mcl installer x64 panicked when downloading java #65

Open cold233 opened 1 year ago

cold233 commented 1 year ago

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 commented 1 year ago

我直接从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 commented 1 year ago

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

Weydon-Ding commented 1 year ago

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

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