classpath in linux...
i cant run any program im receiving for everything
im guessing that is class-path issue but which path i need to set, to were???
Exception in thread "main" java.lang.NoClassDefFoundError: bank/aaa
Caused by: java.lang.ClassNotFoundException: bank.aaa
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: bank.aaa. Program will exit.
im using ubuntu and eclipse ...
java -cp<classpaths> <main-class>
You shouldn't be setting any system paths.
What does your command line look like?
What folder are you in when you issue the java command?
Go to the bank folder and issue:
Oh yes, good point.
Missed that it was "main" it couldn't find.
I knew I shouldn't browse the forums in the evening!