Select the Java for maintaining in the object pane. Right-click and select the Maintain from the popup menu.
Compile or Resolve
To resolve the primary Java class schema object.
Set AuthID Current User
Set the invoker rights to AUTHID CURRENT_USER.
Set AuthID Definer
Set the invoker rights to AUTHID DEFINER.