• Register
1 vote
2.2k 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,240 points

Related questions

1 vote
2 answers 554 views
554 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 88 views
88 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 1.6K views
1.6K 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
Have gotten eclipse to open and work on projects before and won't open.
asked Dec 28, 2020 TeamScript 13.5k points
0 votes
1 answer 16 views
16 views
Problem the environment variable java_home does not point to a valid jvm installation
asked Feb 9 charles mathews 3.8k points
0 votes
1 answer 11 views
11 views
Problem: I am trying to load the rJava using the command: library(rJava) But I get the following error: Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Error: package or ... both the Java and the R program with the latest versions but still get these errors.. May I know how I can resolve this?
asked Feb 17 Ali 4.4k points
0 votes
1 answer 62 views
62 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, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 12 views
12 views
Problem: Are you seeing “No JVM could be found on your system (Exe4j_Java_Home)” error message while trying to run an application or game which uses Java library functions? This kind of error occurs when a user tries to install DbVisualizer while accessing an exe4j executable file.
asked Feb 5 Ali 4.4k points
0 votes
1 answer 1.6K views
1.6K 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, 2020 mphil 2.3k points
0 votes
1 answer 140 views
140 views
Problem : I am having a box with 8gb of ram, so I don't think the total memory is the issue. This application is running properly on boxes with 6gb or less ram. What I am trying to do is to reserve 3GB of space using -Xmx3G command under "VM ... : Error occurred during initialization of VM; Could not reserve enough space for object heap using -Xmx3G Why am I getting such error any clue?
asked Nov 26, 2019 alecxe 7.5k points