Java 下载只下载 Windows 发行版

Open
#3,860 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp, java
Domain
desktop

Research direction

Start from the IJavaPlatformInfo interface and its implementations in the launcher's Java runtime download flow; trace where the Windows package is selected and where platform detection happens. Check whether the Mojang runtime API exposes non-Windows packages, then decide how Linux (package manager/SDKMAN) and macOS guidance should be surfaced. “Done” means the Java download UI no longer offers only the Windows distribution and instead gives platform-appropriate installation guidance; build the C# solution and exercise the Java setup path on each platform where possible.

Written by the indexing model from the issue text.

Description

考虑对 Linux 用户提示通过包管理器或 SDKMAN 安装,macOS 提示安装。

不知道 Mojang 的 API 是否有其他系统的下载。

扩展 IJavaPlatformInfo。

Dominant language
C#
Stars
4.3k
Forks
148
Avg merge
1d 6h
Merged PRs (30d)
64

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PCL-Community/PCL-CE

All issues in PCL-Community/PCL-CE

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.