Packaging executable jars for my Swings based Desktop application

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.
The problem is i need to provide a distributable for this application and the application's executable jar file gets automatically created as a part of build from IDE [Am using NetBeans6.0]. The Application's exec.jar is not able to locate the jdic.jar and hence am unable to get the tray icon functionality, when i run the application's exec jar.
i.I tried packaging the jdic lib jar with in the application's jar but got to know that tht can't solve the issue.
ii.I also tried editing the manifest file to provide the class path to the thrid party jar [jdic] ... but of no use
Any Help regarding this would be thoroughly appreciated.

can anyone pls let me know how would i be able to package my application as distributable so that others can deploy and run.

Similar Messages

  • Deployment Issues, Different  Jars for Diff Java in one application.

    HI,
    I need to put classpath (Jars) for my WEB-INF/classes. Different Jars for Diff files in one application.
    The problem is , for one ofmy application, the lib files are x.jar and y.jar , x is older than y but have same
    lib files. in x and y, there is one class , r.java , which have a method method1(). whey they are doing modifications in y.jar , the r.java has changed to new vertion, the method method1() they re-written the body.
    My application have 5 java files, in which 2 files uses r.java imported from the x.jar earlier.
    Now we need to use y.jar because , the y.jar have more files added with good futures. But the earlier 2 files are giving exception if i use y.jar.
    I need solution for this. how can i put classpath for the 2 files to use the x.jar and other files to use y.jar in the same application.
    I am using a Tomcat 4 server. only Servlets, JSPs I am using.
    Thank you,
    Kiran

    I may be missing something here, is y.jar a newer version of x.jar? And if it is do you need x.jar at all? Are there classes in x.jar that do not exist in y.jar? Can you modify your application to provide the same functionality and only use y.jar?

  • JavaFx Script for Development of Enterprise Desktop Applications?

    Hi,
    we are currentlich developing a rather complex business application using Swing. Now the JavaFx stuff seems to get up to speed and we are thinking about changing to build the Gui based on JavaFX.
    The enterprise frontend would be a more or less full-screen application, with many masks to enter data into. The backend is a glassfish bean architecture based on WebServices.
    Is it now the time to go that way? I dont see any usable design applications to integrate many Swing components - and JavaFx Components seems not existing to support all that listbox, treeviews, keyboard focusing stuff I need here...
    I am not very happy about coding all the dialoges per hand as it seems to be the way now...
    What do you guys suggest? Skip it for now? Or go the hard way as an early adoptor to find all the bugs and problems we somehow managed to get working already in Swing?
    Regards

    Hi,
    I've been trying to write a new desktop application using JavaFX and its pretty tough going with what's available in the API at the moment. The 1.0 release is obviously focused more on RIA, which is perfectly understandable considering the market space they are trying to enter and the fact that if you want to write a desktop application you can always use Swing. I think right now it would be suicide to recommend to your employers that you switch to JavaFX.
    The main problem is that JavaFX does not currently have all the standard components you would expect to be able to choose from in order to capture and display data. However, there is always the option of taking whatever Swing component you want to use (e.g. JTree) and wrapping it in the JavaFX SwingComponent class. There are some good examples of how to do that on this wiki page: [http://jfx.wikia.com/wiki/SwingComponents] . But my feeling is, if you're going to build your application out of Swing components wrapped in JavaFX classes then you might as well just write the application in Swing.
    I think that right now its too early for JavaFX enterprise desktops but I do believe that one day they will supersede Swing. JavaFX has so much potential. It will eventually be able to do everything Swing can do and then so much more. And I think Sun will have to start focusing on the desktop market quite soon. They are competing with Flex in the RIA space but Flex has good support for data tables etc and I see a lot of projects going with Flex when they might have otherwise gone with Swing.
    Cheers,
    Kevin

  • Password works for login but not for the Adobe CC Desktop application

    Password works for login but not for the Adobe CC Desktop application

    Please refer to http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    ou can try deleting OPM.DB from steps below and try again.
    Mac OS: You can locate the OPM.db file in the \User\\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion. - http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-f iles.html
    Windows: You can locate the OPM.db file in the :\Users\\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7. -http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-ex tensions.html
    3) update to the latest version of the Creative Cloud app.
    Also we would like few more details:
    When has this issue started occurring, was this after installation of any specific adobe product.
    On which platform are you seeing this.
    Also we would like to know if after above steps this issue occurs ever again in future.
    You can refer to http://forums.adobe.com/thread/1239510
    Regards,
    Rajshree

  • Where do you obtain the download for the pdf pack desktop application now?

    Where do you find the download for the adobe create pdf pack desktop application?

    Hi Milly,
    You can go here PDF Pack. There are tutorials available as well!
    Hope this helped.
    Kind regards, Stacy

  • I tried to download the lastest version of itunes for my windows based desktop.  Error message "Apple mobile device failed to start. Verify that you have sufficient provledges to start system services." Uninstall & reinstalling itunes didn't work

    Hi Communitiy.
    I have a window desktop and have had itunes for ever.  The latest update failed and I am getting a strange error message.  "Apple mobile Device failed to start. Verify that you have sufficient privledges to start system service."
    I have iphones and I am wondering if a sync of iphone and I tunes has somehow screwed up everything.
    The update will not load.  I have even tried uninstalling itunes and reinstalling. 
    I get the same exact message as before.  
    I am stuck as to what to try or do.

    Hello Clage,
    The following article provides steps that can help get the Apple Mobile Device service sorted.
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/TS1567
    Cheers,
    Allen

  • I need Firefox 3.6. How can I go back? I need it for a web-based software application that I use at work.

    At work (University of Texas at Arlington), I use a vendor-provided web-based application that requires Firefox 3.6. I've uninstalled Firefox and tried to install 3.6, but I got Firefox 6.0. When I start Firefox now, it sometimes automatically updates so that at this point I'm using 7.0. I've lost some functionality in the application, and the vendor's tech support is not able to help with some things such as printing pages, user preferences, etc.

    You can get firefox 3.6.23 here
    * http://www.mozilla.org/en-US/firefox/all-older.html
    * see also [[installing a previous version of firefox]]
    You may consider seeing if there is a firefox 3.6.23 portable version available if you are using it for one particular application only, you could then use firefox 7 for other browsing.
    * see http://portableapps.com/apps/internet/firefox_portable

  • Project setup for a mobile and desktop application including native extensions (ANE)?

    I'm using Flash Builder 4.6 and I want to develop an application that is deployed to mobile and desktop devices. Therefore I tried a setup with three projects; one desktop project for Windows and Mac OSX, one mobile project for iOS and Android and also one library project for shared resources. The library project is used in the mobile and desktop project. Afterwards I placed all stuff like AS classes and UI components in the library project and instanciate them in the devices project. This works so far. (As consensus decision-making I used Flex components that are available vor mobile and desktop.)
    But If I want to use native extensions (ANE) like a DLL for Windows or a gyroscop for mobile devices, then I can't add the ANE to the library project. I have to add the ANE file separately to each device project and build a separate UI components. Is this the way it's intend to use ANE files? Is there an even simpler approach?
    Or is there a completly different way, e.g. setup just one common project (instead of three) and use different skins for mobile and desktop?
    Your answer is appreciated. (Including links to documentation and tutorials.)

    This thread doesn't look promising:
    http://forums.adobe.com/message/4737831
    Same here:
    http://stackoverflow.com/questions/11143907/flashbuilder-4-6-how-do-setup-project-for-mobi le-desktop-publishing
    Though if you're using Starling, there's some setup instructions here:
    http://wiki.starling-framework.org/manual/project_setup

  • Thin client based desktop application

    we have ThinClient (Dum terminals) solution.I have developed an application by using Swing FrameWork "Single Frame Application". how clients can access this application consistantly means without any Transaction related problems?.Please give me the solution

    You might be able to use Java Web Start. I would look into it to see if it does what you need.

  • Cannot make executable jar file for swt application

    hi to all!!! i have started learning swt library and it seems nice to me, but i have one problem, i cannot run my application. The problem is that i cannot make executable jar for it.
    i'm using ecilpse_3.1.2 and have pluggined the visual editor for swt! yesterday i found one topic where was described the process of making the swt executable jar, i followed the instructions in the topic, but didn't resolve my problem, so if anybody knows how to achieve this , please help!!!!!!
    the instructions in the mentioned topic are :
    1. Make sure the SWT jar file is included in the Eclipse project build path
    a. Download the standalone SWT jar file from eclipse.org even if you already have the ones that come with Eclipse. It is called ?swt.jar? and you will package it with the executable JAR. Make sure it is the same version of SWT that you used to make your program.
    b. In Eclipse, import swt.jar via Project Properties::Java Build Path::Libraries::Add External JARs. (Make sure to include the source .zip file). Also make sure to select the swt package in the ?Order and Export? tab.
    c. At this point, you should be able to compile and run your SWT application in the Eclipse SDK.
    2. Do a standard Eclipse jar file export
    a. Right click on the main .java project file and select ?Export??.
    b. Choose ?JAR File? from the list.
    c. Select the relevant packages and .classpath and .project resource files
    d. Make sure ?Export generated class files and resources? is selected and browse to the location where you want the JAR file to be created.
    e. Specify ?Generate the manifest file? and don?t seal the JAR or any packages. Choose the class containing the main method as the ?Main class?.
    3. Change the manifest file
    a. Navigate to the JAR file you created and open it with WinZip.
    b. Open the MANIFEST.MF file inside and copy the contents.
    c. Create a new file called ?MANIFEST.MF? and paste in the contents of the old manifest file.
    d. Add the line ?Class-Path: <swt jar file path>?. For simplicity, you can just keep a copy of the swt.jar file in the same folder as the executable jar, in which case, the line is ?Class-Path: swt.jar?. Make sure there is a carriage return after the last line in the manifest file, or that line will not be parsed.
    4. Replace the manifest file
    a. Make sure the manifest file and the executable jar are in the same folder.
    b. Open the command prompt and navigate to the containing folder.
    c. Enter the command ?jar umf MANIFEST.MF <executable jar name>? to update the manifest file with the class path information.
    5. Package the JAR with SWT files
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows.
    b. The JAR file should now successfully execute. On Windows, you can usually just double click the JAR file in explorer and it will open. If that does not work, the command ?java ?jar <executable jar name>? on the command line has the same effect.
    but a few steps aren't exact for me , for example : first, which jar i have to include in build path : downloaded or from plugins folder, second
    i have to incude source.zip too??? but it is only in downloaded zip file which includes both swt.jar and src.zip, and finally can anyone clarify next :
    "5. Package the JAR with SWT files
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows."
    what does this mean, put these in folder or make jar from them????

    wolve634 wrote:
    but a few steps aren't exact for me , for example : first, which jar i have to include in build path : downloaded or from plugins folder, secondTry it both ways. If neither works, then ask again. In a suitable forum, though. An Eclipse forum or an SWT forum or something related to where you got those instructions would make a lot more sense than asking here.
    i have to incude source.zip too???No, of course you don't have to distribute the source code.
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows."
    what does this mean, put these in folder or make jar from them????It says "Put (them) in the same folder". You're asking whether that means to put them in a folder? Yes, it does.

  • ROUTERS AND ADAPTERS FOR WIRELESS CONNECTIONS WITH DESKTOP PC'S

    I am looking for a router with security and antenna's for 3 home based desktop PC's

    A)  All Linksys wireless routers have the option of using security (i.e. encryption).  They support WEP, WPA, and WPA2 encryption.  Additionally, all Linksys routers provide NAT (network address translation) and an SPI firewall.
    B)  All Linksys wireless routers have antennas.  Some have external antennas, and others have antennas that are built into the body of the router (i.e. no visible external antennas).  Both types of antennas seem to work OK.
    To help determine what router might be best for you, please try to answer the following questions:
    1)  Do your desktop PC's already have wireless adapters?  If so, are they wireless b , g , or n ?
    2)  What do you want to do with your router?   mainly get email and surf the Internet?  play games?  play games wirelessly?  frequently transfer large files (video files) from computer to computer on your home network?
    3)  How many of your computers will be wired to the router?  How many wireless?
    4)  Do you already have a high speed Internet connection  --  who is your ISP?
    5)  Do you already have a modem ? --  please state make and exact model number.
    6)  Do your desktop PC's have an ethernet port?
    Message Edited by toomanydonuts on 05-21-2009 03:03 AM

  • Small weblogic.jar for jms/j2ee clients of weblogic

              We are trying to create a smaller footprint for the ~38M weblogic.jar for distribution
              to our client applications to use the JMS and J2EE features of Weblogic 7.0sp2.
              I attempted to use the whitepaper document distributed by BEA for creating a smaller
              jar file, but it did not work. Has anyone else in the user community successfully
              created the jar file and if so could they give me some insight on how they did
              it.
              Thanks,
              Ashish
              

    Hi Ashish,
              I've personally used the "URL" class loader option with success,
              and I know that several customers have also used this option, as
              well as the other options for years. Feel free to
              post more detail than "it did not work", and I may be able
              to help you out.
              Tom, BEA
              P.S. If 8.1 is an option, you may with to consider using the
              thin client jars it supplies.
              Ashish Bisarya wrote:
              > We are trying to create a smaller footprint for the ~38M weblogic.jar for distribution
              > to our client applications to use the JMS and J2EE features of Weblogic 7.0sp2.
              > I attempted to use the whitepaper document distributed by BEA for creating a smaller
              > jar file, but it did not work. Has anyone else in the user community successfully
              > created the jar file and if so could they give me some insight on how they did
              > it.
              >
              > Thanks,
              > Ashish
              

  • Windows Desktop Application for text messages?

    Hello, For Verizon Messages / text messaging - Is there a Windows Desktop application available to download? I would like to use an actual app instead of the browser on my desktop. I already have apps for my mobile devices; I'm specifically looking for a Windows 7 desktop application; other than using a browser.

    Download Desktop App | Verizon Messages

  • Localization with an LCDS based AIR application

    Hi,
    I wanted to add localization in my app, so I followed this
    step by step how-to :
    http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization
    I succed make this to work, but with a simple test
    application.
    So I decided to do the same with a biger cairngorm LCDS based
    application.
    But a encounter an issue : with locales specified in the
    compiler params (ie:en_US,fr_FR), everything works, but with bundle
    list, I got an error :
    "Could not find resource bundle data"
    I found some related pages on the web speaking about this,
    but they all were concerning Flex betas.
    Can you help me ?
    Note : I'm using Flex 3 and LCDS 2.5.1

    I'm afraid you are picturing the architecture in the wrong
    way. An AIR application is essentially a traditional desktop
    application -- you just create them with what have traditionally
    been web-based technologies. There are also many APIs and a
    built-in security model for network and Internet interaction which
    make it easier to develop an AIR-based desktop application that can
    safely access networked content.
    Your main application SWF (or HTML file) is installed with
    the application, not downloaded. You could download additional
    modules and execute them in the privileged application sandbox, but
    there is a security risk that either your server being hacked or a
    man-in-the-middle attack could result in a forged module being
    downloaded and executed instead of the original. I believe Flex
    intends to implement signed modules to mitigate this risk, but
    until this feature is available, it is better to install all the
    application logic as part of the application. AIR includes an
    update framework for updating an installed application, but for
    user experience reasons, you probably wouldn't want to update the
    application too frequently.
    All that said, if what you really want is a customized
    browser for your web application, you could write such a thing
    using AIR (using the mx:HTML control, for example) and have that
    hardcoded to access your web application.

  • Named Licence (Trial) must have Creative Cloud Desktop Application with CCP?

    Hi,
    We're using an education agreement for deployment of Adobe desktop applications, and previously, we created a trial or now named license to deploy the applications to our SOE, and then used a license package (after imaging) to licence the software.
    In past versions of CCP the desktop application wasn't forced onto the machine, but it appears that it is now?  How can I prevent this? Our users aren't using the desktop application to sign in, we are using the license package.
    Is there another way to create a trial package (sans desktop app)?
    Regards,
    Glenn.

    Hi Glenn,
    We're moving more and more of the essential shared componentry around activation and named user deployment, as well as software and asset acquisition, into Creative Cloud Desktop app.  Making Creative Cloud Desktop app mandatory allows us to streamline the user experience around login, activation, and service access, as we don't need to replicate this work everywhere.  This will be critical, for example, for CC Libraries, CC Assets, AEM Assets, and other core CC capabilities and their integration with the desktop and mobile tools.
    hence, creative cloud desktop app is mandate for Named license user.
    Thanks,
    Ashish

Maybe you are looking for

  • Entourage error when sending mail

    Since i have upgraded to Leopard my entourage will not send mail when i click Send Now after typing the message. I get an error about the connection being dropped or not available. I can recieve mail without a problem and I can see it doing a connect

  • I manually deleted my iphone photos through windows explorer now it wont sync new music or backup. any help please?

    i manually deleted my iphone photos through windows explorer now it wont sync new music or backup. any help please?

  • Poker game logic

    has anybody ever tried to make a poker game if you have, please help me. if you have not, please help me if you can. how would you check weather there is a winning hand. the possibilities are Royal Flush, Straight Flush, 4 of a kind, full house, flus

  • HTML Editor Standard

    Hi, I created a html editor standard region, the HTML code is save fine in db: <p align="left"><strike><font color="#ff0000"><font size="7"><strong><em><u><strong><em><u>Test</u></em></strong></u></em></strong> </font></font></strike></p> <div style=

  • Incorrect version showing after Oracle version upgrade

    Dear All As we have upgraded our oracle version from 10.2.0.4.0 to 11.2.0.2.0. As we go in the sqlplus / as sysdba " . it is showing the correct version. ever after i checked through 'select version from V$instance' showing the correct result also. 1