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

12 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 :)
Post a Comment