Johan Groth wrote:
> 
> Hi,
> After I installed 1.2.2 version of the JDK I tried to get a very simple
> program to work. It looks like this:
> 
> /** file hello.java **/
> /** --------------- **/
> 
> public class hello {
>     public static void main(String args[]) {
>         System.out.println("Hello, world");
>     }
> }
> 
> I compiled it with
> 
> $ /usr/local/jdk1.2.2/bin/javac hello.java
> 
> and tried to run it with:
> 
> $ /usr/local/jdk1.2.2/bin/java hello
> 

use:

/usr/local/jdk1.2.2/bin/java hello

--
Joi Ellis                    Software Engineer
Aravox Technologies          [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to