Archive for March, 2013

The Java UnsupportedClassVersionError

March 26, 2013 Leave a comment

I was having an error when compile one piece of code within Eclipse.

java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version;/CareMonths, offset=6

Got some help from here, which thinks that the reason of the error is because of the unmatched jdk version. And of course, install it.

So tried a simple fix, and it works:

1. go to here download the right version, I am downloading the newest version because of my code.

2. In your eclipse, go to Window->preference->Java->Installed JREs.

From where you can find your current version& its path. Do ‘Add’ add the newest installed JDK <> . If you are using window, the default installation path is <C:\Program Files\Java\jdk1.7.0_17>. Check this version for your project.




Reminder from the life of last year

March 18, 2013 Leave a comment

There are a lot of principals that one can follow in life. Clear ones, fuzzy ones, sweet ones or tough ones. Sometime we may also forget them, but the magic of life always works its way to opens new doors, new challenges for us, and remind us of its bones. Here are a few that were shuffled by this magic and put to the top of my list during last year:

– Learn to adapt to completely new topics.
– Always be nice and from the heart. By which, no matter what happend, you have a peace mind and soul.
– Work hard and be bold to show an imperfect yourself. Always remind yourself your personal developing goal.
– Speak or ask, for whatever you don’t know. But sometimes, be quiet.
– Be patient in the learning/growing process.
– Make good plans before you start, clear and doable. It’s better to organize your time and effort rather than clean up a mess afterwards.
– Create the need to be needed.
– Failures is a natural process. Learn from it — it’s a matter of choice.
– Say yes to every opportunity, no matter how hard it seems to be. All life demands struggle. You can only cultivate your strengths through the climbing.
– Be grateful.

Categories: Myself