The database needs to be restarted for this Java related command

Error constant SQLE_JAVA_DB_RESTART_NEEDED
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –871
SQLSTATE WJ029
Sybase error code 13875
Probable cause

Java support in the database requires a database restart after some Java related commands are performed, for example, some Java commands like ALTER DATABASE UPGRADE JAVA ON require a restart before one performs any Java related commands that load a Java class into the database.