I am a Mechanical Engineer and moved into software development after engineering. I have not done OCPJP.
But I think it will be a more-than-nice addition to your CV during job search.
Like Ankit said start with basics.
Take the mechanical engineering job. Get to know the IT people at your company and buddy up with them. Use the company's tuition reimbursement to get your degree in computer science. Try transitioning internally from mechanical engineering to the IT department and go from there.
There are many routes to a job as a software developer. I have worked with many good developers who had degrees ranging from Computer Science, Electronics, Mathematics, to Business & Finance and Agriculture. There are even people with a formal background in Music and some may not know it but Music and Math are very rich backgrounds for anyone wanting to work in software development since apparently they all use the same regions of the brain. Or so I've heard it said.
I, too, have a BSME and muddled through college on a steady diet of thermodynamics, mechanics, kinematics, materials science, pneumatics, and all the other standard fare of MEs. However, I discovered my passion for all things computer programming at the tail end of my protracted tour of college and colleges so when I finally got my degree, I went straight into the MIS department of the nearest multinational company that hired me. Never looked back since. I don't know what your particular circumstances involve but there are certainly in-roads to a career in software development if you have an engineering background. My advice is to read up and learn as much of the basic Computer Science subjects, particularly data structures and algorithms. That kind of knowledge almost always comes in handy when it comes time to go for interviews. Other than that, a passion for solving problems and finding creative solutions never hurts but what will really set you apart from others is a sense of and a dedication to craftsmanship. In my experience, that's what makes people really stand out in the crowd.
Do you want ants? Because that's how you get ants. And a tiny ads: