Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Registry has value '1.8', but '1.7' is required
I have JDK 7 stored C:\java\jdk1.7 folder. When I run the "C:\java\jdk1.7\bin\java -version" command, I am getting the following error:
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. Error: could not find java.dll Error: Could not find Java SE Runtime Environment.
✍: FYIcenter.com
You are getting this error, mostly because the "C:\java\jdk1.7\jre" folder is missing. This .\jre folder contains java.dll and other important files to run JVM.
When you invoke "C:\java\jdk1.7\bin\java.exe", it will try to find java.dll in "C:\java\jdk1.7\jre". If not there, it will check the registry 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion', which is pointing a JDK 8 JRE folder somewhere else on your hard disk. This is why the error message says: "Registry key ... has value '1.8', but '1.7' is required."
2015-06-05, 7377🔥, 0💬
Popular Posts:
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...
What Is poi-ooxml-5.2.3.jar? poi-ooxml-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which...
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...