SQL Anywhere is a runtime environment for Java classes, not a Java development environment.
You cannot perform the following tasks in the database:
Edit class source files (*.java files).
Compile Java class source files (*.java files).
Execute unsupported Java APIs, such as applet and visual classes.
Execute Java methods that require the execution of native methods. All user classes installed into the database must be 100% Java.
The Java classes used in SQL Anywhere must be written and compiled using a Java application development tool, and then installed into a database for use.