Netbeans does not generate lib folder

Asked

Viewed 454 times

0

Hello, well I’m having a problem compiling a project with Netbeans 11 and jdk 13 for some strange reason when compiling the folder dist will only the jar and the folder lib is not compiled together.

the message generated by Netbeans at the end of the run is as follows:

To run this application from the command line without Ant, try:
C:\Program Files\Java\jdk-13/bin/java -cp C:\Program Files\NetBeans-11.1\netbeans\java\modules\ext\AbsoluteLayout.jar;C:\libs\ireport\ant-1.7.1.jar;C:\libs\ireport\antlr-2.7.6....... ETC..

Anyway, by the looks of it he tells me to open the jar specifying all the libraries (this by the terminal)

I don’t know if it’s because of something related to PATH pc, because I’ve already configured the JAVA_HOME = C:\Program Files\Java\jdk-13

Someone with the same problem?

1 answer

0


I found out

It’s a Netbeans 9.0-11.0 bug.

https://issues.apache.org/jira/browse/NETBEANS-1097

There’s an alternative solution there.

Basically, in your file build-impl.xml (that will be inside nbproject), right after that <condition property="do.mkdist"> exclude that:

 <not>
        <istrue value="${modules.supported.internal}"/>
 </not>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.