If you intend to run Java examples, install the Java example classes into the demo database.
See SQL Anywhere 11.0.1 > SQL Anywhere Server - Programming > SQL Anywhere Data Access APIs > SQL Anywhere JDBC driver > Using JDBC to access data > Preparing for the examples.