Results 1 to 7 of 7
  1. #1
    tmboredi is offline Member
    Join Date
    Jan 2012
    Posts
    8
    Rep Power
    0

    Default Application runs in Eclipse console. How to make it a stand alone app?

    I have a single class application which works well in the Eclipse console. But how do I turn it into a Jar file?

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,839
    Rep Power
    8

    Default Re: Application runs in Eclipse console. How to make it a stand alone app?

    This is the first result on google after searching "java jar": Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)

    ...but you know you can compile and run without eclipse, right?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    tmboredi is offline Member
    Join Date
    Jan 2012
    Posts
    8
    Rep Power
    0

    Default Re: Application runs in Eclipse console. How to make it a stand alone app?

    yupp.. I tried the jar in command prompt method but I kept getting the main class not found error! It's ok i managed to squeeze out a jar file using netbeans. Pardon my noobness.. Thanks!

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,839
    Rep Power
    8

    Default Re: Application runs in Eclipse console. How to make it a stand alone app?

    Quote Originally Posted by tmboredi View Post
    yupp.. I tried the jar in command prompt method but I kept getting the main class not found error! It's ok i managed to squeeze out a jar file using netbeans. Pardon my noobness.. Thanks!
    Your noobness doesn't bother me, but you're really going to want to become more familiar with what the IDEs are doing behind the scenes. Eclipse can also export Jars, but like I said, the command prompt is your best bet until you understand the underlying processes.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    tmboredi is offline Member
    Join Date
    Jan 2012
    Posts
    8
    Rep Power
    0

    Default Re: Application runs in Eclipse console. How to make it a stand alone app?

    all right I'll take time to study it as best as I can. Thanks

  6. #6
    Join Date
    Jan 2014
    Posts
    1
    Rep Power
    0

    Default Re: Application runs in Eclipse console. How to make it a stand alone app?

    i want to know the details about the netbeans ...please anyone help me in finding web apps

  7. #7
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,596
    Rep Power
    5

    Default Re: Application runs in Eclipse console. How to make it a stand alone app?

    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Chat applet runs in Eclipse but not on webpage?
    By warydig in forum Java Applets
    Replies: 8
    Last Post: 09-01-2010, 03:54 PM
  2. Replies: 0
    Last Post: 10-04-2009, 02:47 PM
  3. Stand Alone Java Application
    By AndrewM16921 in forum New To Java
    Replies: 5
    Last Post: 01-25-2009, 03:57 PM
  4. stand alone application network change
    By Java.child in forum New To Java
    Replies: 3
    Last Post: 09-07-2008, 11:11 AM
  5. How to create a stand anole application?
    By chris@gaiag.net in forum NetBeans
    Replies: 14
    Last Post: 08-25-2008, 02:13 PM

Posting Permissions

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