Question:

Java application problem?

by  |  earlier

0 LIKES UnLike

How do you open a java file using command prompt?

 Tags:

   Report

2 ANSWERS


  1. You can use the type command to display the contents of the file, eg.

    C:/> Type demo.java

    If you want to edit the contents then simply use the Edit command, eg.

    C:/> Edit demo.java


  2. hello

    in windows type

    edit filename.java

    or

    notepad filename.java

    in linux

    vi filename.java

    or

    vim filename.java

    or

    gedit filename.java

    enjoy

    Ravi Kumar gupta

    http://techdc.blogspot.com

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.