Hi I am very new to Java programming, right now I am using a mac os 10.49
I can create java documents using bbedit and then they compile when i type
javac.
But when i type java *.java I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError
If I type java "filename"
without the .java at the end of the file the terminal has no response
I understand i am supposed to some how set the classpath but i do not know how to do this
Also I can create and compile and then run my java in the eclipse program that i have installed, but not from terminal and im not sure why.
I do have eclipse installed and my java will compile and run in eclipse with no problems.
Thanks for the help.
I can create java documents using bbedit and then they compile when i type
javac.
But when i type java *.java I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError
If I type java "filename"
without the .java at the end of the file the terminal has no response
I understand i am supposed to some how set the classpath but i do not know how to do this
Also I can create and compile and then run my java in the eclipse program that i have installed, but not from terminal and im not sure why.
I do have eclipse installed and my java will compile and run in eclipse with no problems.
Thanks for the help.