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:
- Copy 'server' folder from the JDK's JRE's bin folder (example: C:\Program Files\Java\jdk1.6.0\jre\bin\server)
- Paste the 'server' folder to JRE's bin folder(example: C:\Program Files\Java\jre1.6.0\bin)
- Done
37 comments:
You are awesome!
This worked perfectly!!!
Thanks, it works :)
Just use the JDK, don't do this.
Excellent... it's working fine.
Perfect!!!
Thank you so much :)
what a dirty trick Dude! :D
Thanks, it works perfectly. ;-)
Thanks ... That Great.. It works...
Thx man...my problem succesfully solved.
Thanks, it helped me too
Very good note! Thank you!
Thanks so much man! Saved me a lot of time and a ton of hair :)
You are too good!
Thanks a lot!
Will it cause any issue?
Thanks a lot ;)
Thanks a lot, you are god.
it's working.
thanks you much. ;P
Brilliant! Thank you!
Thanks it works! :)
thanks man.
thank you so much ! it works perfectly now :)
Thank you!
Awesome! thanks!
Awesome! thanks!
you are suuupppeeerrrr.....
Great! It helped me!
Great! Thanks much!
Thanks man
Thanks, works immediately
Great thank you I actually installed the JDK but for some reason windows was not using it...good fix.
great buddy... ur awesome
It gives me new alert message:
Error: loading: C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll
Now the new error message:
Error: loading: C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll
New alert:
Error: loading: C:\Program Files (x86)\Java\jre7\bin\server\jvm.dll
thanks
It is giving a new error now:
Error Loading: C:\Program Files (x86)\Java\jre6\bin\server\jvm.dll
This is a terrible fix. Manually copying and pasting files to fix the classpath is a terrible idea.
Post a Comment