Swapping OpenJDK for Sun JDK on Ubuntu

Recently I installed PhpStorm on Ubuntu that requires Sun JDK rather than the OpenJDK that Ubuntu installs with. It wasn't a matter of it running better with the Sun solution, which is doesn't run at all with OpenJDK. I tried simply uninstalling OpenJDK and installing Sun's JDK, but that didn't work...there were missing headers, etc., cryptic messages to a Linux n00b. I did find the solution, though, and am posting it here to make someone else's life easier.

Why PHP?

Whenever I sit down to design the architecture of a new application, I sit back and ponder. For the past few years, my decision continues to be: php.

I have read many blog entries on the merits of choosing php, ruby or java, and theories on why programmers make choices in opposition to the blogger's. It's my turn to weigh in, for what it's worth.

Subscribe to java