Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

netca, dbca gives java.lang.NoClassDefFoundError

Larry Bell-OracleAug 8 2011 — edited Sep 26 2011
I downloaded and installed Virtualbox with the Developer Days appliance:
OTN Developer Days.ovf OTN_DD_ROOT_1.vmdk OTN_DD_ORACLE_1.vmdk

No problems bringing up the virtual server and 11g, however when I try to run dbca or netca, I get:

oracle@localhost bin]$ netca
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/net/ca/NetCA
Caused by: java.lang.ClassNotFoundException: oracle.net.ca.NetCA
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: oracle.net.ca.NetCA. Program will exit.


Unix version here is:
Linux localhost.localdomain 2.6.18-194.17.1.0.1.el5 #1 SMP Wed Sep 29 15:40:03 EDT 2010 i686 athlon i386 GNU/Linux



Is this not a full version of 11g or possibly a java config issue?

Has anyone fixed this?


Thanks,
Larry
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2011
Added on Aug 8 2011
1 comment
1,880 views