Kaufies
2009-08-20 12:15:55 UTC
Hello
I am using Netbeans to create a simple desktop application. I have include some third party libraries (jars) in the application. The problem comes at build time; the jars aren't copied to the usual folder and subsequently, the jar won't execute the application.
This has worked for me in the past, so I am convinced it was caused by something I did. I have two main classes in this project. (One of them is a server). It has to be in the project as this is a school project and only one Netbeans project folder may be handed in. I have executed the server from Netbeans (using shift+F6). I have set the main class correctly. I have also compiled different classes individually. I don't know if any of this is relevant- I want to provide as much information as possible.
The application runs from Netbeans (using F6) but, as I've stated, the jar won't execute.
I don't know if this will help, but when I usually build, it says "to run this application without Ant..." however, now when I build, I don't get that message.
The deadline for this project is looming and this is the last thing that I have to fix. Any help will be appreciated. Also, I am new to this forum and apologize if this post is irrelevant.
Many thanks
Kaufies
I am using Netbeans to create a simple desktop application. I have include some third party libraries (jars) in the application. The problem comes at build time; the jars aren't copied to the usual folder and subsequently, the jar won't execute the application.
This has worked for me in the past, so I am convinced it was caused by something I did. I have two main classes in this project. (One of them is a server). It has to be in the project as this is a school project and only one Netbeans project folder may be handed in. I have executed the server from Netbeans (using shift+F6). I have set the main class correctly. I have also compiled different classes individually. I don't know if any of this is relevant- I want to provide as much information as possible.
The application runs from Netbeans (using F6) but, as I've stated, the jar won't execute.
I don't know if this will help, but when I usually build, it says "to run this application without Ant..." however, now when I build, I don't get that message.
The deadline for this project is looming and this is the last thing that I have to fix. Any help will be appreciated. Also, I am new to this forum and apologize if this post is irrelevant.
Many thanks
Kaufies