Hello
There will be j2ee related parameters in the instance and default profiles.
You may delete or hash (#) them out.
Also make sure the Java schema SAPSR3DB) is not present in the database.
Follow the part "Deleting the Java Stack (Java Add-In) of a Dual-Stack (ABAP+Java) System Manually" of this SAP note and restart the system once done.
1229586 - UNIX:Deleting an NW 7.0 based SAP System Manually
Regards
RB