• Register
1 vote
2.6k views

Problem:

I am a windows seven user and recently I’ve installed JDK to learn java but I am getting an error. The message is something like: Missing server JVM at `C:\Program Files\Java\jre7\bin\server\jvm­­.dll' please install or use the JRE or JDK that contains these missing components.

Your kind solution is much appreciated.

12 7 7
15,250 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

Hence, you are using a windows-based OS, to avoid your problem please follow the steps below:

  1. Visit Oracle and download the latest Java JRE for you.

  2. Go to C:/Program files/java/jre8/bin (Assuming you’ve downloaded JRE 8)

  3. Now, create a new folder at the end of this path called Server. 

  4. Let’s come to the path C:/Program files/java/jre7/bin/client folder and copy all the data from here.

  5. Paste all the data at C:/Program files/java/jre7/bin/Server (The new folder you’ve created a few moments s ago).

All dine. Now you are all set to go.
Thanks.

13 9 6
94,260 points

Related questions

1 vote
2 answers 738 views
738 views
Problem: I just completed all the set up for a Java development environment. Downloaded JDK and now trying to set up maven for my project and I am getting this error : nb: java_home should point to a jdk not a jre I couldn’t figure out the solution anywhere online. I am running a windows 10 based OS. Any solution from you is much appriciated. Thanks.
asked Mar 26, 2020 Gavin 15.3k points
1 vote
1 answer 5 views
5 views
Problem: How can I deal with this problem : perhaps you are running on a jre rather than a jdk
asked Apr 4 MUHAMMAD MUNEEB 83k points
1 vote
1 answer 8 views
8 views
Problem: I need a help , How I can fix this : perhaps you are running on a jre rather than a jdk maven
asked Apr 4 MUHAMMAD MUNEEB 83k points
0 votes
1 answer 14 views
14 views
Problem: I will request someone to answer my question Please, I have searched on the web but I got no useful information for this, now I am in difficulty continuing my learning
asked Mar 23 rubelkhan 20.4k points
0 votes
1 answer 23 views
23 views
Problem: I will request someone to answer my question Please, I have searched on the web but I got no useful information for this, now I am in difficulty continuing my learning
asked Mar 21 shamimkhan 15.1k points
1 vote
1 answer 133 views
133 views
Problem: When i am trying run an application in JBOSS 4.0 via eclipse 3.3 i am getting the below exception: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK I had to set the environment ... coming and how to fix. I am able to execute the same application with tomcat 5.0. Can anybody help me to solve out this problem.
asked Apr 8, 2020 LizzyM 6.1k points
0 votes
1 answer 6 views
6 views
Problem: What is it? Please answer >Intellij the selected directory is not a valid home for jdk.
asked 5 days ago Ashok Dileep 5.3k points
0 votes
1 answer 34 views
34 views
Problem: I need explation why this message keep showing to me : Unable to open socket file: target process not responding or hotspot vm not loaded
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 2.2K views
2.2K views
Problem : I had to run the jmap so that I can take the heap dump of my process. But the jvm returned below error : Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding So I ... to take the heap dump? 2. I am waiting for more than 20 minutes and not finished yet. Any ideas why it is taking so long?
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 3 views
3 views
Problem: I have VS Code on new Windows machine. I'm opening Azure Java Functions code. It is using Java 8. I have installed Zulu-8. JAVA_HOME env is set to C:\Program Files\Zulu\zulu-8\ I open VS Code. I press "Start Debugging" I get ERROR: Java 11 or more recent is required to run. Please download and install a recent JDK
asked Apr 26 Yeamin 22k points