Results 1 to 3 of 3
  1. #1
    GlWy is offline Member
    Join Date
    Jan 2011
    Rep Power

    Default creating executable with maven


    I'm trying to create an executable jar from a swing application using maven and its maven-assembly-plugin. It builds ok, I saw in the jar it packs the dependent jars, but it contains non of my own programmed classes, resulting in a classnotfound exception when double clicking on the jar.

    Can anyone help me out? Is this the easiest way for creating an excecutable for a swing application or are there better ways?

    I don't find a usable example on the internet. Does anyone has a simple example (or url)?

    the configuration I used is:


    This plugin is in the parent class containing the modules. It has 6 modules, from which the presentation module contains the main class. The other modules are dependencies of the presentation module.
    Last edited by GlWy; 01-24-2011 at 07:37 PM.

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

  3. #3
    GlWy is offline Member
    Join Date
    Jan 2011
    Rep Power


    I know,

    it's because this problem is urgent for me. I need to create an excecutable from a swing apps (maven) as soon as possible.

Similar Threads

  1. Replies: 3
    Last Post: 01-21-2010, 02:51 AM
  2. Creating an executable jar file in IntelliJ IDEA
    By turanan in forum IntelliJ IDEA
    Replies: 0
    Last Post: 12-04-2009, 04:06 PM
  3. Need help for creating executable xml
    By patilsubh in forum XML
    Replies: 3
    Last Post: 10-01-2009, 10:54 AM
  4. Replies: 3
    Last Post: 08-10-2009, 06:34 AM
  5. creating executable jars from Swing programs
    By gotenks05 in forum New To Java
    Replies: 2
    Last Post: 09-19-2008, 01:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts