Hello I am trying to get the current date at java at a Class I created but everything fails. I\'ve seen in many sites e.g. http://www.mkyong.com/java/java-date-and-calenda
You are using the wrong Date class.
Date
Have a look at your imports. Don't use java.sql.Date use java.util.Date instead.
java.sql.Date
java.util.Date