Showing posts with label how to solve Jave Error: Could not find or load main class. Show all posts
Showing posts with label how to solve Jave Error: Could not find or load main class. Show all posts

Tuesday 21 May 2013

how to solve Jave Error: Could not find or load main class


just type after compilation

java -cp . classname

java -cp{space}.{space} classname

cp is CLASSPATH

<br> in this method don't need to declare class path