// A way to get around the Catch-22 static final URL WEBSITEURL; static { URL temp; try { temp = new URL( "http://mindprod.com" ); } catch ( MalformedURLException e ) { temp = null; // Will not complain because temp is not a static final. } WEBSITEURL = temp; }