Please help keep dos window open

Greetings folks,
Does anyone know how to keep the dos window open after executing a command line Java program?
Many thanks,
Baldeep

baldeep_deep wrote:
DeltaGeek wrote:
You have a few choices
1) Read something from System.in Your app will block until you hit a key.
2) Open a commandline window and run your app from there.Unfortunately, I cannot modify the code to read from System.in since this code has gone to production. Is there another way?You can't change the code?
That kinda removes your options now doesn't it?
Can you modify the batch file (and even so, if you can't change any Java code I am not sure why you're posting to a "new to java" forum...)

Similar Messages

  • Please HELP! i cannot open any Adobe PDF files anymore. i DL the new version XI and since no files h

    Please HELP! i cannot open any Adobe PDF files anymore. i DL the new version XI and since no files have opened - so i recently uninstalled it and re-installed adobe reader 9 but i am having the same problem - no pdf files open and its really causing a problem as i can not open any work documents. please help

    Three things to try (Reader XI)...
    Using Windows Explorer navigate to C:\Program Files (x86)\Adobe\Reader 11.0\Reader, then double-click on Eula.exe and accept the license agreement
    Can you open Adobe Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].
    It could even be a malware issue; see http://helpx.adobe.com/acrobat/kb/reader-core-dll-error.html

  • How do I get rid of the Microsoft Setup Assistant loop? I migrated my software/documents from another laptop so don't have the disk to reinstall. Please help! Can't open any Microsoft Office software, like Word, and stuck in a loop?

    I migrated my software/documents from another laptop so don't have the disk to reinstall. Please help! Can't open any Microsoft Office software, like Word (for 2008), and stuck in a loop?
    Whenever I select Word Microsoft Setup Assistant appears, asks for feedback, then after selecting okay (both on saying yes or no to feedback) goes on to a registration page. When I click on this it says I've already registered so I just click okay, and then move on to a update page. After this, if I click on Word, the process repeats itself.
    As I said, I don't have the disk to reinstall, and can't find the Office Settings to delete as many pages have suggested I should try. Safe Boot restarting also hasn't worked... Really stuck and need Word very soon for work.
    If you can help, that would be great, and feel free to ask any questions about the situation as I'm not an expert here.
    Cheers,
    Jack

    First, export your contact from iCloud.com and save them on your computer in a safe spot some where (like you desktop).  Use this to help you do this: http://support.apple.com/kb/PH3606
    Next, on both of your devices, go to Settings > iCloud and turn on contacts and select Merge. Then turn off contacts and select 'Delete form my [device]' when prompted.
    Now go back to iCloud.com and select a contact (yes they will all be messed up again) and select Command+A on a Mac or Control+A on a PC to select all of the contacts.  Tap the delete key on your keyboard (or right click /control click a contact and select delete).
    You iPhone, iPad and iCloud.com should not be empty for contacts.
    Go back to Settings > iCloud on both devices and turn on contacts again (you should not see merge this time).
    Next, go back to iCloud.com and import your contacts (those exported .vcards).  You can either drag and drop them into the empty contacts list in your web browser, or you can use the gear icon to import.
    You cleaned up contacts should import correctly into iCloud.com and sync to both of your devices.
    Good luck.

  • HT3986 I installed windows 7 to my macbook pro, but my mousepad does not work in windows 7 and also i can not connect my windows 7 to projector, but i can use my macbook's mouse pad and i can connect my mac to projector,so please help me for windows 7 pro

    I installed windows 7 to my macbook pro, but my mousepad does not work in windows 7 and also i can not connect my windows 7 to projector, but i can use my macbook's mouse pad and i can connect my mac to projector,so please help me for windows 7 problem

    i try to download now, do you think when i download and install the windows support software, can i fix the problem?

  • Todays update! After todays update I can no longer send Safari or Spotify to the task bar without it cutting out (dropping audio in and out). Streams normally if I keep the window open on my desktop. This needs to be fixed immediately.

    Todays update! After todays update I can no longer send Safari or Spotify to the task bar without it cutting out (dropping audio in and out). Streams normally if I keep the window open on my desktop. This needs to be fixed immediately.

    Nevermind. I figured it out.

  • I keep multiple windows opened and minimized. Sometimes when I click on the task bar to Restore, it apparently "disappears" out of view past the upper left corner. From then on, it can only be seen by using Maximize. What can be done to move it back?

    I keep multiple windows opened and minimized. Sometimes when I click on the task bar to restore one, it apparently "disappears" out of view beyond the upper left corner of the screen. From then on, it can only be seen by using Maximize in the task bar. When Restore/Move/Size are clicked, the pointer just goes to the upper left corner of the screen with all combinations of clicking/dragging having no success. What causes this, and what can be done to move it back?

    If a window disappear then using the system menu can make it reappear or make it possible to move that window in view. I don't know what causes it to make the window disappear in your case if it does work correctly if you start Firefox.
    You can check the browser.link.open_newwindow prefs on the about:config page if you want to open all links in tabs in the current window.
    * http://kb.mozillazine.org/browser.link.open_newwindow (3)
    * http://kb.mozillazine.org/browser.link.open_newwindow.restriction (0)

  • My iphone automatically locked and it does not open again,but if u call the sim that was inserted you will hear that it was active,so please help me how to open my iphone 4,no display appeared if you touch the switch button

    my iphone automatically locked and it does not open again,but if u call the sim that was inserted you will hear that it was active,so please help me how to open my iphone 4,no display appeared if you touch the switch button,

    Hello arlyn-cavite,
    If the screen is not showing anyting when you press any of the buttons you may want to try these steps.
    From article iPhone: Hardware troubleshooting http://support.apple.com/kb/ts2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Take care,
    Sterling

  • I have windows 64 and trying to download itunes 10.5, it start downloading but then after it`s almos finish i have a window pup up with error Microsoft ft VC80.CRT,type="win32" etc.Please help.I have windows 7 64

    I have windows 64 and trying to download itunes 10.5, it start downloading but then after it`s almos finish i have a window pup up with error Microsoft ft VC80.CRT,type="win32" etc.Please help.I have windows 7 64

    same here.

  • How do I keep multiple windows open and switch back and forth?

    How do I keep multiple windows open and switch back and forth?

    billyg27,
    if you hold down a Command key and press the Tab key, it will show a set of icons representing your currently opened programs. Press Tab until you arrive at the program you’d like to switch to, and then release the Command key.

  • Upgraded from 3.6 to 7 - changed nothing else - now takes 50-60 seconds to for the browser to start - works OK after that as long as I keep a window open. I then diabled all plug ins and extenstions - still 60 seconds to load browser.

    I upgraded from 3.6 to 7 - changed nothing else - now takes 50-60 seconds to for the browser to start - works OK after that as long as I keep a window open. I then disabled all plug ins and extensions - still 60 seconds to load browser. I also keep getting a high memory warning from AVG with mem usage up to 600,000 k

    I upgraded from 3.6 to 7 - changed nothing else - now takes 50-60 seconds to for the browser to start - works OK after that as long as I keep a window open. I then disabled all plug ins and extensions - still 60 seconds to load browser. I also keep getting a high memory warning from AVG with mem usage up to 600,000 k

  • Please help. Javascript to open/place a file onto an open document to a specific layer

    Hello,
    I would like a javascript that would open and place a PDF file to an active document in Illustrator. I would like it to place it to a specific layer, align it to the art board, and then embed it. Can someone please help?
    Thanks in advance.

    This should be close to what you want:
    var sampleFile = new File( Folder.desktop.fullName + "/SampleFile.psd");
    if (sampleFile.exists) { app.open(sampleFile); }
    else { alert("Could not locate sample file on the desktop."); }
    Tested it out on a Windows machine with no problems.

  • Very Urgent...Please Help..Invoking Windows Applications

    I capture the Windows Desktop screen and saved it as a .jpg file. I then display the .jpg file on frame ( whose size is that of the screen ). Now if i click on the frame, the corresponding Window's application should be invoked ( i.e if I click on the frame where the Start Menu is shown, then the Start Menu should be opened ). Please help me with the code for this. I will be forever indebted to the person who can help me. Iam in very urgent need of this help

    Not so easy.A JPG file is a compressed map of a "picture",nothing more. So , You have to get a reference to an object of this map - You can't save to a simple file (JPG) and expect to do what you want to do.Think something else , not a simple snapshot.In Win98 you have a directory "Desktop" where are all of your icons , in Win2000 you have to search in "Documents and settings\User_name\" or something like this to find the same directory and get all icons.Therefrom look for "Properties" and find the path to execute the exe file.It must be something like this I think.Hope have been helpfull.

  • Please help - AppleWorks won't open. The icon just bounces in the Dock.

    I have been writing and saving all day on Appleworks. Now when I want to open up an Appleworks file, it won't open up. I tried clicking it from an icon on my desktop, clicking a file from my Recent Items list, and getting one from my hard drive. Nothing opens up. I tried turning off my computer and restarting it and it still will not open any Appleworks file. The Appleworks icon at the bottom bar of my computer just bounces up and down, but nothing opens up. I am able to open my iWorks Pages files without any problem. The bad thing is that I need to get my saved Appleworks files and edit them. Please help... Thanks in advance, Teachermom99

    Welcome to Apple Discussions
    When an application stops working as it should, it's likely due to corrupt preferences. You can follow the steps in this user tip or use the reset function of Dale Gillard's Sidekick.

  • I have a macbook pro 1175 its a 2006 model which boot camp will work i tried 4.03 but it says this boot camp is not for this machine thats the oldest one i found here please help i have windows 7 32 bit installed but need drivers for the sound

    i have a 2006 mackbook pro running windows 7 32 bit i need drivers for the sound and the earliest bootcamp on here is 4.03 my machine says its not for this system please help which version of boot camp can i use

    Read this. You need to be running Snow Leopard or later.
    http://support.apple.com/kb/ht3986

  • *Please Help* iTunes wont stay open

    When I open my iTunes, and the itunes store begins to load, the store and my library automatically close. It stays on for about a second, then closes by itsself. I cant even get to my library for more than two seconds without it closing. Please help, very frustrated. Thank you!

    ok i deleted /Libraries/Receipts/iTunesX.pkg and deleted the iTunes i had tried to download and install then re-downloaded iTunes again and it still won't open. should i delete iTunes3.pkg and iTunes4.pkg too? am i doing something wrong? this is incredibly frustrating, i feel like i've deleted all this stuff off my comp. but nothing does anything

Maybe you are looking for

  • Netbeans, webstart and Windows 2003/IIS 6.0

    Hi this may not be the best place to post this question but I can't find a Netbeans forum. I want to be able to deploy from Netbeans onto my remote Windows 2003 server using the Web Start module. I can't seem to register the server as only TomCat and

  • GP SP6: Find completion date of a process instance

    Hi all,    We are using GP SP6. We want to find out the actual completion date of a particular process instance. Something like <i>getActualEndDate()</i> that's available in SP7.    Is there a way to do this? Regards, Satyajit.

  • Double click now required to use survey response buttons - why?

    If you click on a response button in a Benchpoint survey, the answer defaults to the first choice on the response list. A Double click is now required to hit the right choice. This is confusing respondents who have been used to a single click for yea

  • Outlook app

    Has anybody had problems with the new Outlook for iOS app? it will not recognise my username and password for my iCloud.com account. A Yahoo mail account works perfectly with the app. i Am using version 1.0.3

  • Adobe Muse Forms and GoDaddy

    Has anyone come up with a solution for the consistent problem between Adobe Muse forms and GoDaddy hosting? I just spent an hour with GoDaddy and they said everything on their end was working. It was a script problem. I can't seem to get any answers