My Computer is in Oracle 11g.
Because Java can connect to the database because of the support of the JDK, so the JDK1.7 is installed, please note the following words:
The JRE must be installed when the JDK is installed, but :
JDK and JRE cannot be installed in the root directory of the Java folder, the JDK and JRE installed in the same folder will be error;
Install Oracle, replace the Sqldeveloper, think it's all right when the accident happened:
Open Oracle SQL Developer the following error, but the smooth open, uncomfortable
1Exception initializing'Oracle.dbtools.raptor.plsql.PLSQLAddin' inchExtension'Or2 acle SQL Developer': java.lang.NoClassDefFoundError:com/Sun/Jdi/Bootstrap3 At oracle.jdevimpl.debugger.jdi.DebugJDIConnector.getVersion (Debugjdicon4Nector.java: -)5At Oracle.jdevimpl.debugger.support.DebugFactory.<Clinit>(DEBUGFACTORY.J6AvaBayi)7At Oracle.dbtools.raptor.plsql.PLSQLAddin.initialize (Plsqladdin.java: the)8 9 At Oracle.ideimpl.extension.AddinManagerImpl.initializeAddin (addinmanageTenRimpl.java:407) One At Oracle.ideimpl.extension.AddinManagerImpl.initializeAddins (Addinmanag AErimpl.java:214) - At Oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins (Ad -Dinmanagerimpl.java: -) theAt Oracle.ide.IdeCore.initProductAndUserAddins (Idecore.java:1941) -At Oracle.ide.IdeCore.startupImpl (Idecore.java:1565) -At Oracle.ide.Ide.startup (Ide.java:703) -At Oracle.ideimpl.DefaultIdeStarter.startIde (Defaultidestarter.java: *) +At Oracle.ideimpl.Main.start (Main.java:184) -At Oracle.ideimpl.Main.main (Main.java:146) + At sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) A At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) - At Java.lang.reflect.Method.invoke (Unknown Source) -At Oracle.ide.boot.PCLMain.callMain (Pclmain.java: +) -At Oracle.ide.boot.PCLMain.main (Pclmain.java: Wu) - At sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) - At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) in At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) - At Java.lang.reflect.Method.invoke (Unknown Source) toAt Oracle.classloader.util.MainClass.invoke (Mainclass.java: -) + At Oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (Idelauncher.java: - 189) theAt Oracle.ide.boot.IdeLauncher.launchImpl (Idelauncher.java: the) *At Oracle.ide.boot.IdeLauncher.launch (Idelauncher.java: $) $At Oracle.ide.boot.IdeLauncher.main (Idelauncher.java: Wu)Panax Notoginseng At sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) - At Sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) the At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) + At Java.lang.reflect.Method.invoke (Unknown Source) AAt Oracle.ide.boot.Launcher.invokeMain (Launcher.java:713) theAt Oracle.ide.boot.Launcher.launchImpl (Launcher.java: the) +At Oracle.ide.boot.Launcher.launch (Launcher.java: the) -At Oracle.ide.boot.Launcher.main (Launcher.java: $) $Caused by: oracle.classloader.util.AnnotatedClassNotFoundException: $ - missing class: Com.sun.jdi.Bootstrap - the Dependent class: Oracle.jdevimpl.debugger.jdi.DebugJDIConnector -Loader: IDE-Global11.1.1.0.0WuyiCode Source:/D:/oracle11g/Product/11.2.0/Dbhome_1/Sqldeveloper/Jdev/Exte theNsions/Oracle.jdeveloper.runner.jar -Configuration: Extension jarinchD:\Oracle11g\product\11.2.0\dbhome_1\sqldevelop Wu er\jdev\extensions - AboutThis load operation was initially in the IDE-Global11.1.1.0.0using the LoadClass () method. $ - The missing classes are not available in any code source or loader on the system. - At Oracle.classloader.PolicyClassLoader.handleClassNotFound (Policyclassl -Oader.java:2190) A At Oracle.classloader.PolicyClassLoader.internalLoadClass (Policyclassloa +Der.java:1733) theAt oracle.classloader.policyclassloader.access$ the(Policyclassloader.jav
View Code
Check to find out there is no solution! It turned out to be quite simple: there was a JRE program in all the programs: Java Runtime Environment
as long as the JRE part of the program is unloaded , the normal run up
Java.lang.NoClassDefFoundError:com.sun.jdi.Bootstrap occurs when running SQL developer