• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Terminal Window in a GUI

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello help me please

I want to include a terminal window in an exectuable jar file??

Outside the IDE, I can only access my program by command promt, Im not fussed about layout, I just need what appears in the command promt window to be in a terminal window in a jar file.

Any help or examples of what im trying to do pleaseee

thankyouuu for readinggg
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Jar File Overview makes it sound like you can't. Executable JAR files are run with javaw, which does not show a console.
Can you have your users execute your program on the command line with "java -jar jarfilename" or create an icon that does the same?
Other than that, I think your only option is to create a simple GUI.
 
reply
    Bookmark Topic Watch Topic
  • New Topic