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.
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.
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.