Site hosted by Angelfire.com: Build your free website today!

Java Tips

What would a website be without little tid bits of information to just barely give you enough knowledge to do what is expected of you? Nothing, that's what it would be!

 

So first off, you will need to know how to save your programs so they can run correctly. I know you are probably thinking "Ok, this guy is so dumb, he thinks I can't save a program?" In a way, yes that is what I am thinking. But there is more you need to know about it.

To compile your program, you must use the javac command in your command line prompt. You must then find the .java file you wish to compile. You MUST use the name you saved it as. It is case sensitive. Example:

I'll show you how to save the HelloWorld Program.

First, open the notepad file and paste the code in there. When you save it, save it as HelloWorld.java

Go into your command line prompt, and get to the folder where you saved it at. I will walk you though this.

Photobucket - Video and Image Hosting