Jarred swing app and getting console output

Hi,
I've created a jar app using eclipse that starts a swing application. The jar works fine, but I was curious if there was a way to double-click the file and get console output as well. When I start the program through the command line, I can get my output, but double-clicking the icon doesnt' start up a console. Is there a way to accomplish this?
Thanks

Normally in Windows systems the javaw executable is assigned to the jar extension. javaw is a jvm without console. You might want to change that and assign java to jar but be aware, that this affects all jar files.
If you want to do that just for that jat file I would write a bat file which starts the application using java.

Similar Messages

  • I recently Updated my phone and my front camera stopped working its pitch black but still shows the icons on the screen but when i get off the app and get back on and flip the camera to my face view it works fine

    I recently Updated my phone and my front camera stopped working its pitch black but still shows the icons on the screen but when i get off the app and get back on and flip the camera to my face view it works fine

    Hi there Fgonzalez2015,
    You may find the camera troubleshooting steps in the article below helpful.
    Get help with the camera on your iPhone, iPad, or iPod touch
    You see a closed lens or black screen
    If you see a closed lens or black screen when you open the Camera app, try these steps:
    Make sure that there’s nothing blocking the camera lens. If you’re using a case, try removing it.
    Force the app to close, then open the Camera app again.
    Restart your device, then open the Camera app again.
    If your device has a front and rear camera, try both cameras by tapping the camera swap icon . If you see the closed lens or black screen on only one camera, take your device to an Apple Retail Store or Authorized Service Provider for more help.
    -Griff W.  

  • How can I complaint about an app and get my money back?

    How can I complaint about an App and get my money back?

    First Contact the Developer of the App.
    If necessary...Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • How do I report a bad app and get my money back

    How do I report a bad app and get my money back

    http://www.apple.com/support/itunes/contact/

  • Get console output

    Hi!
    I have a problem. I would like to get a hand on the console output in my applet. Not saving it to a file, but get the info as a String(or similar) in my program.
    Is this possible? If so, how do I do it? Is there any class(es) to handle this?
    Thanks in advance.
    Peter.

    Try this....u may need some customizing...what i'm presenting is an idea. You have to choose how to use it.
    regards,
    DeeJay
    import java.io.*;
    import javax.swing.*;
    public class IOTest {
         public static void main(String args[]) throws IOException {
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              PrintStream ps = new PrintStream(baos);
              System.setOut(ps);
              System.setErr(ps);
              System.out.println("Output");
              JOptionPane.showMessageDialog(null, new String(baos.toByteArray()));
              System.err.println("Error");
              JOptionPane.showMessageDialog(null, new String(baos.toByteArray()));
    }

  • TS1424 I am unable to update my apps and get this message: There was an error in the App Store. Please try again later. (20)

    Help, i'm unable to update anything in the app store and get this message: There was an error in the App Store. Please try again later. (20)? I updated my account info and still no luck...
    And yes, I have tried later.

    And now I get this message:
    There was an error in the App Store. Please try again later. (13)

  • Can you return an app and get your money back

    I was told you can return an app that you purchased and get your money back if that is true how do I do it?

    A refund may not be possible since the terms of sale for the iTunes Store, as Joey said, state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    It's possible they'll make an exception for you. An exception is more likely if the app is defective in some way or doesn't do what the developer advertised and the developer has been unable or unwilling to help you.
    Good luck.

  • Trying to purchase app and get " invalid address" message

    when I try to purchase apps I get a "invalid address"  message... anyone have an answer?

    Restart your iPhone. Press and hold the On/Off Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.
    If that doesn't help, launch iTunes on your computer.
    From the menu bar click Store / View My Account then click: Edit Payment Information.
    Make sure your billing address, the security code, and the expiration date, are all correct then click Done.

  • HT1937 I purchase some Apps and get billed to my e-mail address. How I pay the bill with my "Pay Pal" account?

    I purchase some Apps at the Apple Store and get billed to my e-mail address. How I pay my bill with my "Pay Pal" account? Is a bit silly request but I'm a newbie.

    Hello John
    Sorry I haven't got back to you sooner.
    Thanks very much for your help, your solution solved my problem.
    Thanks again and kind regards
    Mike

  • How to run commands like "ipconfig" and get the output in adobe AIR in windows?

    import flash.desktop.NativeProcess; 
    import flash.desktop.NativeProcessStartupInfo;   
    if (NativeProcess.isSupported) {     
         var npsi:NativeProcessStartupInfo = new NativeProcessStartupInfo();     
         var processpath:File = File.applicationDirectory.resolvePath("MyApplication.whatever");     
         var process:NativeProcess = new NativeProcess();       
         npsi.executable = processpath;     
         process.start(npsi); 
    The above can only run a sub-application, but how to run an independent  application(command) like ipconfig and get the result?

    Hi,
    here is an example of running a net Use command line from AIR, unig the new NativeProcess. Hope it will help !
    function launchProcess()
      var file = air.File.applicationDirectory;
      // set command path
      file = file.resolvePath("C:/Windows/system32/net.exe");
      var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
      nativeProcessStartupInfo.executable = file;
      // prepare command parameters
      var args = new runtime.Vector["<String>"]();
      args.push('USE');
      args.push('W:');
      args.push('/delete');
      args.push('/y');
      // set arguments
      nativeProcessStartupInfo.arguments = args;
      // add listeners to catch command outputs
      process.addEventListener(air.ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
      process.addEventListener(air.ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
      process.addEventListener(air.NativeProcessExitEvent.EXIT, onExit);
      // create and run Native process
      process = new air.NativeProcess();
      process.start(nativeProcessStartupInfo);
    function onOutputData(ProgressEvent)
      var processResults = process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable);
      air.trace("Results: \n" + processResults);
    function onErrorData(ProgressEvent)
      var processResults = process.standardError.readUTFBytes(process.standardError.bytesAvailable);
      if(processResults.search('password') > -1){
        window.alert('Bad password');
      air.trace("Errors: \n" + processResults);
    function onExit(NativeProcessExitEvent)
      air.trace("Process ended with code: " + NativeProcessExitEvent.exitCode);

  • HT1349 What to when trying to download an app and get message "could not sign in, An unknown error has occurred"

    What do you do when trying to download an app from App Store and get message: "could not sign in, an unknown error has occurred."

    Sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try again.

  • When I am connected to 4G network or my home wifi, I try to connect to the facebook app and get a message saying that I am not connected to a network

    While connected to a 4G network or my home wifi, I try to use the facebook or mosaic app and I get a message saying to check my network connection.
    How do I connect to apps when they think I'm not connected?

    what kind of phone do you have you may need to uninstall and reinstall the applications

  • How to execute this Procedure and get the output?

    I have created a Procedure the source code of the same is furnished below.
    create or replace procedure vin_test( p_deptno IN number
    , p_cursor OUT SYS_REFCURSOR)
    as
    v_res Emp%rowtype;
    begin
    open p_cursor FOR
    select *
    from emp
    where deptno = p_deptno;
    end vin_test;
    Now, if i want to see the out put of this Proc
    i will first set the Serveroutput on and then..
    Exec vin_test(10);
    I am getting an error saying wrong number of arguments,so can anybody tell me what parameter value should i pass on so that i can get desired output.
    Thanks in Advance
    OraCrazy

    In sqlplus you can do like this.
    SQL> create or replace procedure vin_test( p_deptno IN number, p_cursor OUT SYS_REFCURSOR)
      2  as
      3     v_res Emp%rowtype;
      4  begin
      5     open p_cursor for
      6     select *
      7       from emp
      8      where deptno = p_deptno;
      9  end;
    10  /
    Procedure created.
    SQL> var lcur refcursor
    SQL> exec vin_test(30,:lcur)
    PL/SQL procedure successfully completed.
    SQL> print lcur
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO        DIV
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30         10
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30         10
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30         10
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30         10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30         10
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30         10
    6 rows selected.Thanks,
    Karthick.

  • My dish app isn't working correctly the dish people said I should get rid of the app and get a new app, but the cloud keeps putting the same one back on. How do I delete this from iCloud?

    How do I delete an app from the iCloud that is corrupt?

    When you delete an app and redownload it, you are downloading the most recent version of the app from the App store.  In other words, it isn't stored in your iCloud account, it's only stored in the App store.  The iCloud download symbols are just links to your previously purchased apps in the App store so you can redownload them.
    If redownloading the app didn't help, call Dish back as there must be a problem with the current version of the app.

  • HT204088 How can i cancel a subscription for an app and get a refund

    Hello
    I have a subscription for Rhapsody and I want to cancel it, I just got charge $9.99 for the new month, yesterday I want to cancel and get a full refund. I cant afford to have the subscription any longer.. I would appreciate any help you can provide
    Thanks
    Maritza Gaitan

    There are instructions on this page for managing and stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098
    In terms of a refund, all purchases are considered final but you can try contacting iTunes Support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Preview; How can I open multiple PDF's in one window with Preview?

    How can I open multiple PDF's in one window with Preview? I have gone to Previews preferences and selected 'Open groups of images in the same window' and have tried every setting imaginable and nothing works. What am I doing wrong?

  • Give two different speeds (FPS) in one file

    Hey Maybe you can help me on getting this ready: I want to animate two different animations in one file, each with different speeds. for example a menu loading at 12 fps and a bird suddently flying away at 2 fps. Thx for helping! Jo

  • AR Duplicate invoice number

    Hi From past many years we have been getting duplicate transaction numbers in Oracle AR. Because of this the new invoices get stuck in the interface table(ra_interface_lines_all) with the error Duplicate Invoice Number. To address this we are changin

  • DMEE - Structure paid line item counter

    Dear Friends, We have created DMEE structure as per bank format.Bank will print payment advice also by using this txt file. In payment advice part there are 3 line start from "H" which is header part of payment advice and will count like 1, 2 ,3 belo

  • Subject Areas in the Webcat

    Hi, I was wondering why sometimes in the OBIEE Administrator I see the subject areas listed when I go to Manage Privileges, and sometimes I don't. B