JAVA Using a text editor write a "Hello World" program in Java. This should produce a .java text file containing your source code. Using the command line in a terminal window, navigate to the directory where your program is stored. Display a listing of the contents where your program is stored. Capture a screen shot of the terminal window showing the listing of your program. Using the command line in a terminal window, compile your program. Using the command line in a terminal window, display the files in the directory showing the .class file created from a successful compile. Capture a screen shot of the terminal window showing the .class file. Using the command line in a terminal window, run your program. Capture a screen shot of the terminal window showing the successful run of your program.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question

JAVA

  • Using a text editor write a "Hello World" program in Java. This should produce a .java text file containing your source code.
  • Using the command line in a terminal window, navigate to the directory where your program is stored.
  • Display a listing of the contents where your program is stored.
  • Capture a screen shot of the terminal window showing the listing of your program.
  • Using the command line in a terminal window, compile your program.
  • Using the command line in a terminal window, display the files in the directory showing the .class file created from a successful compile.
  • Capture a screen shot of the terminal window showing the .class file.
  • Using the command line in a terminal window, run your program.
  • Capture a screen shot of the terminal window showing the successful run of your program.
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage