Re: Java programs run in Netbeans but not outside

2020-08-31 Thread Bayless Kirtley
Thanks to all who suggested Netbeans 12.0. I finally found time from other projects to install it and the problem is now resolved. Bayless On 8/17/20 11:36 AM, Gianluca Ruggero wrote: Hi Bayless, I have had the same problem in Netbeans 11 with all my ant based projects created with Netbeans

RE: Java programs run in Netbeans but not outside

2020-08-17 Thread Gene Glick
contained the libraries. From: Gianluca Ruggero Sent: Monday, August 17, 2020 12:37 PM To: users@netbeans.apache.org Subject: Re: Java programs run in Netbeans but not outside Hi Bayless, I have had the same problem in Netbeans 11 with all my ant based projects created with Netbeans 8.2. But

Re: Java programs run in Netbeans but not outside

2020-08-17 Thread Gianluca Ruggero
Hi Bayless, I have had the same problem in Netbeans 11 with all my ant based projects created with Netbeans 8.2. But with Netbeans 12 seems resolved. I've successfully built my ant projects and the dist folder has been created correctly. Gianluca Il giorno dom 16 ago 2020 alle ore 23:26 Bayless

Re: Java programs run in Netbeans but not outside

2020-08-16 Thread Bayless Kirtley
Thanks guys. I'm old and retired and have used Netbeans with ant since version 5.0. I still maintain a couple of charity applications for them so this is important. Suddenly it stops including the lib directory. I have tried adding the lib directory to the dist directory but still nothing. The

Re: Java programs run in Netbeans but not outside

2020-08-15 Thread Mark Eggers
I do something similar and then package up everything as a zip file or tar.gz with the assembly plugin. Something like this: org.apache.maven.plugins maven-assembly-plugin 2.6 src/main/assembly/asse

Re: Java programs run in Netbeans but not outside

2020-08-15 Thread Bradley Willcott
Hi Bayless, Are you using an Ant build or Maven?  If Maven, have a look at "maven-jar-plugin" and "maven-dependency-plugin".  Here is an example of both from one of my projects:             org.apache.maven.plugins maven-jar-plugin     3.2.0        

Java programs run in Netbeans but not outside

2020-08-15 Thread Bayless Kirtley
I recently upgraded from Netbeans 8.1 to 11.1  and due to problems with java 8 I also went to 11. I have been working on some existing projects and everything works fine from within Netbeans. When I try to deploy though, it seems that Netbeans is no longer including the lib directory in the dis