Console window disappearing

hi,
i have a very simple problem. If i write a simple application with JDeveloper 3.1.1.2, the results coming to the console window are disapearing very fast. I have documentation on JBuilder where its possible in the run/Debug option of the project properties menu to make the window stay on screen but this option is not present with Jdeveloper. Is there a way ?
thanks in advance and sorry for the bad spelling, english is not my main language

You should consider writing debug statements to a logfile instead of to the console. This is helpful because:
(1) You have a permanent copy of the output so you can compare runs;
(2) You don't have to remove all your debug messages afterwards.
Your best bet is to download the free tool log4j from www.apache.org. This is a pure java utility and you don't have to be running Apache (or indeed doing web development) to use it.
HTH, APC

Similar Messages

  • Console Window disappeared

    Hello,
    I have a forms module, where I call (Call_Form) a help module. When the help module appears, the console window (message line) disappears and I see a white background instead.
    When I close the help window, the console (message line) still is disappeared. Why?
    Can someone give me a hint to solve this?
    Thanx
    Hans

    Hi,
    I don't know why, whether it is because of a missing patch or whatever reason there may be, but the solution to the above mentioned problem was quite simple.
    SOLUTION:
    In the called Form I -as in every module in the entire application- maximize both the MDI as well as the SDI. When I removed the maximization commands the console stayed.
    Maybe someone can give me an explanation for this phenomena?
    Salve.

  • Console Window keeps popping up for one second then vanishes before I can read it

    a console window (with white letters on a black background) keeps popping up for 1 second and then vanishes before i have time to read it - How can i
    stop that, or how can i capture what is written on the console before it disappears (so that I can troubleshoot it)?
    I use as x64-bit Windows 8 pro Lenovo T430s.
    Thanks in advance,

    Thanks Andre,
    I ran ProcMon and went to the ProcessTree window, but could not find any cmd.exe there (and hence could not see the commandline). (I also watched the video about ProcMon).
    The closest I could find in the ProcessTree window was conhost.exe, with commandline showing:
    \??\C:\windows\system32\conhost.exe 0x4
    I saved the capture trace, at:
    http://sdrv.ms/14Dfvjs
    Do you see any other leads in there that I could work on?
    In the result column, I noticed some "buffer overflow" and "name not found", many associated with "tunmgr.exe" the Blackberry Link Communications Manager.
    I also noticed that in the ProcessTree Window, the only two process lines with an End Time are tunmgr.exe and conhost.exe.
    the respective command lines are:
    for tunmgr.exe:
    "C:\Program Files (x86)\Common Files\Research In Motion\Tunnel Manager\tunmgr.exe" -Embedding"
    for conhost.exe:
    \??\C:\Windows\system32\conhost.exe 0xffffffff
     - could that be it?
    If so, how could one fix that ?

  • Jbuilder dos window disappears

    i'm using jbuilder and when i run a program, the dos prompt goes up on screen for a split second then vanishes. is there a simple getch() function like in C++ that can halt the dos prompt? if not what's the easiest way to halt it?
    thanks, mike

    Hi-
    I'm having a similar problem of the DOS window disappearing.I already tried unchecking that option of "Close console window on exit" but the window still vanishes in 2 secs.
    Any help is appreciated
    Thanx.

  • Safari 3.0.4 on OS 10.5.1 not crashing but browser windows DISAPPEAR! Help!

    I know there is a thread in the beta forum with a generic title "Safari acting strange" but I figured a more specific thread title might get more attention from those experiencing the same anomalies.
    Here is my problem:
    I'm using Safari 3.0.4 that came with the Leopard 10.5 disk I installed on my laptop. Safari was working fine for a good couple weeks and then suddenly it began acting strange indeed.
    Now after an undetermined amount of time when I have a Safari browser window(s)/tab(s) open it will suddenly disappear off my screen without provocation (meaning I don't have to perform any action to do this. I can be sitting there not touching the laptop or typing anything; it will just disappear as if some unseen person with a remote control hits the Let's-mess-with-this-guy's-computer button). At first glance it seems that Safari has crashed.
    However when I look to see what happened or perhaps relaunch I see that Safari is still up and running. The menu bars all work. It seems to be in perfect working order. Only problem is the browser windows have disappeared and nothing I do will bring them back. I can try to create new browser windows and Safar thinks it is creating them because I can check in Windows menu and see the fruits of my efforts stacking up more and more as I add new windows and tabs in an attempt to get the browser windows back. However where these windows live is a mystery to me. When I try to quit Safari I get an Alert message asking me if I really want to close the windows with the multiple tabs in them (further supporting the theory that Safari still thinks windows are open and seeable by me)
    When I DO quit Safari and relaunch it, it remains in the same state. No browser window is seen yet looking in the Windows menu I can see that a new browser window is present. The only way to use my Safari again is to reboot my computer. Of course this fixes the problem for maybe 5 minutes until the browser windows disappear again. And that's when I switch to Firefox.
    I've repaired permissions. I've checked for any Input Managers folder for culprits but seeing as this is a fairly new laptop and that I just did an Archive and Install of Leopard with a fresh Safari in toe I have not installed any 3rd party applications so no Input Managers folder exists anywhere on my laptop.
    I have the standard Safari Plug-Ins that come with Quicktime.
    I have Spaces turned off. I am not using dual monitors so the browser windows are not being shot off to a second screen somewhere.
    I see nothing in the crashlog because I actually don't think Safari is treating this behavior as a crash. It's not quitting unexpectedly or anything.
    So I am at a total loss. Any ideas?

    I had this problem as well.
    First: In Safari go into preferences and select the "security" tab. Uncheck "Enable Plug-ins"
    This fixed a lot of bugs for me !
    Second: If that worked than you just need to go to Hard Drive/Library/Internet Plug-Ins
    There should be a folder there that is called "Disabled Plug-Ins" I just put all of the plug-ins in that folder, went back and rechecked " Enable Plug-Ins" in Safari preferences, and then one by one added plug-ins back out of the disabled folder while reloading a web page that caused problems before. After some trial & error I think I have a setup that works for now. Hope this helps!! Also as of now I have installed all software updates. My mac has been doing this for a while. Logging out & back in reset safari back to where it was useable.
    I have not had problems with any other programs.

  • ICal week view window is gone. When selected the window disappears.

    Whenever I click on view->week view (or just the "week" button on the bottom row) my ical window disappears. No idea where it is going. If I click on view->day/month the window comes back. However, after it comes back in day or month view, the info sidebar (and button at the bottom to control it, along with the todo and results list buttons beside it) now isn't there.
    Any ideas how to fix this? I think it happened when I plugged my laptop into a 1024x768 projector and then changed my mind quickly and unplugged it, but it has been like this for a couple of weeks now through several reboots etc.
    This is a macbook pro running tiger.
    Thanks,
    Bruce

    Bruce,
    Often iCal display anomalies can be rectified by refreshing the iCal plist file.
    Quit iCal, and drag the com.apple.iCal.plist file which is located in your Macintosh HD/Users/yourusername/Library/Preferences Folder to the Desktop. Then log out/in or restart and check iCal for desired behavior.
    ;~)

  • Month View makes window disappear

    HI I am wondering about this - I was using iCal and it was working fine, then I cam back to the computer later, and the calendar had disappeared. I quit restarted, repaired permissions, all to no avail.
    What I am finding is that I can see my calendars in Day and Week view, but if I change to month view the window disappears. It also does thew same if I press cmd+3.
    I only use it on one computer, am not syncing to anything. The only that may have been strange was that I was connected to an LC Projector when i was using it, then I disconnected while it was still open. Afterward it doesn't seem to work. But I have also reset the displays to detect that there is not a second monitor, etc.
    I am using a Powerbook G4 17", 1.67GHz, running 10.4.8, and iCal 2.0.4
    I also can't seem to find an updater.
    And just to try - how does one reset iCal to begin with, and not lose all calendars - I've been using it for about 3.5 years (and have the next 8 months scheduled out on it) and haven't had trouble until now, and don't want to lose everything.

    Hi,
    The window positions are kept in your preferences.
    Quit iCal and try moving the com.apple.iCal.plist file in User>Library>Preferences to your Desktop, then re-start iCal. The preference file will be re-created with the default settings, this will not affect the contents of your calendars.
    best wishes
    John M

  • Input a string and assign to a variable in the console window

    i'm absolutely and completely new to java
    i need to be able to input a string and then assign it to a variable, entirely using the console window, basically i'm looking for the Java alternative to C++'s "cin"
    i've tried the System.in. method but nothing seems to work
    i know this should be simple, but i cant find it anywhere
    cheers

    i've tried the System.in. method That thing is not a method: it's an object, an intstantiation of the InputStream
    class. If you read the API documentation for that class you'll notice that it
    isn't much more sophisticated than C's file IO. You can wrap an
    object if this class in a more high level class (see InputStreamReader
    and BufferedReader).
    The latter allows you to read an entire line of characters. If you really want
    to go fancy you can wrap the first class in a Scanner which is only
    available in Java 1.5
    kind regards,
    Jos

  • Closing Console window while running Java application from Batch file

    Hi all,
    I have made a small application using Java swings,now i have made a jar file of my application and calling this jar file through batch file,when user clicks on that batch file it runs "java -jar applicationname.jar" command,but problem is that when i run that file from batch file it opens Dos console window at baclk of the screen which looks weird for a desktop application,i dnt want that Dos console window visible at the backend while my application is running,i have searched regarding this on google but found nothing usefull,if anybody can please help regarding that it will be a great releif for me,i have been stuck on this problem from last two days.
    Thanks.
    Simer

    warnerja wrote:
    georgemc wrote:
    warnerja wrote:
    start java -jar applicationname.jar
    That'll pop up another consoleI'm under the impression that the console window he is seeing is the one which cmd.exe opens when it is executing the batch file. And that batch file won't return until the java process has completed because he didn't start it in the background to let the batch file continue and terminate.
    So I don't think just simply substituting java with javaw will do much good either. Still think he needs a "start" command in that batch file.
    So now he can try:
    start java -jar ...
    or
    start javaw -jar ...Fair point

  • Console window doesn't show on second start of java.exe

    I am building restart capability into my product.
    When the product is started for the first time, it is started through a Windows EXE using a ShellExecuteEx method. I simply launch "java.exe" with my classpath, etc. My Windows console window shows up and I am happy.
    When a do a restart of the app, I am inside of the original JVM. I have access to the exact same commandline that I used in the EXE to launch "java.exe" originally.
    With the restart, I simply call Runtime.getRuntime().exec(commandline) and pass in the exact same commandline that I passed in when I did this in the EXE. However, when I do this from within the JVM, I do not get my Windows console window. This is not good.
    Does anybody understandn what is going on here and how I can remedy this?
    Thanks in advance for your help!

    I'm not sure what is happening in your case.
    Do the images initially show in "Tools > Page Info > Media" or is that always with size 0px?
    Quote: ''but if i click on same link second time than size gets right and image is shown under preview box.''
    Is that with clicking on the web page?
    Can you load the images via the links that you see in "Tools > Page Info > Media" without any problems?
    Do you see the request for those images in the Network tab in the Web Console (Firefox/Tools > Web Developer) and what is the server response in that case?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • JRE 1.4.2 Plugin - Error in console window

    I have just installed the latest JDK 1.4.2. When I run any of our applets I get the error below in the console window.
    Can't find bundle for base name sun.awt.windows.awtLocalization,
    locale en_GB
    I have tried this on other machines and get the same error.
    It didn't have this problem with the previous installation that we used 1.4.1_04.
    Has anybody got any idea what's causing it and how to fix it ?
    Thanks

    I have the exact same problem, and when i try to use the back space button in a text field in the applet, it either shows as Question marks or as rectangles...
    This is not an issue with MS VM...
    db

  • Console window is not showing

    Hi fellows,
    Today I found a problem with my built in console in Mac OS X Mavericks.
    The problem happens randomly. I'll explain it in steps.
    1. Click on the console icon - the console opens.
    2. From the menu - Console/Quit Console - the console closes.
    3. Click on the console icon - the console starts - but no window is displayed. There is mark under the icon, showing the the program is active, the top menus are present, but no window is displayed.
    4. After several quits and restarts at some point the console window reapers and there is log message in the sys.log saying:
    Oct 31 12:44:03 My-MacBook-Pro.local Console[370]: (
      0   CoreFoundation                      0x00007fff8c71425c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff8fa0ee75 objc_exception_throw + 43
      2   CoreFoundation                      0x00007fff8c71410c +[NSException raise:format:] + 204
      3   Foundation                          0x00007fff9301a99a -[NSURL(NSURL) initFileURLWithPath:] + 113
      4   Foundation                          0x00007fff9301a90d +[NSURL(NSURL) fileURLWithPath:] + 43
      5   Console                             0x0000000101ea86c6 Console + 42694
      6   Console                             0x0000000101eadfa1 Console + 65441
      7   Console                             0x0000000101ebc2b3 Console + 123571
      8   Console                             0x0000000101ebc38f Console + 123791
      9   Console                             0x0000000101ebac85 Console + 117893
      10  CoreFoundation                      0x00007fff8c6e2e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
      11  CoreFoundation                      0x00007fff8c5d682d _CFXNotificationPost + 2893
      12  Foundation                          0x00007fff92ffde4a -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
      13  AppKit                              0x00007fff8d01ab69 -[NSApplication _postDidFinishNotification] + 289
      14  AppKit                              0x00007fff8d01a89c -[NSApplication _sendFinishLaunchingNotification] + 195
      15  AppKit                              0x00007fff8d01318a _DPSNextEvent + 1238
      16  AppKit                              0x00007fff8d01289b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
      17  AppKit                              0x00007fff8d00699c -[NSApplication run] + 553
      18  AppKit                              0x00007fff8cff1783 NSApplicationMain + 940
      19  libdyld.dylib                       0x00007fff927065fd start + 1
      20  ???                                 0x0000000000000001 0x0 + 1
    Oct 31 12:44:08 My-MacBook-Pro.local Console[371]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    Oct 31 12:44:08 My-MacBook-Pro.local Console[371]: *** -[NSURL initFileURLWithPath:]: nil string parameter
    Oct 31 12:44:08 --- last message repeated 2 times ---
    Video of my problem: https://www.youtube.com/watch?v=dMmXln1CNgM&feature
    How can I fix the console and make it to appear every time I start the application?
    I'm looking forward to hearing from you!
    Kind Regards,
    Nick

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Console.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Unable to open a seperate java console window with javascript:window.open()

    Hi All,
    I am opening a new window using javascript:window.open() function by clicking an hyperlink in a html document. In this new windows I am trying to load an applet. Only for the first time a java console window is displayed in windows system tray . How can I open a different java console window each time I open a new window ? Basically I want to run each applet in its own JVM and it seems that each applet loaded in new window is using the same JVM and hence only one java console window is seen in my system tray.
    Please help ...
    Thanks & Regards,
    Ravi.

    Hi,
    We are currently facing this exact issue. Did you ever find a resolution?
    Any input would be appreciated.
    Thanks,

  • Mail messages window disappear when searching

    Hello,
    I'm using Mail 8.0 on OS X 10.10 (14A389). With French language and localisation. This is something I already noticed in Public Beta.
    I have my Sent folder selected (maybe it would happen with another). I start typing something in the search box. Then the whole main messages window disappear immediately. But Mail thinks it's still visible. Even search suggestions continues to show. Typing cmd+0 to hide/show the messages window does not help.
    I have to restart Mail to get my messages window back.
    This happens randomly. After restarting Mail I can search as usual without the window disappearing. But sometimes later it will happen again.
    Anyone encounters this too? Is this known from Apple? Any better temporary workaround than restarting Mail?

    It still happens and it really gets boring. I have Mail 8.0 (1990.1). It happens from any folder selected: Inbox, Sent, Smart Inboxes...
    How could such a bug remain undetected and not fixed asap? Maybe it's a plot from Apple to get us to ditch Mail and instead buy Unibox, Sparrow or Airmail from the Mac App Store so they get more $$$ commissions?

  • How come my safari windows disappear when I close my laptop and open again? The safari windows I wanted to keep running for the next time I open my laptop disappeared. Why? Help me.

    How come my safari windows disappear when I close my laptop and open again? The safari windows I wanted to keep running for the next time I open my laptop disappeared. Why? Help me.

    Important note, do NOT sleep your macbook Air with headphones attached until this is resolved.
    Ive done a good best of testing on same to confirm not to do that
    also if you have the APP "BOOM" installed........ remove it

Maybe you are looking for