I'm getting the mentioned error while trying to run my app. I'm using TextPad to compile and run my app. i have also try to run from command prompt but it shows same error. I have checked my jdk bin dir and jre bin dir. Both of them are the correct path. where did I go wrong?