Results 1 to 2 of 2
  1. #1
    Captain Bemo is offline Member
    Join Date
    Apr 2014
    Location
    Lincoln,NE
    Posts
    2
    Rep Power
    0

    Default File not found where I put it

    Well I fixed my invalid path problem

    Now it is telling me that my file is not found and it is exactly where I put it and told JCreator to look for it.

    this is what I get:

    javac: file not found: C:\Program Files\Java\jdk1.8.0\docs\MyName.java

    when I go manually to the address, it is there but for some reason Jcreator cannot find it.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,457
    Rep Power
    25

    Default Re: File not found where I put it

    Try creating a folder to hold your java files in on a path that does not contain any spaces.
    Some programs get confused by the spaces in folder names like: Program Files

    And it is not a good idea to put your code in the same folder with the JDK files.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. file not found
    By frank_lin2009 in forum New To Java
    Replies: 4
    Last Post: 06-23-2013, 04:18 AM
  2. Replies: 1
    Last Post: 07-28-2011, 07:50 PM
  3. File not found when using jar
    By nandj987 in forum New To Java
    Replies: 4
    Last Post: 02-22-2011, 01:54 PM
  4. file not found
    By smartshahezad in forum JDBC
    Replies: 2
    Last Post: 03-04-2010, 11:14 AM
  5. file not found outside of Netbeans
    By annie in forum NetBeans
    Replies: 0
    Last Post: 06-21-2008, 10:10 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
  •