Using Java


  1. Check the Java Help Pages.

  2. Apply for a UND Engineering Linux Account.

  3. Use VPN (Virtual Private Network) to connect to the UND networks.
  4. You may not need to do this if you are on campus.

  5. Log in to the Linux server undcemcs02.und.edu .

  6. Create a Java script such as HelloWorld.java:

  7. public class HelloWorld {
      public static void main( String args[ ] ) {
        System.out.println( "Hello World!" );
      }
    }

  8. Compile and run the script.
  9. For example,
       shell> /usr/bin/javac  HelloWorld.java 
       shell> /usr/bin/java   HelloWorld 
       
       Hellow World!