If you need to turn off (disable) java.util.logging logging, adding this line of code to your
main method seems to work:
OS X 10.9 is sucking the life out of my old Mac, a 2008 iMac. Like turning off everything on Star Trek’s Enterprise so you can give power to something else (like the engines or shields), I keep looking for ways to bring a little life back to it. One way I’ve read about is to kill the Dashboard on 10.9.
You can kill the Dashboard with this Mac OSX
defaults command, issued in a Mac Terminal window:
It looks like there may be a couple of ways to restart Mac networking -- AirPort to be specific -- from the Mac command line. The first is the old-school approach of using the
ifconfig command. This command shuts down the
en1 interface, which is typically the AirPort wireless interface. On my MacBook Air it's
en0, so I'll show that here:
sudo ifconfig en0 down
You bring it back up/online in the same way:
Enable Java assertions in Ant (FAQ): How do I enable Java assertions in Ant?
Here's something that should have been a little more obvious to me: how to enable assertions when compiling Java code that uses the version 1.4 "assertions" feature: