How do I stop Java processes from appearing on the dock?

I have a Java application that has a fairly extensive build process using ant. It builds fine on OSX, but constantly annoys me. There are a large number of unit tests that run using JUnit, and each test starts in a new Java process. The problem is that when each process starts (and there are about 100 during the course of the build), a new Java icon appears on the dock and stays until the process finishes. First of all, that slows down the build (since it has to do all that graphics work to keep changing the appearance of the dock). Secondly, every time a new process starts, it takes away the keyboard focus from whatever I'm currently working on. I either have to click in the window I want again, or else wait for the process to finish.
On Windows, this is handled with an alternative version of the JVM called "javaw.exe" that does not get a foreground window. However, I see no "javaw" in the Java directory on OSX. Is there some option to start Java with that will stop this dock updating? Note that there are times when I want the dock to be updated (when I'm running a "normal" Java app).

Even when the Guest Account / Access is disabled, the login option / and lock screen, still have a guest login.
This is because in Preferences/ Security & Privacy/General the bottom item is turned on.
Turn on: Disable restarting to Safari when screen is locked

Similar Messages

  • Stopping printer icon from appearing in the dock

    Hi,
    We have a problem where our students (network homes, managed by WGM) are clicking on the printer icon in the dock once they have sent a job to print, and are pressing the 'Stop Jobs' icon, thus holding up the queue for other students to print.
    Is there a way to stop the icon appearing in the dock?
    Thanks,
    Jonathan

    Are you using
    a dedicated print server ?
    a print server as part of the server OS ?
    or simple printer sharing, maybe Apple Printer Sharing, or Bonjour, or CUPS or another ?
    Simple Printer Sharing, or a network printer without dedicated print server software is always going to allow users to stop printing, even if it holds up others.
    Even with dedicated print server, you may want to allow users to stop prints - holding up the printer - if they need to change paper, ie. pre-printed stationery, acetate or different paper weights instead of blank 80g/sq m paper.
    But a dedicated print server may allow you to restrict job access to only deleting the print job.

  • How do I stop  Guest Account from appearing on the login screen?

    All of a sudden - like since I upgraded to iCloud - my login screen displays "Guest User". I have Guest disabled in Accounts. The only account I have active is mine. I don't want Guest to appear on the login screen. How do i stop it from doing so?

    Even when the Guest Account / Access is disabled, the login option / and lock screen, still have a guest login.
    This is because in Preferences/ Security & Privacy/General the bottom item is turned on.
    Turn on: Disable restarting to Safari when screen is locked

  • How do keep certain active items from appearing in the dock?

    I have a few things set as startup items (a backup utility, StickyNotes, a temperature monitor, etc.). I want these things to run, but I don't want them taking up space in my dock because once they're running, I never need to click on their dock icons. It just makes my dock harder to see. This is probably a simple question, but how do I keep them active but prevent them from taking up room in the dock? Thanks!
    Mike

    From what I understand, all that "Dockless" does is set 'LSUIElement' (or maybe 'NSUIElement') to "1" in the target app's "Info.plist" file. The manual way works for me for "Stickies.app" in 10.3.9, so it should work with "Dockless" as well. And it appears that the keyboard shortcuts for "Quit" or "New Note" remain active despite the absence of the application specific menubar so it might even remain functional.
    When making changes to the "Info.plist" file, it is often necessary to go through extra steps to make "Launch Services" aware of the change. As mentioned above, duplicating the app might be one method - often after duplication of the app, the changes will be found to be in effect for the new copy but not necessarily for the original. Sometimes opening up the application package, navigating through "Contents" > "MacOS" and double-clicking on the unix executable file will cause the change to take effect without duplicating the app. One method that usually works well is running 'lsregister' from the command line, but usually that is not necessary. If (and only if) the modified "Stickies.app" has replaced the original in the default location, the relevant command (entered using "/Applications" > "Utilities" > "Terminal.app") would be:<pre style="font-family: 'Monaco'; overflow:auto; padding: 0.2em; font-size: 10px; width:500px">/System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f -v /Applications/Stickies.app</pre>If a copy has been modified, just substitute the appropriate path to the modified version of the app...

  • How can I stop my site from appearing at the left in the tablet and phone layouts?

    At the moment my site works on desktop browsers but appears pinched to the left on phones and tablets.
    www.lrproductions.biz
    I have checked for any miscellaneous text boxes, and I also removed the scrolling fx to try and fix the the bug. Nothing seems to be working. I would really appreciate any help.
    Hughie

    Hello,
    Please make sure that there is no element line rectangle or text box outside browser are in Phone and tablet layout.
    If it is then either delete them or move it inside browser area.
    To find the exact browser area Please click on View > Show Grid Overlay. Pink Shaded area is the browser area.
    Please let me know if it do not work for you.
    Regards
    Vivek

  • How can I stop Yahoo mail from appearing on my iPhone 5 iOS 8.0.2

    How can I stop Yahoo mail from appearing on my iPhone 5 iOS 8.0.2

    You either remove your Yahoo email address from the device or you turn of the 'Mail' option for that account under Settings > Mail, Contacts, Calendars.

  • How to stop concurrent programs from appearing in the SRS window ?

    Hi All,
    We have hundreds of custom concurrent programs registered under a custom application.
    Except for 3 hidden programs (which will be submitted internally from another concurrent program), all the others should appear in the SRS window. Therefore, instead of individually registering each program in the request group, we have registered the application itself, in the request group.
    However by doing this, the 3 hidden concurrent programs are also appearing in the SRS window. The concurrent program define form doesn’t allow us to uncheck the “show in SRS” checkbox if we have parameters define for a concurrent program.
    Is there any way that we can prevent these hidden programs from appearing in the SRS window, in our case?

    Hi,
    Create a new request group and add all but the 3 programs, using a PL/SQL script calling fnd_program.add_to_group.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • How do I stop TomToms website from appearing on my computer when I turn my computer on?

    When I turn my computer on I get the Desktop as usual, then it connects to the internet and up comes 'TomTom getting started'
    web page.
    How do I stop my computer automatically connecting to the internet, please?
    I had a TomTom sat nav and did use the website 'TomTom Getting Started' last week, but I had to return it as it didn't work properly and since using the TomTom website, that once, I have had this problem.

    Hello Murphs79,
    This can be done by signing out of your Apple ID in Messages settings.
    To sign out of your Apple ID
    Go to Settings > FaceTime, tap your Apple ID, and select Sign Out.
    Go to Settings > Messages > Send & Receive, tap your Apple ID, and select Sign Out.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Cheers,
    Allen

  • How do I stop iPhone Safari from dynamically resizing the visual viewport?

    Sorry I post this here, but I couldn't access the developer forums (no error given, it just keeps returning me to this page https://developer.apple.com/devforums/) I'm not even sure wether that's been moved here and it's just the redirection non working.
    I need to Stop iPhone Safari from dynamically resizing the visual viewport, or in other words, to stop it from trying to "fit" the layout into the viewport.
    Why?
    Because any recalculation javascript does on absolutely positioned elements makes the whole site super IRRESPONSIVE.
    I don't know wether the issue is the element going out the already-set layout viewport (which triggers the page resizing to fit the visual viewport) or just the calculations being made constantly, but I can stop the calculations from happening when not "touching" the screen, but I need a way to stop the page resizing.
    I tried setting the viewport width to 1040px, as my layout width, and it fixed the header's width being narrower than the body (or shifted left?), but the whole page is still resized with every motion-frame (one every 3 seconds, due to overloading the redrawing engine)
    Is there a way to prevent that?

    No, that link doesn't solve it. It just says the same is found everywhere online.
    There's probably no way to do it, as per their way they "accidentally" omitted the oposite case: the page being wider than 980. They only mention what to do if the site is narrower. Something I learned is big companies (with reputation management) could let you run in circles for years no answer rather than telling you something is not possible.
    I'm the developer (can't access the dev forums, don't know why) and I DID setup the viewport, scale and other properties but none of them stopped from re-fitting the new re-sized layout in the viewport. They just ensure the "initial" view.
    I think the feature I'm looking for must be achieved with some JavaScript function targeting Safari-proprietary variable/property… if even possible.
    I just had to make things never reaching the edge until somebody contributes something useful

  • Keep applications from appearing in the dock?

    Is it possible for an application to "hide" from the dock? There are some utility apps that I'd like to run, but I don't want to see them in the dock. If it is possible to hide their icons from the dock, that sure would helpful.
    These are apps that I want to load up at startup, and I have their Hide boxes checked in my profile, but they are still showing. But I'd like to have them act like Snapz Pro does, and not even appear in the dock at all, even though it is running.

    Thanks for the reply. I also found the line of code to do the same thing that the application you submitted to me does automatically.

  • How can I stop Air Software from appearing on my screen?

    Every time my computer starts back up, a small window appears in the lower right of my screen from Air Software. It's telling me I need to download to clean up my PC. I checked and found that I really don't want to download anything from this site. But, how can I stop it from appearing?

    If we assume it's some kind of malware, I suggest the following:
    (1) Open the Windows Control Panel, Uninstall a Program. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
    (2) Supplement your regular security software by running the scanning/cleaning tools listed in this support article: [[Troubleshoot Firefox issues caused by malware]]. These are free, and take time to run. If they seem to finish quickly and requiring payment, you may have a serious infection.

  • "Flash has blocked a potentially unsafe operation" - How do I stop these dialogs from appearing?!

    Is there any way to stop these error dialogs from appearing? 
    They appear on multiple websites and even if I dismiss the dialog a new one pops up every few minutes I am there.
    Don't get me wrong - I like that it blocks these kind of things and I want it to continue to do so, I just wish there was a way for it to do it silently.

    I'd like to understand this better:
    1.) Whats a URL that reproduces this problem?
    2.) What OS and Version are you using?
    3.) What Browser and Version are you using?

  • How do I stop sent emails from appearing in my inbox?

    I am receiving my sent emails in my inbox.  How do I stop this?

    Are you automatically CC'ing/BCC'ing yourself whenever you send a message?
    Mail > Preferences > Composing > Uncheck Automatically under composing

  • How do I stop international language from appearing in some Safari windows?

    After selecting Polytonic Greek as one of the languages for use in composing text (MS Word), I found that Greek appeared as the default language in certain Safari windows, typically those (like a university email account I use) that are configurable for people of many nationalities. It's maybe worth noting that when Greek appeared in my Mac's language menu, it appeared above US English, unlike the other languages I use.
    None of the following have fixed the problem:
    --Deselecting Greek and restarting/shutting down (multiple times)
    --Clearing the cache and history in Safari (multiple times)
    --Running Disk Warrior and Drive Genius, my standard system maintenance software
    How can I get rid of this now unwelcome language?

    I found Greek at the top of the language list, above English. I think that made it the default language in certain circumstances.
    Yes, having Greek at the top of that list does several things: Any app which has a Greek version will open with its menus and dialogues in that language. If you have installed a Greek spell checker, that will become the default in all Apple apps. And Safari will ask for the Greek version of any web site that offers that as an option. On the list, Greek appears as Ελληνικά.

  • Some addons give a small purple screen about what is blocked; how can I stop this screen from appearing?

    I'm using adblock, adblock popup, better privacy, ghostery, no-script. Sometimes this purple screen, on the right side of the screen, almost on top, is very big, and blocking text. I can click it away, but it keeps returning.
    Is there a way to shut off the appearance of this screen?
    Thanks allready,
    J.Koopman

    I use NoScript, and it uses a bar along the bottom, so it's probably one of the others.
    Some extensions provide a toolbar icon or Tools menu entry allowing you to adjust how they work.
    In other cases, you can use the Options button on the Add-ons page for that extension:
    orange Firefox button (or Tools menu) > Add-ons > Extensions category
    If you figure out how to tame it, can you post back with the answer? Other users often find these threads in web searches, and it could be helpful to them.

Maybe you are looking for

  • Video iPod Wont Show Up on iTunes 6.0.1 something

    halo ive got a fifth generation video ipod, and i think ive got itunes 6.0.1 or something of the sort, and whenever i hook it up to my computer via usb, the ipod displays the "do not disconnect" symbol but wont show up on itunes. what the heck do i d

  • Setting primary key fields from sequence. Please advise

    What is the most logical place to automatically set primary key fields from sequence? jdoPrestore seems to be a little late - my instance will not have id till it's committed. I can not do it in constructor because it gets called every time Kodo need

  • IE objects

    Hello , In my scenario when i click on a particular transaction an IE browser is opened which asks for usr/pwd . How to handle this in eCATT ? do i need to use another tool for recording the Browser or eCATT handles this issue, the test case says as

  • Commited date for missing parts in the production order

    when i generate a prodution order and there are some missing parts for that material. its showing the list of all the missing parts but the commited date is coming out as 12/31/9999. I maintained the the planned delivery time for all those components

  • Why does publishing in 1.0.1 take so long?

    I updated some pages tonight, the first time I've used iWeb since upgrading to 1.0.1, and it is taking an excruciating long time to publish. Has anyone else encountered this problem?