Tags: java
STS brakes after uninstalling Java
April 15th, 2010As new versions of Java are released the Java updater automatically installs them. The number of Java installations on your computer increases. Normal PC housekeeping dictates that you delete the old versions because they are no longer in use.I used… more »
Java's File.renameTo fails on Windows
February 2nd, 2010I had a problem with renaming a properties file. Java's File.renameTo() always failed and returned false. There was no explanation as to why it failed, so it left me stuck with no idea what to do.
Windows has a different file locking policy to Unix (a… more »
Rules of a ThreadPoolExecutor pool size
November 27th, 2009The rules for the size of a ThreadPoolExecutor's pool are generally miss-understood, because it doesn't work the way that you think it ought to or in the way that you want it to.
Take this example. Starting thread pool size is 1, core pool size is 5,… more »
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
September 15th, 2009Got attacked by a virus which went straight through Firefox's defences then straight through McAfee's defences then destroyed half of my machine. It's still not running right, but I think the virus is now gone.
The virus attacked my Java installation… more »
Where do I put my beans?
December 9th, 2008Where do I put my beans? What beans? Coffee beans? Java beans? No - Spring beans!
When running a servlet container, such as Apache Tomcat, you must define all your java beans in such a way as to facilitate the separation of the live and development sy… more »