Feeds:
Posts
Comments

The objective of this post talk about my little “adventure” in resolving the fatal Java error that prohibits running Java application.

Symptoms

You use to have the Java applications and Java IDE on your Windows-based system working then one fine day, out of unknown reason, all the Java application and plug-in in the IDE cease to work. Worse, no error message and the application just silently fail to run. Oh, your first thought is that this shouldn’t happen because it is not even April’s fool day or Monday’s blue because today is Wednesday in July. So your first reaction is to re-install the Java SDK or runtime assuming that they might have been damaged. However just before re-installing you confirm that the SDK/runtime is indeed the main problem so you test-run some command in Window command console. jar.exe command run fine but running java.exe on directory other it’s bin directory produce the infamous

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

What so damaging about this problem is the some plugins like Android and Grails in Intellij become non-functional as well. You know why very soon.

So here I go trying to resolve the issue. Running Java.exe produce error in other directories (since the SDK’s bin is added to path.)

image

However running in it’s bin directory, it runs fine.

image

Continue Reading »

Geezer: A whiter shade of pale (S2)

image  image

A Whiter Shade of Pale is a popular classic song by Procol Harum.  It has a haunting melody and very “nostalgic” feel to it.

Continue Reading »

This is a follow-up to my post: Android: Zip download of Cupcake Android v1.5 source code

There is a popular quote which says

image Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime.

That’s definitely true for most developers using Windows as the main development platform and will want to get the latest Android Source code without installing any prerequisite software (Cygwin, repo, git etc) to obtain the latest source code, and hence the fastest way to do so is to obtain the zip Android Source code uploaded by some kind souls. However, it is always best not to depend on someone else in the long run and therefore it will be beneficial to learn how to obtain the latest source code. Although it is unnecessary to periodically getting the latest entire source code, it is good to know that one can easily obtain the latest source code just as easy as saving a file (albeit with much patience) . In addition, the source code may even more valuable if it can be easily accessible in the IDE. So the objectives for this post is

This post will split into two main sections: Downloading the Source Code and Configuring the Source Code for use in Intellij.

Continue Reading »

imageThe King is dead !
Long live the King !image

It is been more than 3 decades since the slogan is repeated. Last time it is for legendary icon, The King of Rock ‘n’ Roll", Elvis Presley image who passed 42 years old in 1977 due to heart attack. Now 32 years later, history has repeated itself for King of Pop, Michael Jackson image , who died at age of 50 years old due to heart attack.

Even though these legends are no longer with us, they leave behind legacies that will remembered forever.

Continue Reading »

The Portraiter site is finally up in GeekyWare.

image

Introducing Portraiter

imageI have just completed my latest software project which is a application that make use of third-party pivoting system to pivot the screen easily into Portrait Mode, offers more customizations and with the mouse honours the screen orientation.

If you ever use eeeRotate, iRotate, Pivot Pro before then you probably have some ideas of what Portraiter is. Pivoting the screen into the Portrait mode make it easy to use the notebook as ebook reader or surf the web among the useful function.

Now why inventing the wheel if there are systems that can already do so ?

The followings are some of the reasons:

  • Most pivoting systems do not adjust the mouse after the screen orientation changes. In other words, if the screen is in portrait mode, the mouse still works as in landscape mode, making hard to navigate the screen.
  • Unless you are fortunate to own Tablet PC which comes with seamless pivoting system that simply works, Portraiter will come in handy to provide such function.
  • Pivoting system provides limited choice in customization, hence some customization is useful.

The followings are some of the screenshot of application.

 

  • Work as System Tray application.

image

 

  • PortraiterCmd (Pc icon) allows command line pivoting.

image

 

  • Useful customization. User can select iRotate or Pivot Pro pivoting system. iRotate is built into Portraiter whereas Pivot Pro is a separate commercial download. If iRotate does not work for you, you may want to consider Pivot Pro.
    Another option allows the icon to display as Notebook or Monitor. You can also limit the Portrait to just ClockWise or Anti-ClockWise direction Portrait.

image

System Requirements

OS: Windows XP, Windows Vista

(So far  I test it under XP and Vista using Home, Pro, Premium edition running 32bits Windows)

Java Runtime 1.6 and above

 

The Good News

The good news is you don’t have to wait for it as I releasing it for public usage now. The only work left is the help page and other support pages.

The installation file in the zip file contains the necessary installation information.

image  portraiter.zip (580kb)

image Match Heaven (火柴天堂) is a touching sad song written and sang by Panda Xiong image back in 1988.  Back then, this song which is among the best of the author achieved immerse popularity. This timeless classic proves to be a perfect complement to Disney’s popular short animated film “The Little MatchGirl” (2006). The Chinese lyrics and melancholic tune uncannily fit the film as author of the song and producer of the film takes similar inspiration from Hans Christian Andersen image ’s classic story “The Little MatchGirl”. The only difference is that the Chinese Lyrics refers to the kin of the girl as her mother whereas the story to which the film is based on, refers her kin as her grandmother. Very detailed story can be found here

heavenlymatch

image Although there are many animated films on “The Little MatchGirl”, I favour the Disney version because it successfully create a feeling of sadness and sympathy for the MatchGirl, well augment by the melancholic classical music playing in the background.

 

 

Continue Reading »

Geezer: Reality (S2)

imageimage

image

 Richard Sanderson sang this song back in 1983 and since then it remains a classic timeless love song. He is best known for his song "Reality", which was the title theme to the soundtrack to the 1980 film La Boum. The song became a hit in Europe in 1982, reaching #1 in 15 countries, including Germany, Austria, and Switzerland and selling more than eight million copies worldwide.

Site: http://www.richard-sanderson.com/

 

Continue Reading »

image Match Heaven (火柴天堂) is a touching sad song written and sang by Panda Xiong image back in 1988.  Back then, this song which is among the best of the author achieved immerse popularity. This timeless classic proves to be a perfect complement to Disney’s popular short animated film “The Little MatchGirl” (2006). The Chinese lyrics and melancholic tune uncannily fit the film as author of the song and producer of the film takes similar inspiration from Hans Christian Andersen image ’s classic story “The Little MatchGirl”. The only difference is that the Chinese Lyrics refers to the kin of the girl as her mother whereas the story to which the film is based on, refers her kin as her grandmother.

heavenlymatch

image Although there are many animated films on “The Little MatchGirl”, I favour the Disney version because it successfully create a feeling of sadness and sympathy for the MatchGirl, well augment by the melancholic classical music playing in the background.

 

 

Continue Reading »

image 3…2…1, voila! Patience has finally paid off and the image button appear in the countdown screen in what has been the most important Facebook event in history.  For this moment, Facebook allows user to have a “meaningful” name in Facebook address rather than as “digit” as elaborated in  http://blog.facebook.com/blog.php?post=90316352130.

Continue Reading »

Older Posts »