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.


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

Results 1 to 3 of 3

Thread: Help with "file.java.swp" please?

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Thanked 0 Times in 0 Posts

    Question Help with "file.java.swp" please?

    Hi there! Thanks for clicking on this thread!

    I am a beginner, a confused but eager one! I am using the Java language and trying to program for a simple single line of text.

    I turned on DOS and got to make a file (with a "vi thing" I downloaded with Cygwin) with the file name "Howdy.java"

    I press enter and a blank space appears and I typed correctly:

    apublic class Howdy {
    public static void main(String Arg[]) {
    System.out.println("Howdy Y'all!);

    Then compile the program. I turned on another DOS, and got it to display my files and directories. In the tutorial video I was watching, the instructor's file appeared correctly as "Howdy.java", but mine appeared as "Howdy.java.swp".

    When I tried to use javac with it, DOS told me javac was not recognized as an internal or external command.

    I am very perplexed and deeply troubled! I've really been trying to troubleshoot it all day long but couldn't get it.

    If anyone would shed some light at all, I would be tearfully thankful.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Help with "file.java.swp" please?

    Also posted at: Java---Beginner in Despair---Help with "file.java.swp"? - Dev Shed

    Did you try what was recommended on the other site?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Sep 2013
    Thanked 0 Times in 0 Posts

    Default Re: Help with "file.java.swp" please?

    Bro, you forgot to add
    end of your text, you should always when start with
    end it also with it.
    i hope you understood~

Similar Threads

  1. Replies: 2
    Last Post: June 22nd, 2013, 10:30 AM
  2. Replies: 1
    Last Post: April 7th, 2013, 03:40 PM
  3. Replies: 3
    Last Post: December 7th, 2011, 02:03 AM
  4. Replies: 7
    Last Post: August 13th, 2011, 01:22 AM
  5. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 08:35 AM