It's not possible; Oracle supplies a certain version of Java with a certain version of the DBMS, specially modified to run "within" the DBMS. It can only be upgraded by Oracle as part of a new version or a patch release of the DBMS.
See for example this discussion: https://forums.oracle.com/forums/thread.jspa?threadID=2300779