Question: I am new to Java (as of today!) and am trying to run a very simple program in terminal. Normally, when I run a python (still pretty new) program in Terminal I would simple type in "python name.py" in to terminal and it would run. When I type "Java name.java" it does absolutely nothing.

I opened TextWrangler and selected "Run in Terminal" and it returned this error:

"This file doesn't appear to contain a valid 'shebang' line (application error code: 13304)"

My program is named "hello.java" and it contains the code below.

What am I doing wrong?

```
System.out.println("Hello!");

```

Answer: 
Open the terminal, go to the directory where the file is located and do this:

```
javac -classpath . name.java // compile the code
java name                    // run the program

```

Of course, both `javac` and `java` must be available in the operating system's PATH variable, but in a Mac that's already configured.
Type 

```
javac helloworld.java 

java helloworld

```

The first line calls the compiler and compiles it in the current directory 
then the next line runs it