I believe your new to java and your error is “note.txt” doesnt exist. but like most new people you have it wrong place. Here is screen shot from eclipse to to where to have it.
it sits in your root java project directory and not in the src folder
More Related Contents:
- Modify the content of a file using Java
- Java FileWriter with append mode
- Do I need to close() both FileReader and BufferedReader?
- Create a new line in Java’s FileWriter
- How to read a file from a jar file?
- What is the difference between Reader and InputStream?
- Specific difference between bufferedreader and filereader
- Create whole path automatically when writing to a new file
- Trouble with filewriter overwriting files instead of appending to the end
- PrintWriter vs FileWriter in Java
- flush in java.io.FileWriter
- GZIPInputStream reading line by line
- Difference between java.io.PrintWriter and java.io.BufferedWriter?
- How to read from files with Files.lines(…).forEach(…)?
- First character of the reading from the text file :  [duplicate]
- Why is subtracting these two times (in 1927) giving a strange result?
- how to replace display array list equals another array list values
- Creating random numbers with no duplicates
- Possible causes of Java VM EXCEPTION_ACCESS_VIOLATION?
- How to most elegantly iterate through parallel collections?
- Get login username in java
- How to convert a String to CharSequence?
- URLConnection FileNotFoundException for non-standard HTTP port sources
- How to create a reorder-able TableView in JavaFx
- Error “A JNI error has occurred. Please check your installation and try again in Eclipse x86 Windows 8.1”
- Take full page screenshot in Chrome with Selenium
- Find all words with 3 letters with regex
- When should I return the Interface and when the concrete class?
- Extract ip addresses from Strings using regex
- Time complexity of System.arraycopy(…)?