How to switch between different Java (JVM) in Ubuntu and Debian GNU Linux

Sometimes its hard to avoid installing multiple Java Virtual Machines (JVM) on your computer because it has something to do with application compatibility or software development purposes.

This creates an annoyance when you just want to run one of the JVM instead of another for a specific task, then having to switch to another JVM for other tasks.

Here’s an easy way to setup a default JVM (Java interpreter and javac) and switch between several JVM in Ubuntu / Debian based distribution.

From the console execute

[code]
sudo update-alternatives –config java
[/code]

Then you’ll be presented with this menu,

jvmtn.jpg

Select the Java distribution which best suits you and press enter. You’re done. You can always change the default JVM for your Ubuntu/Debian distribution by repeating this steps.

[tags]java,jdk,j2sdk,ubuntu,debian,linux,jvm,vm,javac[/tags]

Happy Birthday to me :p

Usually I don’t post these things on my blog. But seems APZ from ICCL took the time to create a birthday strip for me so I think it would be appropriate to share with you out here.

The work has been put together using Maya on Debian Etch.

Enjoy !

mypapit.jpg

[tags]linux,apz,iccl,comics,comic,online comic,debian,maya[/tags]

How to Enable More Compiz effect in Ubuntu Gutsy Gibbon

One of the changes made in Ubuntu Gutsy Gibbon is Compiz enabled by default on installation. However the Compiz desktop effect setting are modest at best when enabled out-from-the-box in Ubuntu Gutsy Gibbon.

How to Customize Compiz effect in Ubuntu Gutsy Gibbon
From Desktop, go to Applications->Add/Remove…, search for ‘compiz’ and then install the CompizConfig utilities.

CLI lover might want to “sudo apt-get install compizconfig-settings-manager”.

To customize Compiz effects, just go to System->Preference, and select Advance Desktop Effects Settings.

There you go, a simple guide how to enable Compiz setting manager for Ubuntu 7.10 (Gutsy Gibbon). From here, you can add and remove compiz effects according to your needs and processing power budget. Hope you’ll find it useful !

[tags]ubuntu,debian,compiz,linux,opensource,desktop,effects,graphics,opengl,glx[/tags]

Using htaccess to stop Bad Bots from stealing bandwidth and crashing your server

Few days ago my site was hit by a bunch of really bad bots which crawl my site continuously until it overloads my web server. Now I’m publishing a way to block these so-called bad robots from ruining your website by their crazy crawling method.

Assuming you are using Apache Http server, create .httaccess file and append this line to the newly created file.
Continue reading “Using htaccess to stop Bad Bots from stealing bandwidth and crashing your server”

Install Ubuntu Theme for Windows

Love Ubuntu but can’t live without Microsoft Windows? Then this might be the solution for you. As funny as it sounds, there are people who took time the to port the Ubuntu-feeling for Windows users to experience.

Read How To Make Windows look like Ubuntu Linux article from The Indie Tribune for a quick guide to make your Windows look like an Ubuntu machine. Have fun!

[tags]ubuntu,gutsy,gutsy gibbon,gnome,windows,windows vista,vista,windows xp[/tags]

Crispy Clear Font on Ubuntu Gutsy Gibbon?

Maybe after spending hours of wading through http logs makes me imagining things, such as the font typeface on Ubuntu Gutsy Gibbon. They seems to look crispier and clearer than on Feisty Fawn, even on my old CRT monitor.

The differences is analogous to letter printed with Bubble-Jet printer versus one that is printed with a Laser Printer, you can just spot the differences.

[tags]ubuntu,gutsy,gutsy gibbon,feisty fawn,gnome,font,typeface,windows,opensource,gtk,ttf[/tags]