• Register
1 vote
1.3k 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

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,240 points

Related questions

1 vote
2 answers 330 views
330 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 Gavin 15.3k points
1 vote
1 answer 31 views
31 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 LizzyM 6.1k points
0 votes
1 answer 959 views
959 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 21 views
21 views
Problem: I am very new to programming. I want to know does Gradle require JDK to compile the Java source files? or is it done by using its own internal compiler?
asked Aug 20 Raphael Pacheco 4.9k points
0 votes
1 answer 1.4K views
1.4K views
Problem : I am beginner to Java. I have one doubt about Java Compilers as below. “For compiling a java code we have separate compilers for different os.” Can someone answer my question?
asked Feb 29 mphil 2.3k points