Results 1 to 2 of 2

Thread: jcreator

  1. #1
    arshesander is offline Member
    Join Date
    Aug 2009
    Posts
    8
    Rep Power
    0

    Default jcreator

    i have download jcreator 4.5, i dont know which java installer to be install?

    because i have this code;

    Java Code:
    public class helloworld {
    
        public static void hello();
        {
        	System.out.print("Welcome to Java: ");    	
        	
        }
        
        
    }
    and I encounter this error:

    C:\Documents and Settings\Server2\My Documents\hello.java:11: missing method body, or declare abstract
    public static void hello();
    ^
    1 error

    Process completed.

  2. #2
    Hardik is offline Member
    Join Date
    Jul 2009
    Posts
    6
    Rep Power
    0

    Default

    public class helloworld {

    public static void hello(); //Here Semicolon:eek:
    { /*Always program start with main so change
    public static void hello() to public static
    void main()*/
    System.out.print("Welcome to Java: ");

    }


    }

Similar Threads

  1. Download Jcreator.
    By makpandian in forum JCreator
    Replies: 2
    Last Post: 11-22-2009, 05:06 PM
  2. JCreator error:
    By guru_boy in forum New To Java
    Replies: 4
    Last Post: 05-06-2009, 05:53 AM
  3. Applet in JCreator
    By mgm2010 in forum JCreator
    Replies: 0
    Last Post: 03-02-2009, 02:30 PM
  4. About using jcreator
    By yuchuang in forum JCreator
    Replies: 4
    Last Post: 11-29-2008, 08:29 PM
  5. jcreator
    By nikhil_solanki015 in forum JCreator
    Replies: 2
    Last Post: 10-28-2008, 07:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •