Because you don’t close your Scanner
in.close();
More Related Contents:
- How do I add a resources folder to my Java project in Eclipse
- Embedding resources (images, sound bits, etc) into a Java project then use those resources
- How to package resources in Jar properly
- Is this a memory leak or a false positive?
- Loading ImageIcon from JAR or file system
- how do you make getResourceAsStream work while debugging Java in Eclipse?
- NumberFormatException not wrking java
- Why my program crash when i press back Button
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
- CreateProcess error=206, The filename or extension is too long when running main() method
- How to change font size in Eclipse for Java text editors?
- How to create a project from existing source in Eclipse and then find it?
- How to enable the Java keyword assert in Eclipse program-wise?
- Eclipse Error: Could not find or load main class [duplicate]
- Want an eclipse java project to run ant build files automatically
- eclipse/tomcat: deploy doesn’t work any more (ClassNotFoundException)
- Java object ID in jvm
- Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory
- Eclipse – module not found when adding module-info.java
- How to solve maven 2.6 resource plugin dependency?
- Bug in eclipse compiler or in javac (“type parameters of T cannot be determined”)
- R.raw.anything cannot be resolved [duplicate]
- Writing a new refactoring plugin for Eclipse?
- Cannot load properties file from resources directory
- How to get current class name including package name in Java?
- Using assertArrayEquals in unit tests
- Changing Tomcat context path of web project in Eclipse
- Where are the generated JSP class files located?
- Setting the correct PATH for Eclipse
- Why is Ant giving me a Unsupported major.minor version error