Results 1 to 2 of 2
  1. #1
    jayshree is offline Jay
    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    0

    Default javac: file not found:

    Hi

    I am getting the error
    javac: file not found: ExampleProgram.java
    Usage: javac <options> <source files>
    use -help for a list of possible options


    I am new to Java
    I have read many threads but yet could not solve the problem .Please help me through
    The path where my Jdk is located is
    C:\Program Files\Java\jdk1.7.0_03\bin
    There was no Class path in my environment variables also i created a classpath variable and added the same path.
    Also i added the C:\Program Files\Java\jdk1.7.0_03\bin in my Path variable .
    Please let me know where can i store my program.I checked if its a java file and its shows me the same Also do i need to add the path where i am stroring the program .

    Thanks
    Jay

  2. #2
    jayshree is offline Jay
    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    0

    Default Re: javac: file not found:

    I got my answers ..I had to change to the directory in the CMD Prompt where i had stored the java program and then execute it .I was executing from the c:\documents directory
    I would surely need help in the future

    Thanks

Similar Threads

  1. javac: file not found Error
    By LimblessQuasar in forum New To Java
    Replies: 3
    Last Post: 06-11-2011, 09:41 AM
  2. javac: file not found:
    By Tastosis in forum New To Java
    Replies: 6
    Last Post: 03-24-2011, 05:35 AM
  3. Javac, file not found
    By Zorobay in forum New To Java
    Replies: 1
    Last Post: 02-15-2010, 11:30 AM
  4. javac:file not found
    By lovearora in forum New To Java
    Replies: 3
    Last Post: 02-09-2009, 03:20 AM
  5. javac file not found
    By teamkeff in forum New To Java
    Replies: 6
    Last Post: 06-23-2008, 10:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •