Download an older version of JAVA, because new r51 version contains some changes related to security and tibiame is missing an permission attribute.Or do like explained here: http://www.java.com/en/download/help/java_blocked.xml