UltraLite User's Guide
Developing UltraLite Applications
Generating the UltraLite data access code
Either sqlpp or ulgen can report the error message Unable to use Java in the database
when these utilities are unable to run the analyzer. The UltraLite analyzer is a Java class that is added to your reference database when it is initialized. For the analyzer to run, the database must have been initialized with Java classes and the database engine must be able to start the Java support in Adaptive Server Anywhere.
The following situations may cause this error to happen:
The database was not initialized with Java classes.
The Adaptive Server Anywhere database server was not started with a cache of sufficient size. This should not generally be a problem as the database server can dynamically increase its cache size.
SQL Anywhere Studio was moved to a new directory without uninstalling and reinstalling. In this case, there may be registry entries pointing to the old location.
There may be mismatched DLLs or mismatched Java jar files. This can happen if you copy files from a maintenance release or express bug fix, but miss copying all the files.