Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2008, 01:55 AM
Registered User
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Adabalakumar
Default 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!!

 
Old July 24th, 2008, 06:41 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

depending jar files should be part of your executable jar, place it in the 'lib' directory of your executable jar file, then try! it should solve it.

- Rakesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
can't see jars in shared/lib? cmarkiewicz Apache Tomcat 2 September 14th, 2007 02:48 PM
where do the xerces jars go tovachanah Apache Tomcat 0 March 27th, 2007 06:40 PM
Swings and servlets sharadagarwal BOOK: Beginning Java 2 3 September 12th, 2006 04:39 AM
Swings based applications kishore25 Java GUI 2 August 26th, 2005 03:36 AM
AWT / Swings dharmesh_g Java GUI 7 June 30th, 2005 05:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.