How to combine library with my jar?
        Posted  
        
            by 
                Dacto
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dacto
        
        
        
        Published on 2010-01-07T04:46:50Z
        Indexed on 
            2011/01/11
            1:53 UTC
        
        
        Read the original article
        Hit count: 662
        
Ok so i wrote a program that makes use of a 3rd party open source library and i want to package it with my program in a single jar. I'm using netbeans 6.8 and everything I've tried java always spit back the error:
java.lang.NoClassDefFoundError: libraryname;
off topic:also i would like to know how to make an executable-jar(exe) through netbeans if it is possible. (ive seen programs that were written in java but were an .exe)
EDIT discovered a plugin for eclipse called FatJar which can do what i want, but i cant find something similar for netbeans, is there such thing?
© Stack Overflow or respective owner