You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jacco van Weert (Jira)" <ji...@apache.org> on 2020/03/26 21:03:00 UTC
[jira] [Comment Edited] (NETBEANS-4036) Package as DMG Image fails
with "typedef class com.sun.javafx.tools.ant.FXJar cannot be found using
the classloader AntClassLoader[]"
[ https://issues.apache.org/jira/browse/NETBEANS-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068034#comment-17068034 ]
Jacco van Weert edited comment on NETBEANS-4036 at 3/26/20, 9:02 PM:
---------------------------------------------------------------------
Problem in Netbeans 12-beta still exists. I am using [https://bell-sw.com/] Java 14 which includes JavaFX.
Java 14 contains the new JPackager, so I would hope to have IDE support for this.
BTW:
My goal is to create distributions with the latest Java 14 JDK, not JDK 8
was (Author: waverick):
Problem in Netbeans 12-beta still exists. I am using [https://bell-sw.com/] Java 14 which includes JavaFX.
Java 14 contains the new JPackager, so I would hope to have IDE support for this.
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists