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 6 of 6

Thread: Please help with the command prompt execution

  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Please help with the command prompt execution



    Hello please overcome the above mentioned problems

    My aim is to do the like this progess


    I wish to display in command prompt the First Program. java not errors. Thankfully, Michael
    Last edited by michaelbezos; May 31st, 2019 at 04:34 PM.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Please help with the command prompt execution

    wish to display in command prompt the First Program
    Are you asking how to use the java.exe program in a command prompt window?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    May 2019
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Please help with the command prompt execution

    the question i described above. after writing javac first.program.java my result is different than the tuition movie. Please help

    --- Update ---

    At the end of the tuition movie there is a.class file which is required for execution . After my job there is not a.class file. Please help

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Please help with the command prompt execution

    How are you running the javac.exe program? Can you copy the contents of the console window from when you run javac and paste it here?
    The javac program should create a .class file if there aren't any errors. Is there a .class file?
    Use the java.exe program to execute the .class file. Copy the contents of the console window from when you run the java program and paste it here.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    May 2019
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Please help with the command prompt execution

    I will plan to implement above mentioned feedback and see how it works.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Please help with the command prompt execution

    Ok. Good luck.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Netbeans vs Command prompt
    By prade in forum Java IDEs
    Replies: 1
    Last Post: March 6th, 2018, 04:31 AM
  2. why the command prompt does not recognize java as a command?
    By bihlas in forum Java Theory & Questions
    Replies: 1
    Last Post: July 22nd, 2014, 09:50 AM
  3. Command Prompt Like GUI
    By Nate in forum AWT / Java Swing
    Replies: 1
    Last Post: January 15th, 2013, 12:13 AM
  4. Java command prompt
    By Tanmaysinha in forum Java Theory & Questions
    Replies: 1
    Last Post: August 29th, 2011, 03:05 PM
  5. Java on command prompt
    By Tanmaysinha in forum What's Wrong With My Code?
    Replies: 12
    Last Post: August 17th, 2011, 06:45 AM