java.lang.NoClassDefFoundError when using console -
i have problem execution of programs console. throws java.lang.noclassdeffounderror if run same application netbeans works perfectly.what can do?
you can add classpath in java providing option "-cp" or "-classpath" while running java program.
set classpath there shown below :
set classpath=.;/com/test/classes java -cp $classpath test
by default java classpath points current directory denoted "." , class in current directory.
Comments
Post a Comment