| Author |
Error: no `server’ JVM at … jvm.dll
|
pramod talekar
Ranch Hand
Joined: Apr 26, 2010
Posts: 316
|
|
Hello,
While trying to install jdk(not just jre) , I'm getting Error: no `server’ JVM at … jvm.dl error.
After googling I found out the below solution :-
There is a little trick to get the server JVM up and running:
1.Copy 'server' folder from the JDK's JRE's bin folder (example: C:\Program Files\Java\jdk1.6.0\jre\bin\server)
2.Paste the 'server' folder to JRE's bin folder(example: C:\Program Files\Java\jre1.6.0\bin)
3.Done
What I don't understand is that why I need to install JRE separately as well (Step 2) as JDK also includes JRE.
Please advise.
Thanks.
|
Thanks,
Pramod
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
But it's strange that you get that error while installing the JDK.
Are you using Windows? What version, and is it 32-bit or 64-bit? And are you installing a 32-bit or a 64-bit JDK and / or JRE?
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
pramod talekar
Ranch Hand
Joined: Apr 26, 2010
Posts: 316
|
|
Hi Jesper,
I'm trying to install Java EE SDK 6 after installing Java SE 6 Update 24.
My m/c is Win 7 , 64 bit.
But when I try to install SDK, an error shows up saying that it could not find Java 2 Runtime Environment.
If I check my version details on Java.com it suggests me to install Java RE.
If I install Java RE separately in addition to JDK, then I'm able to install EE as well.
|
 |
pramod talekar
Ranch Hand
Joined: Apr 26, 2010
Posts: 316
|
|
Hey Jesper,
I think Java EE installation is looking in default locations for any Java RE/jdk and as I've customized my jdk location,
It's not able to get it.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
Did you install a 32-bit or a 64-bit version of the JDK? (Both of them work on 64-bit Windows).
Oracle actually has two versions of the JVM: the client version and the server version. As far as I know, the 32-bit version of the JDK / JRE does not contain the server JVM; only the client JVM. On the 64-bit version, the server JVM is the default. It looks like the Java EE 6 SDK you are trying to install is looking for the server JVM.
You could try installing the 64-bit version of the JDK.
|
 |
pramod talekar
Ranch Hand
Joined: Apr 26, 2010
Posts: 316
|
|
|
I installed 64 bit only.
|
 |
 |
|
|
subject: Error: no `server’ JVM at … jvm.dll
|
|
|