Giter Club home page Giter Club logo

Comments (16)

vochant avatar vochant commented on June 20, 2024 1

和 Homebrew 的那个 issue 道理差不多,本来就是两个第三方包管理器。另外 sdkman 除了 Linux 和 macOS 还支持 MSYS、Cygwin 这些,确实有些复杂,也没必要全都支持。至于 Linux 大多数人也不会想着改安装路径,直接用 ~/.sdkman 已经能解决绝大多数的情况了。

from hmcl.

burningtnt avatar burningtnt commented on June 20, 2024 1

你可以大胆直接推个 PR。现在 HMCL 很多功能没有做只是因为没人写代码()
你只要敢做我们就敢合

from hmcl.

burningtnt avatar burningtnt commented on June 20, 2024

请确认其他未选中的 Java 版本真实存在于文件系统中

from hmcl.

vochant avatar vochant commented on June 20, 2024

请确认其他未选中的 Java 版本真实存在于文件系统中

是的,所有Java版本均位于 <path_to_sdkman>/candidates/java/<version> 下,且手动选择可以正常使用。sdkman 只会为选中的版本添加 PATH。

from hmcl.

burningtnt avatar burningtnt commented on June 20, 2024

…… 那就只是因为 HMCL 没有扫这个路径。你可以为 HMCL 添加一个。

from hmcl.

vochant avatar vochant commented on June 20, 2024

改成 feature 倒不要紧,不过能加到更新计划里面吗?

from hmcl.

zkitefly avatar zkitefly commented on June 20, 2024

#2988

这里的 添加 Java 能否满足需求

from hmcl.

burningtnt avatar burningtnt commented on June 20, 2024

#2988

这里的 添加 Java 能否满足需求

是可以解决的

from hmcl.

vochant avatar vochant commented on June 20, 2024

就是说把这个加到扫描路径里面?

from hmcl.

vochant avatar vochant commented on June 20, 2024

希望就是说默认包含这个路径,毕竟 Linux 的 sdkman 应该还算有用的

from hmcl.

zkitefly avatar zkitefly commented on June 20, 2024

<path_to_sdkman>/candidates/java/ 的 <path_to_sdkman> 是固定的吗

from hmcl.

zkitefly avatar zkitefly commented on June 20, 2024

就是说把这个加到扫描路径里面?

手动添加 Java 路径,不是扫描

from hmcl.

vochant avatar vochant commented on June 20, 2024

<path_to_sdkman>/candidates/java/ 的 <path_to_sdkman> 是固定的吗

存在环境变量 SDKMAN_DIR,但是是在 *shrc 这种文件而不是 profile 中定义,通常是~/.sdkman。具体可以安装一个试试看。

from hmcl.

vochant avatar vochant commented on June 20, 2024

问题是人家是用户,代码架构长什么样都不知道,甚至未必会Java()

有空可以去看看,但一时半会的真的搞不定,是否存在哪位愿意整合一下这些常见的包管理器的

from hmcl.

zkitefly avatar zkitefly commented on June 20, 2024

可以参考 #3035

from hmcl.

burningtnt avatar burningtnt commented on June 20, 2024

如果你给出足够的理由,那才能撬动我们把你这个 issue 拍到高优先级

from hmcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.