packaging 3rdparty executable jars for my swings
I have developed a swings based desktop application for which we used third party JDIC jar inorder to incorporate the tray icon functionality for our application.
Actually i need to provide a distributable for this application.The application's executable jar file gets automatically created as a part of build from IDE [Am using NetBeans6.0].When i run the Application's exec.jar, it is not able to locate the jdic.jar and hence am unable to get the tray icon functionality.But with in the Netbeans environment am able to run my application successfully.[not through running the jar though]
i.I tried packaging the jdic lib jar with in the application's jar but got to know that that can't solve the issue.
ii.Also my application jar's manifest file has the class path attribute set to third party jar [jdic] ... but its of no use.
iii. I even tried packaging the application using couple of installers like NSIS,JSmooth, etc ... but i dont get my problem solved.
One way i see to solve this is through custom class loader, Is there any other way i can package my application.
Any Help regarding this would be thoroughly appreciated. Thank you!!
|