help to compile java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bob2044
    New Member
    • Jun 2009
    • 16

    #1

    help to compile java

    Ive just started using java .
    Ive a problem to compile java using cmd.need a help!
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    Did you do "hello world" in Java.

    fyle.java
    Code:
    public class fyle {
      public static void main(String argv[]) {
        java.lang.System.out.println("hello world");
      }
    }
    Compile with:
    Code:
    javac fyle.java
    Run with:
    Code:
    java fyle

    Comment

    • Dheeraj Joshi
      Recognized Expert Top Contributor
      • Jul 2009
      • 1129

      #3
      Ive just started using java .
      Ive a problem to compile java using cmd.need a help!
      This is very abstract statement. Please post the appropriate code and error messages, which help us figure out the problem.

      Regards
      Dheeraj Joshi

      Comment

      Working...