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

意外的自动获取 Java 失败 #2872

Closed
1 task done
JingHai-Lingyun opened this issue Nov 13, 2023 · 2 comments
Closed
1 task done

意外的自动获取 Java 失败 #2872

JingHai-Lingyun opened this issue Nov 13, 2023 · 2 comments
Labels
· Bug 完成 已被处理,将在下次更新之后生效

Comments

@JingHai-Lingyun
Copy link
Collaborator

JingHai-Lingyun commented Nov 13, 2023

检查项

描述

换了一台新电脑,把 Minecraft 文件都挪了过去
没有装 Java 想着说用 PCL 自动下载
在启动的时候获取 Java 一段时间后,忽然提示 没有可用的 Java,已取消启动

重现步骤

在一台没有装任何 Java 的电脑上用 PCL 启动 1.20.2 并自动下载 Java17

日志与附件

Log1-2.txt
翻到最底下左右即可见

注: 文件仅为 Log1 从那台新电脑上发过来被 Windows 重命名了 :)

@JingHai-Lingyun JingHai-Lingyun added · Bug 新提交 需要社区初步确认其有效的新提交 labels Nov 13, 2023
@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 and removed 新提交 需要社区初步确认其有效的新提交 labels Nov 14, 2023
@burningtnt
Copy link

burningtnt commented Nov 19, 2023

你这个 Java 还能启动吗?试试按下 Windows + R 键,输入 cmd,按下回车,在弹出的黑色窗口中输入这行命令,随后按下回车:for /F "delims=" %p IN ('where java') do @(echo Java Path: %p&"%p" -version||echo Illegal Exit Code: %errorlevel%&echo;) 之后截个图发上来

会不会是被 Windows Defender 误杀了,导致 java -version 都启动不了?

@JingHai-Lingyun
Copy link
Collaborator Author

可以滴(第二次登录就启动好了..

@LTCatt LTCatt closed this as completed Nov 21, 2023
@HexDragon-Bot HexDragon-Bot added 完成 已被处理,将在下次更新之后生效 and removed 处理中 开发者正在调查或处理该项 labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· Bug 完成 已被处理,将在下次更新之后生效
Projects
None yet
Development

No branches or pull requests

4 participants