[
https://issues.apache.org/jira/browse/NETBEANS-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466580#comment-17466580
]
David Gradwell commented on NETBEANS-4036:
------------------------------------------
Trying to make some native packages on Windows 10, I have just proved (again)
that native packaging does not work.
*Product Version:* Apache NetBeans IDE 11.3
*Java:* 1.8.0_312; OpenJDK 64-Bit Server VM 25.312-b07
*Runtime:* OpenJDK Runtime Environment 1.8.0_312-b07
I've also tried NetBeans 12 various versions.
Question for Geertjan: What is the timescale for making native packaging work
robustly under recent Java releases ?
Happy to be an alpha tester !
> Package as DMG Image fails with "typedef class com.sun.javafx.tools.ant.FXJar
> cannot be found using the classloader AntClassLoader[]"
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-4036
> URL: https://issues.apache.org/jira/browse/NETBEANS-4036
> Project: NetBeans
> Issue Type: Bug
> Components: core
> Affects Versions: 11.3
> Environment: Mac OS Catalina 10.15.3 (current and latest) and
> NetBeans:
> Product Version: Apache NetBeans IDE 11.3
> Java: 14; Java HotSpot(TM) 64-Bit Server VM 14+36-1461
> Runtime: Java(TM) SE Runtime Environment 14+36-1461
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_GB (nb
> Reporter: David Gradwell
> Priority: Major
> Attachments: TestMacOSXPackagingWithAnt.zip,
> TestNativePackagingOnWindows10.zip
>
>
> Steps to reproduce:
> 1. Install fresh copy of 11.3 (also tested with 11.1 with same results)
> 2 Create new Project "Java with Ant", "Java Application".
> 3. Create a single Java file such as:
> package testmacdmgwithant;
> public class TestMacDMGwithAnt {
> /**
> * @param args the command line arguments
> */
> public static void main(String[] args)
> {
> int a=1;
> }
>
> }
>
> 4. Go clean and build and debug to prove it works OK.
> 5. Run the .jar in the dist folder to prove it works OK.
> 6. Go right click on the project and select "Package as DMG Image"
>
> End of output is:
> .../NetBeansProjects/TestMacDMGwithAnt/nbproject/build-native.xml:519:
> typedef class com.sun.javafx.tools.ant.FXJar cannot be found
> using the classloader AntClassLoader[]
> BUILD FAILED (total time: 0 seconds)
>
> 7. Note that this works fine on NetBeans 8.2 and also fails on 11.0..
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists