OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.2 KiB

  1. // Hello World in Java (by Clifford)
  2. // Compile with 'gcj --main=hello hello.java'
  3. //
  4. // --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  5. //
  6. // This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  7. // Please add additional copyright information _after_ the line containing
  8. // the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  9. // the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  10. //
  11. // ROCK Linux: rock-src/misc/archive/hello.java
  12. // Copyright (C) 1998 - 2003 Clifford Wolf
  13. //
  14. // This program is free software; you can redistribute it and/or modify
  15. // it under the terms of the GNU General Public License as published by
  16. // the Free Software Foundation; either version 2 of the License, or
  17. // (at your option) any later version. A copy of the GNU General Public
  18. // License can be found at Documentation/COPYING.
  19. //
  20. // Many people helped and are helping developing ROCK Linux. Please
  21. // have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  22. // file for details.
  23. //
  24. // --- ROCK-COPYRIGHT-NOTE-END ---
  25. public class hello {
  26. public static void main (String[] args) {
  27. System.out.println("Hello World! (A simple Java program.)");
  28. }
  29. }