Take smaller steps. Can you get hello world running? What happens when you try running from the command prompt? Add tiny pieces until it stops working, at which point you'll have an SSCCE and it will...
Type: Posts; User: KevinWorkman
Take smaller steps. Can you get hello world running? What happens when you try running from the command prompt? Add tiny pieces until it stops working, at which point you'll have an SSCCE and it will...
Are you just asking how to compile and run a class?
Recommended reading: "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)