Hi,

On 7/4/25 13:17, Daniel Hartman wrote:
> All, 
>
> I just migrated my platform application from NetBeans 12.4 to NetBeans 26.
>
> I can create a distribution as before by right-clicking my application within 
> the IDE and selecting Package As → Zip Distribution. However, when I attempt 
> to run the application outside the IDE, I receive the following error:
>
>   Error opening zip file or JAR manifest missing: 
> /Applications/InnerVoice/0.26.5/InnerVoice.app/Contents/Resources/InnerVoice/ide/netbeans-javaagent.jar
>
> Everything runs fine if I copy the missing netbeans-javaagent.jar to the ide 
> folder.
>
> Here are some additional particulars:
>
>   Development machine: JDK 21, NetBeans 26
>   Stand-alone machine: JDK 24
>
> I would appreciate any insight into why this JAR file is required and why it 
> is not being included in the generated ZIP distribution.

netbeans-javaagent.jar is used as temporary workaround to patch a JDK bug which 
caused copy/paste issues on windows. It is meant to be active for NetBeans 
itself, not necessarily for platform applications (#8361).

You can copy the jar or remove the "-J-javaagent:..." jvm argument from the 
application launch config if you are not worried about the bug.

JDK 25 will contain the fix so it won't be needed anymore (JDK-8353950).

-mbien

>
> Thank you in advance for your help.
>
> Sincerely,
>
> Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to