[SGVLUG] Java study group

Robert Leyva mrflash818 at geophile.net
Thu Oct 26 11:30:30 PDT 2006


Only because:

1. Install java on your workstation/server/whatever, add the directory
where java is installed to your PATH.

2. create a text file called HelloWorld.java

3. Put in the text for the class (already done below)

// compile into a bytecode file
4. PS1>javac HelloWorld.java

// run the bytecode file in the java runtime
5. PS1>java HelloWorld

// should see
PS1>Hello World
PS1>


> On 10/26/06, Jana Lingo <jana.lingo at gmail.com> wrote:
>
>  public class HelloWorld{
>       public static void main (String[] args) {
>             System.out.println("Hello world!");
>       }
>  }
>


-- 
"Knowledge is Power" -- Francis Bacon

Robert Leyva
mrflash818 at geophile.net



More information about the SGVLUG mailing list