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

    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
    Washington, DC
    Rep Power

    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 - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

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