It would help to see the error message.
I've tried it but then the compiler cannot be found.
So that is a PATH problem. Your JDK's bin directory must be added to the PATH.
I've tried it but then the compiler cannot be found.
If I understand, your JDK is under D:\Java\Bin ? Don't mess with the JDK's bin directory. Put your sources somewhere else.
And is the name by Alta Vista also CLASSPATH?
10 years ago, I used a search engine called Altavista

I think you're talking about Windows Vista ? Names of environment variables do not change there.