Pages

Thursday, July 25, 2013

Salesforce Force.com IDE Startup Error jvm terminated. exit code=-1

If you are starting Force.com IDE either after a fresh installation or an upgrade,

You might see a scary big popup with this error jvm terminated. exit code=-1. dont runaway.
One of the ways to simply fix it is to open up your force.com config file and remove the unwanted configurations added at the end.

The force.com config file is located in your installation directory. by default it goes into
C:\Program Files\salesforce.com\Force.com IDE\forceide.ini

open up the file using a text editor and comment the configuration keys at the end
(add # at the start of each line)
#-vmargs
#-Dfile.encoding=UTF-8
#-Xms256m
#-Xmx1024m
#-XX:PermSize=128M
#-XX:MaxPermSize=512M

here is the other options to fix the issue
http://stackoverflow.com/questions/11220594/salesforce-ide-starting-error

for me even after updating this, it was still failing with another error  
java.lang.RuntimeException: Application "" could not be found in the registry

to fix this error open up the config file
C:\Program Files\salesforce.com\Force.com IDE\configuration\config.ini

and comment the line
#eclipse.application=


ideally it should have the list of applications. not sure why its blank, so just comment it and force.com ide works perfectly after that... hope this helps some of you


Saturday, April 27, 2013

My New HTC ONE

Huuuuuu Huuuuu..... got my new HTC ONE from Optus delivered today... Silver 32GB model..

Inserting the new SIM, Transferring the contents (Contacts, Media, Messages) from my iPhone 4 using HTC Sync Manager is pretty straight forward...

checkout the unboxing...








Thursday, May 10, 2012

Blue bottles

My recent visit to manly beach ended up slightly in a bad way as my son got in touch with lots of jelly fishes on the shore.. These jelly fishes are small in size, in dark blue colour, floats around the shore in bunches, clings around anything comes close to them.. But they are not that harmful, except that we end up having the itchy feeling for a while, especially kids..

Friday, April 20, 2012

online Javascript formatting

Heck... we had to work on a javascript file that was ages old and the entire logic was put in 1 line..
no one could understand anything out of it until we formatted it to have proper structure... the formatted script showed us the original 1 line script had close to 15 functions and several variables declared in between the functions used across the script..

we know its good practice to keep the script in this minified version in production environment.. but in development space, we need to have a better formatted one always...

the online tool we used to format the script was
http://jsbeautifier.org/

this is really quick, has options to specify how you want the formatted script, delivers the formatted script in clear text, easy to copy & re-use...

just though of sharing this, as we the web developers are trying to reuse scripts from one another and if in case we want to understand or extend the scripts which is non readable, this tool is very handy...



Tuesday, November 22, 2011

First Ascent

I was watching this series First Ascent recently and got amazed by the adventurous adrenaline pumping actions performed by the people in the series.... before that i never imagined such actions are ever possible to do... but now, i have a whole new feeling & confidence that day after day we humans will break every possible achievements and make the impossible next to nothing... if you are an adventurous person with a love for new age action sports, then this series is a must watch for you.... don't miss this...

check out the details in the website http://www.senderfilms.com/firstascentseries.com

each episode in this series exposes different action skills and all of them are presented in high quality with detailed narration, historical stuff on such stunts performed earlier, background information about the sport, people who contributed to it, people who got affected due to the risk involved in it...

the most inspiring one for me out of the series is episode 6 - FLY or DIE... action stunts by Dean Potter
he jus climbs on any mountain with just raw hands... no ropes, no holders... jus a life saving parachute in his backpack and nothing else except for his skills and amazing confidence...
check his website http://deanspotter.com/

no words after watching the series.... it gave me so much inspiration & confidence... jus go for it...:-)