Because you are choosing jre
dir. and not JDK
dir. JDK
dir. is for instance (depending on update and whether it’s 64 bit or 32 bit): C:\Program Files (x86)\Java\jdk1.7.0_45
In my case it’s 32 bit JDK 1.7
update 45
Related Posts:
- JAVA_HOME should point to a JDK not a JRE
- Failed to write core dump. minidumps are not enabled by default on client version of windows
- “Javac” doesn’t work correctly on Windows 10
- Lombok and Maven
- How can I convert a .jar to an .exe?
- javac not working in windows command prompt
- Error: Could not find or load main class in intelliJ IDE
- Extracting .jar file with command line
- unused import statement for used ones in IntelliJ IDEA
- How to get rid of Checkstyle message ‘File does not end with a newline.’
- Error: JavaFX runtime components are missing, and are required to run this application with JDK 11
- Extracting .jar file with command line
- How to fix “unsupported class file major version 60” in IntelliJ?
- intellij incorrectly saying no beans of type found for autowired repository
- Java and Windows – error: illegal escape character
- How can I convert a .jar to an .exe?
- “Javac” doesn’t work correctly on Windows 10
- Failed to load the JNI shared Library (JDK)
- IDEA: javac: source release 1.7 requires target release 1.7
- IntelliJ – Can’t start – “JAVA_HOME does not point to a valid JVM installation”
- Corrupt jar file
- Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project
- What is the jasperrepots-fonts jar for and how to use it?
- Error: Module not specified (IntelliJ IDEA)
- Invalid signature file digest for Manifest main attributes exception while trying to run jar file
- Error: Could not find or load main class net.minecraft.launchwrapper.Launch when launching Minecraft 1.12.2 with Forge
- “Cannot start compilation: the output path is not specified for module…”
- java ‘jar’ is not recognized as an internal or external command
- intellij idea – Error: java: invalid source release 1.9
- String index out of bounds exception java
- Can’t load IA 32-bit .dll on a AMD 64-bit platform
- Class JavaLaunchHelper is implemented in two places
- javax vs java package
- What is a stack trace, and how can I use it to debug my application errors?
- How to fix “A JNI error has occurred, please check your installation.”
- Java Runtime Environment not found error when I open an application
- “PKIX path building failed” and “unable to find valid certification path to requested target”
- What exactly does a jar file contain?
- What is the best way to implement constants in Java?
- Understanding Spring @Autowired usage
- What is a serialVersionUID and why should I use it?
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- The difference between += and =+
- Switch on Enum in Java
- error upon assigning Layout: BoxLayout can’t be shared
- Why do this() and super() have to be the first statement in a constructor?
- Else without if
- Keytool is not recognized as an internal or external command
- Cannot find “Package Explorer” view in Eclipse
- Java Hashmap: How to get key from value?
- Understanding the difference between null and ‘\u000’ in Java
- what does Dead Code mean under Eclipse IDE Problems Section
- restart console on Minecraft Server
- SSL peer shut down incorrectly in Java
- Java split string to array
- How can I clear or empty a StringBuilder?
- Pause the timer and then continue it
- Converting String Array to an Integer Array
- Resize an Array while keeping current elements in Java?
- Access restriction: The type ‘Application’ is not API (restriction on required library rt.jar)
- Assign the negativeCntr with the number of negative values in the linked list
- Web server failed to start. Port 8080 was already in use. Spring Boot microservice
- No Persistence provider for EntityManager named
- What does it mean: JavaFX application class must extend javafx.application.Application?
- Using Math.round to round to one decimal place?
- How do I check if the user is pressing a key?
- How to check if object is null or not except == null
- Comparing strings by their alphabetical order
- exposed beyond app through ClipData.Item.getUri
- Java – get the current class name?
- Warning: The method assertEquals from the type Assert is deprecated
- koch snowflake java recursion
- Java word count program
- How to return a boolean method in java?
- Java read file and store text in an array
- MultipartException: Current request is not a multipart request
- How to extract a substring using regex
- How to “wait” a Thread in Android
- How to use regex in String.contains() method in Java
- Checking letter case (Upper/Lower) within a string in Java
- How to swap String characters in Java?
- Exception in thread “main” java.net.ConnectException: Connection refused: connect Socket Programming Java
- Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed?
- Resource leak: ‘in’ is never closed
- JavaFX and OpenJDK
- What’s the difference between JPA and Hibernate?
- Java console program
- Official reasons for “Software caused connection abort: socket write error”
- Multiple assignment at once in java
- -XX:MaxPermSize with or without -XX:PermSize
- Decompile .smali files on an APK [duplicate]
- How to get rows and columns count of a 2D array in Java?
- Difference between volatile and synchronized in Java
- How can I read a text file in Android?
- compilation error: identifier expected
- How can I design a class named allergy?
- How to know if a given string is substring from another string in Java
- Spring Boot – Cannot determine embedded database driver class for database type NONE
- Convert double to float in Java
- Can’t seem to disable Java Automatic Update