// shall I write some keywords here to boost search engine ranking?

Monday, October 01, 2007

Error: no 'server' JVM at '...'

Some workstation or server will not come with server JVM after you install JDK on it. When you run server JVM by 'java -server MyApp', you will get the error such as:

Error: no `server' JVM at `C:\Program Files\Java\jre1.6.0\bin\server\jvm.dll'.
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

37 comments:

Anonymous said...

You are awesome!

This worked perfectly!!!

Unknown said...

Thanks, it works :)

Anonymous said...

Just use the JDK, don't do this.

Anonymous said...

Excellent... it's working fine.

Anonymous said...

Perfect!!!
Thank you so much :)

Anonymous said...

what a dirty trick Dude! :D

Anonymous said...

Thanks, it works perfectly. ;-)

Anonymous said...

Thanks ... That Great.. It works...

Anonymous said...

Thx man...my problem succesfully solved.

Unknown said...

Thanks, it helped me too

Anonymous said...

Very good note! Thank you!

Anonymous said...

Thanks so much man! Saved me a lot of time and a ton of hair :)

Anonymous said...

You are too good!
Thanks a lot!

DevD said...

Will it cause any issue?

Anonymous said...

Thanks a lot ;)

Srujan said...

Thanks a lot, you are god.

it's working.

Anonymous said...

thanks you much. ;P

Michael said...

Brilliant! Thank you!

Anonymous said...

Thanks it works! :)

Unknown said...

thanks man.

lornedh said...

thank you so much ! it works perfectly now :)

Unknown said...

Thank you!

Road Trip Music said...

Awesome! thanks!

Anonymous said...

Awesome! thanks!

Anonymous said...

you are suuupppeeerrrr.....

Vinod Kumar said...

Great! It helped me!

Anonymous said...

Great! Thanks much!

Anonymous said...

Thanks man

Anonymous said...

Thanks, works immediately

NBTafelberg said...

Great thank you I actually installed the JDK but for some reason windows was not using it...good fix.

shashiK said...

great buddy... ur awesome

Unknown said...

It gives me new alert message:
Error: loading: C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll

Unknown said...

Now the new error message:
Error: loading: C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll

Unknown said...

New alert:
Error: loading: C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll

Anonymous said...

thanks

Anonymous said...

It is giving a new error now:

Error Loading: C:\Program Files (x86)\Java\jre6\bin\server\jvm.dll

Chris Topinka said...

This is a terrible fix. Manually copying and pasting files to fix the classpath is a terrible idea.