[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java: basic test



On Fri, Aug 23, 2002 at 07:26:06PM +0300, Jerome BENOIT wrote:
| Hi All !
| 
| I wonder if Java is well installed on my potato box:
| is there somewhere a battery of test for Java ?

Put this text in HelloWorld.java :

public class HelloWorld
    {
    public static void main( String[] argv )
        {
        System.out.println( "Hellow World" ) ;
        }
    }

Then run
    $ javac HelloWorld.java
    $ java HelloWorld

and see if it works.

-D

-- 
Reckless words pierce like a sword,
but the tongue of the wise brings healing.
        Proverbs 12:18
 
http://dman.ddts.net/~dman/

Attachment: pgpunsWZe2TSu.pgp
Description: PGP signature


Reply to: