This morning i’ve tried to delete my old 9i local database using oracle’s dbca. Somehow, nothing shown up. So I just open up my command console and dive into the exact folder of the dbca.. thinking maybe oracle is confuse as i have 2 oracle version in my machine..another one is 10g. Ran the dbca.bat and it prompted me this error:
E:\oracle\ora92\bin>dbca
Exception in thread “main” java.lang.UnsatisfiedLinkError: initializeCluster
at oracle.ops.mgmt.nativesystem.WindowsSystem.initializeCluster(WindowsSystem.java:390)
at oracle.ops.mgmt.cluster.GetActiveNodes.initializeCluster(GetActiveNodes.java:260)
at oracle.ops.mgmt.cluster.GetActiveNodes$ClusterWareThread.<init>(Compiled Code)
at oracle.ops.mgmt.cluster.GetActiveNodes.<init>(GetActiveNodes.java:139)
at oracle.ops.mgmt.cluster.GetActiveNodes.create(GetActiveNodes.java:158)
at
at oracle.sysman.assistants.dbca.backend.Host.checkOPS(Host.java:1815)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:469)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:185)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:141)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:85)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:161)
Reading that… never crossed my mind that it has to do with the multiple oracle version in the same machine. Asked my friend (i.e. pakcik google) and it spit out several result and this one fixed my problem.
In the command prompt:
> set PATH=all_my_existing_path_but_without_10G_paths
> dbca
It’s not that often i would drop my db.. so the above should work for now.. no need to change my permanent path as i’m still using my 10G as well