• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error: no `server’ JVM at … jvm.dll

 
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
pramod talekar
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I installed 64 bit only.
reply
    Bookmark Topic Watch Topic
  • New Topic