Initialization Error... what do i do?

my java pgms (jdbc) are compiling fine but i get the following error during running.....Error occured during initialization of VMjava/lang/NoClassDefFoundError: java/lang/ObjectApplication Exit...what do i do?najeem
[264 byte] By [najeemjava] at [2007-9-26 12:20:20]
# 1
problem with u r VMplz replace it and try
j_s1 at 2007-7-2 2:57:42 > top of Java-index,Archived Forums,Java Programming...
# 2
If you are using a 1.1 JDK, this problem may come from a wrongly set classpath...
jsalonen at 2007-7-2 2:57:42 > top of Java-index,Archived Forums,Java Programming...
# 3

Are you sure of running your file.java from the position that you wrote it?

If yes just see the path you seted for your vm.

For example if you are running over windows from the msdos prompt check this file

AUTOEXEC.BAT (you'll have to open it with the notepad)

it should be located in the root folder of the main hard drive on your computer, usually C:

scroll down to the bottom of AUTOEXEC.BAT and add a new line that has the following format:

PATH SDKFolder\bin;%PATH%

replace SDKFolder with the name of the folder where you installed SDK

save and restart.

m1m1m1 at 2007-7-2 2:57:42 > top of Java-index,Archived Forums,Java Programming...