I want to run following command under Windows with Oracle Database 12c installed:
loadjava -force -genmissing -r -user username/password@database -verbose core-1.7.jar
The problem is that I use Windows authentication and I connect the following way:
sqlplus / as sysdba
and I do not enter any username or password. Could you please tell me how to execute first command under Windows for a pluggable database?
Best Answer
You should not use SYS for this.
With a regular user, you can simply provide the
username/password@address
.To do this with SYS, without the password:
Create the class:
Connect to pluggable database without password:
Load the class:
Clean up the mess: