About 19,800,000 results
Open links in new tab
  1. Java says FileNotFoundException but file exists

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - unreported exception java.io.FileNotFoundException; must be caught or declared to be thrown If you …

  2. 'Java' is not recognized as an internal or external command

    When trying to check the current version of Java in which I am running, I received the error "java is not recognized as an internal or external command, operable program or batch file.".

  3. Setting JAVA_HOME environment variable in MS Windows

    JAVA_HOME if you installed the JDK (Java Development Kit) or JRE_HOME if you installed the JRE (Java Runtime Environment). In the Variable Value field, enter your JDK or JRE …

  4. java - Corrupt jar file - Stack Overflow

    Sep 26, 2011 · I have created a jar file in windows 7 using eclipse. When I am trying to open the jar file it says invalid or corrupt jar file. Can anyone suggest me why the jar file is invalid?

  5. java: How to fix the Unchecked cast warning - Stack Overflow

    java: How to fix the Unchecked cast warning Asked 15 years ago Modified 8 years, 9 months ago Viewed 70k times

  6. java.net.SocketException: Connection reset - Stack Overflow

    Sep 15, 2008 · The write () method was doing alright, but the read () method was throwing a java.net.SocketException: Connection reset. I fixed this problem with adding the client SSH …

  7. How to deal with "java.lang.OutOfMemoryError: Java heap space" …

    Exception in thread thread_name: java.lang.OutOfMemoryError: Java heap space The detail message Java heap space indicates object could not be allocated in the Java heap.

  8. java - How do I resolve ClassNotFoundException? - Stack Overflow

    Sep 9, 2016 · I am trying to run a Java application, but getting this error: java.lang.ClassNotFoundException: After the colon comes the location of the class that is …

  9. java - What is a NullPointerException, and how do I fix it? - Stack ...

    As you should know, Java types are divided into primitive types (boolean, int, etc.) and reference types. Reference types in Java allow you to use the special value null which is the Java way of …

  10. java - How to fix Veracode CWE 117 (Improper Output …

    Jul 6, 2017 · This method replaces any special characters in the input string with their corresponding escape sequences, making the string safe for use in Java code or data formats …