Results 1 to 2 of 2
  1. #1
    Stud1 is offline Member
    Join Date
    Jan 2014
    Posts
    44
    Rep Power
    0

    Default Exporting the Console as .JAR?

    I have written a program which takes place only in the console (a text based program). But when I export it as .JAR, nothing happens when I open it. I wonder why? What else do I need to write to "tell" the program that it's supposed to export the same thing that (when using eclipse) is written in the console?

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

    Default Re: Exporting the Console as .JAR?

    Double-clicking a jar does not open a console. You'll either have to open the jar from the console, write a script that opens the console and runs the jar for you, or provide some kind of GUI.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Exporting with Eclipse
    By DrHax in forum Eclipse
    Replies: 0
    Last Post: 02-12-2012, 01:09 PM
  2. Exporting to jar error
    By Sean2012 in forum Eclipse
    Replies: 3
    Last Post: 12-16-2011, 07:40 AM
  3. Exporting to jar error
    By Sean2012 in forum Eclipse
    Replies: 0
    Last Post: 12-15-2011, 11:32 PM
  4. Exporting to an Excutable Jar
    By KeyLay in forum New To Java
    Replies: 16
    Last Post: 11-29-2011, 02:24 AM
  5. Exporting Question
    By Moncleared in forum Eclipse
    Replies: 9
    Last Post: 03-08-2009, 07:35 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
  •