Update Windows packaging to support Open With... on files
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- build-system, release
Research direction
Start with the Windows installer packaging and the launcher changes in PR 8408, then inspect how netbeans.conf sets the relative BASEDIR and how the shortcut currently supplies --jdkhome. Test the packaged IDE and platform with Open With... on files, including bundled and system JDK cases; done means the supported launch paths work without relying on the shortcut.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 35
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/netbeans-nbpackage
-
Add option to skip signing of runtime on macOSPossibly taken @geertjanw claimed this 9 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 52/100
apache/netbeans-nbpackage#138 · 2 comments ·
All issues in apache/netbeans-nbpackage
Similar issues
-
enhancement good first issue
Difficulty 2/5 Half a day Newbie friendliness 66/100
apache/fineract-consumer-facing#175 ·
Maintainers usually reply within 1 day
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)Possibly taken @dadiyang claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mixPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
apache/rocketmq-dashboard#6110 ·
Maintainers usually reply within 4 days
-
Feature:Resolution
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
intellij-elixir/intellij-elixir#4396 ·
Maintainers usually reply within 1 day
-
Python 3.15 supportPossibly taken @amnesiaof claimed this today. OpenL: python L: python:uv
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16524 · 1 comment ·
Maintainers usually reply within 1 day