Right click My Computer > Properties > Advanced System Settings. Switch to Advanced tab, click Environment Variables. In System variable, scroll down a bit until you see PATH , double click it. Paste this if you install Java 7 and to the default destination folder : "C:\Program Files\Java\jre7\bin;" - without the quota at the beginning of the string. Click OK 3 times and you are good to go.
Right click My Computer > Properties > Advanced System Settings. Switch to Advanced tab, click Environment Variables. In System variable, scroll down a bit until you see PATH , double click it. Paste this if you install Java 7 and to the default destination folder : "C:\Program Files\Java\jre7\bin;" - without the quota at the beginning of the string. Click OK 3 times and you are good to go.
but today when i tried it
an error message appear
"Java HotSpot(TM) Client VM warning: Attempt to protect stack guard pages failed.
Java HotSpot(TM) Client VM warning: Attempt to deallocate stack guard pages failed.
Error occurred during initialization of VM
Could not reserve enough space for object heap"