Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: reply plz

  1. #1
    Member
    Join Date
    Aug 2011
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Cool reply plz

    Dear Sir,
    I Tanmay Sinha reading java as a very beginner.I 've installed Java software( jdk-6u11-windows-i586-p and

    netbeans-7.0-ml-javaee-windows) on my computer.Now I want to write java program by command Prompt but I am not able

    access it.So please help me....

    I write Java program

    class HelloWord
    {
    public static void main(string args[])
    {
    system.out.println("HelloWord");
    }
    }


    and I save it in D dive(Location) as D:\mywork and then by command prompt when use it initial as d: & enter then get the information

    D:\> but from here i am facing problems to use command prompt for compilation & run.




    Thanks & regards

    Tanmay Sinha


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,321
    Thanks
    56
    Thanked 2,374 Times in 2,345 Posts

    Default Re: reply plz

    Have you read the tutorial on how to compile and execute a java program?
    "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click 'Copy'

    Paste here.

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: reply plz

    i would suggest to to download eclipse IDE. it is the best way to program it automatically displays all the errors and also advices how to correct the errors

    and the best part is it is free!!

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,321
    Thanks
    56
    Thanked 2,374 Times in 2,345 Posts

    Default Re: reply plz

    I would suggest that you learn how the javac and java commands work first before getting an IDE.

    Many students don't ever learn how java works when they start with an IDE. The IDE keeps them having to know the details that a good programmer should know.

    After you get the first few programs working, then get the IDE.

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,321
    Thanks
    56
    Thanked 2,374 Times in 2,345 Posts

    Default Re: reply plz

    Duplicate thread with Java on command prompt

Similar Threads

  1. Am I right (urgent, please reply)
    By Sunil Raghuvanshi in forum The Cafe
    Replies: 2
    Last Post: March 26th, 2010, 08:05 AM

Tags for this Thread