Update Windows packaging to support Open With... on files

未关闭
#133 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@geertjanw 已经在做这个了。

开始于 2026年10月1日。

  • #147 来自 @geertjanw —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
java

调研方向

先从 Windows 安装程序的打包以及 PR 8408 中的 launcher 更改开始,然后检查 netbeans.conf 如何设置相对 BASEDIR,以及快捷方式当前如何提供 --jdkhome。使用文件的 Open With... 测试打包的 IDE 和平台,包括捆绑 JDK 和系统 JDK 的情况;完成标准是受支持的启动路径无需依赖快捷方式即可正常工作。

由索引模型根据 Issue 内容生成。

描述

For legacy reasons, the Windows installer with bundled JDK sets the --jdkhome location via the shortcut. This does not work when used with Open With... on a file, and is susceptible to other issues. Using the launcher directly will either use a system installed JDK or fail to launch at all.

Related issue / discussion thread (amongst others) at https://github.com/apache/netbeans/discussions/9378

With changes in the launcher in https://github.com/apache/netbeans/pull/8408 it should now be possible to specify a relative link in the netbeans.conf file using BASEDIR. This will require testing with IDE and platform. Thought should be given whether to keep the shortcut support for packaging older versions, and also whether to filter out the 32-bit launcher from the installed files.

主要语言
Java
星标
35
派生
13
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/netbeans-nbpackage 的其他 Issue

查看 apache/netbeans-nbpackage 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。