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 2 of 2

Thread: java.lang.Exception: folder exists, but it is not a directory.

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Thanked 0 Times in 0 Posts

    Exclamation java.lang.Exception: folder exists, but it is not a directory.

    HI All,

    I am running with one file listner which polls one folder in every 15 min.
    But system is throwing error in between java.lang.Exception:Folder1 exists, but it is not a directory.

    Can someone please tell wht could be the possible problem

  2. #2
    Join Date
    Sep 2013
    My Mood
    Thanked 7 Times in 7 Posts

    Default Re: java.lang.Exception: folder exists, but it is not a directory.

    Please paste your code and full error message for better understanding of your problem.

Similar Threads

  1. Replies: 2
    Last Post: July 2nd, 2013, 04:59 PM
  2. check if table exists from a list of files in a directory
    By efoikonom in forum JDBC & Databases
    Replies: 1
    Last Post: June 10th, 2013, 08:42 AM
  3. java.lang.NoClassDefFoundError exception
    By ayuda96 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: July 23rd, 2012, 11:12 PM
  4. solaris machine /tmp folder, File.exists() cant see the existing file.
    By aragorn1905 in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: December 27th, 2011, 09:41 AM
  5. Replies: 6
    Last Post: March 25th, 2011, 03:42 PM