Hello, I'm an absolute beginner in Java and programing. I've bought Head First Java book 2nd edition to learn something. After JDK installation I've tried to compile the very first code from the book, simple code about party invitation. I open MS Word and write code exactly the same as it is in the book. I rename file from party.docx to party.java. When i go to cmd, and run: javac party.java, cmd shows 100 errors and freezes so I have to shut the proces. I tried also with other codes and results are the same. Sorry for bothering you with such a noobish question and for my English. I run it on Win 7, Java 8, JDK 8 u66.