Amazon Links

Wednesday, October 17, 2007

Using Tessarct-ocr with Ubuntu and Gutsy

In my previous posts, I talked about installing tesseract-ocr on Ubuntu, I played and spent some time with it. It seems to have failed on my assessment. I don’t want to blame ocr program for it. It my be that I may not have configured it correct. I have read a number of entries on tesseract-ocr on Ubuntu. And feel it may be just my configuration and scanning problem. I would spend some time later next month to see if I can figure it out. More later on the same.

I would take this opportunity to talk about upcoming ubuntu 7.10 (Gutsy). I looked at the release notes for 7.10 Release candidate and I would like to point out few things I am waiting for:-

It would make dual display easier to configure (with the help of Graphical configuration tool for X) and projector friendly .Although I regularly use Ubuntu with dual monitor at home, I have failed to use a projector with Ubuntu 7.06. Hopefully xrandr would change it.

As a windows user at work, I am used to plug and play support for all kinds of device. Something which doesn’t happen as effective in Ubuntu. The plug and play support for printer is great work in the right direction. Let’s see how it works.

Tuesday, October 02, 2007

Ubuntu(7.04) and Eclipse.

Today, let us talk about eclipse 3.3 on Ubuntu. Being an Java Programmer, eclipse plays an important role in my life.

Installing Java

I have installed JDK 1.6 from the multiverse repository for Ubuntu 7.04 . The process involves downloading sun-java6-jdk package from the multiverse repository.

Installing eclipse

I downloaded eclipse archive from the eclipse site, unzipped it and executed the eclipse binary. It easily detected the jdk and worked great. Performance was also good.

All was not over, once i started with some serious memory hogging stuff using GMF on eclipse, the ide started to crash. This happened a number of times, i tried increasing the memory but it didn't help. Finally, after a lot of searching i found refers to issue in the jdk with reference to perm space. It seems some people have successfully resolved it my increasing perm size, but it didn't work for me.

I finally decided to install jdk 1.5, the jdk 1.5 package is sun-java5-jdk , and it ships jdk 1.5.0_11 on (Ubuntu 7.04). And switched the default java to 1.5 using update-alternatives command.The perm space issues are resolved in 1.5.0_8, so the later versions worked perfectly. Once i upgraded and started using the new jdk with eclipse i have not faced the permspace issues.

Eclipse on Ubuntu gives me good performance, specially good behaviour in compiling large projects.