About 18,200,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 change …

  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 installation path . …

  4. 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 missing. …

  5. Java: How to set Precision for double value? - Stack Overflow

    Feb 13, 2013 · I was working with numbers recently and I had a situation where I want to set the precision of a double value say to 6 digits or 4 digits, depending on the value stored in the database. …

  6. 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

  7. 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 key to …

  8. Error when checking Java version: could not find java.dll

    If Java Runtime Environment is not present inside JavaSoft, then create a new Key and give the name Java Runtime Environment. For Java Runtime Environment create "CurrentVersion" String Key and …

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

    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 such as JSON or …

  10. 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 saying "no …