Netbeans: Change dist jar filename


Netbeans has a shortcoming/bug of adding space to the jar names of dist.  Including jars with spaces may prevent them from loading and result in the java.lang.ClassNotFoundException thrown by the


To change the filename of the jar files that will be build for distribution.  Change the variable dist.jar=${dist.dir}/good-jar-name.jar in file nbproject/


Keywords & Potential References:

file name whitespace

Searched for netbeans change jar file name 5:25am
NetBeans Forums – Change JAR File name… – 5:25am
Searched for netbeans jar space name 5:24am
Tips and Tricks for Using NetBeans IDE v5.5 – 5:25am
Netbeans 6.5 Quicktip: Changing The Archive… – 5:25am
Searched for netbeans jar space 5:24am
Searched for netbeans jar dist 5:22am
Packaging and Deploying Desktop Java… – 5:22am
java – Wrong character encoding in dist… – 5:22am
Searched for netbeans jar whitespace 5:21am
Use NetBeans IDE 6.7 to Combine JAR Files… – 5:21am
Searched for netbeans jar no spaces 5:17am
java – Producing executable jar in NetBeans… – 5:17am
PackagingADistributableJavaApp – NetBeans Wiki – 5:18am
Searched for jar names java whitespace 5:07am
JAR File Specification – Oracle – 5:08am
Searched for jar names java spaces 5:07am
Searched for jar names java 5:07am
JAR File Specification – Oracle – 5:07am
Searched for jar names 5:07am
Searched for jar naming convention 5:06am
java – Jar file naming conventions -… –

About Neil Rubens

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Netbeans: Change dist jar filename

  1. Pingback: NetBeans: java.lang.ClassNotFoundException | Active Intelligence

  2. Tulas says:

    Hey thanx it works..

Leave a Reply

Your email address will not be published. Required fields are marked *