Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
This Exception will be thrown when an application tries to load in a class through its string name using:
The forName method in class
Class.
The
findSystemClass method in class ClassLoader .
The loadClass method in class
ClassLoader.
but no definition for the class with the specified name could be found.
To solve make sure the required class in class path by using class path , could be done in two ways . Also Make sure you're using your platforms classpath separator. ':' in Unix, and ';' in Windows.
i) set claspath = yourJar.jar;%classpath%
ii)
java -cp
c:\home\ann\src;c:\home\ann\public_html\classes\compute.jar
-Djava.rmi.server.codebase=file:/c:/home/ann/public_html/classes/compute.jar
-Djava.rmi.server.hostname=mycomputer.example.com
-Djava.security.policy=server.policy
engine.ComputeEngine
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.