Vista SP2 update

Tried to install SP2 on vista business. No surprise, its failed, and failing. Searched the net, found advise that hold on, hold on until MS pushes it for autoupdate. Hopefully somebody finds this blog useful and should avoid to waste few hours of their lives.

Step 1: After first failure, tried to do this with various combinations and painstakingly (re)starting numerous times. It was failing for "error code 490" when i try to install sp,

Step 2: Also tried this,
I've registered to post a potential solution: (At least that worked for me)
1.Make sure that your Windows clock's time is correct.
2.Go to the Start menu, Type Cmd in the search box, Right-click the CMD shortcut & select Run as administrator
Type the following command and press enter:
slmgr.vbs -rearm
Please wait about 1 minute and don't re enter the command. You should receive a message dialog.
Then, Just restart the computer and run the SP2 setup once again. Should work.

Finally found this advice
Susan Bradley recommended that you hold off on installing Vista SP2. Microsoft hasn't yet begun to push out the service pack via its Automatic Updates service.

so just hold yourself..


Eclipse 3.5 command line startup

Recently installed latest Eclipse Galileo and found my old eclipse 3.2 startup script is no more working. There are changes jar file and Main class
  1. C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
  2. org.eclipse.equinox.launcher.Main
In post eclipse3.2, they have started using equinox launcher.

start C:\JavaDev\jdk1.6.0_13\bin\javaw.exe -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar org.eclipse.equinox.launcher.Main -os win32 -ws win32 -arch x86 -exitdata "C:\JavaDev\eclipse\eclipse.exe -exitdata c8_2c" -showlocation -data "%1" -clean -vm C:\JavaDev\jdk1.6.0_13\bin\java.exe -vmargs -Xmx1024M -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar org.eclipse.equinox.launcher.Main


Edit [11Jun2012]

For eclipse Indigo
These are my latest arguments, which I save as startupEclipse.bat and run from work-space directory


start c:\JavaDev\java7\bin\javaw.exe -Xms32m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar org.eclipse.equinox.launcher.Main -os win32 -ws win32 -arch x86 -exitdata "C:\JavaDev\eclipse\eclipse.exe -exitdata c8_2c" -showlocation -data "%1" -clean -vm C:\JavaDev\java7\bin\java.exe -vmargs -Xmx1024M -cp C:\JavaDev\eclipse\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar org.eclipse.equinox.launcher.Main