Error java.sql.SQLException: ORA-00911: invalid character [duplicate] August 11, 2023 by Tarik The problem is ; sql = "CREATE USER ken IDENTIFIED BY 11;"; Remove the ; from above string.