There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
jose laguia wrote:No I don't have a CLASSPATH variable!!!
All things are lawful, but not all things are profitable.
jose laguia wrote: I have already defined in the variable "path" the java sdk bin directory and misClases directory: C:\Program Files\Java\jdk1.8.0_141\bin; C:\misClases. But I don't know where the problem is.
All things are lawful, but not all things are profitable.
If you want to double check, go to the command line and type
echo %classpath%
If all that is displayed on the screen is %classpath% then you have no CLASSPATH variable set. Again, that's fine.
If anything else is displayed, copy and paste it here.
EDIT: Even better, type
set CLASSPATH
and it will display either the contents of CLASSPATH, or give you a nice message saying the environment variable is not set.
jose laguia wrote:
I checked if I had CLASSPATH variable and I don't have.
jose laguia wrote:
If I set CLASSPATH variable then in this variable Do I have to lay the paths of the .class files or .jar archives related to the classes I use in my java aplication?