Fixing Eclipse: Unrecognized VM option ‘MaxPermSize=256m’

Having trouble getting eclipse loaded on your  linux machines?

Try the following troubleshooting methods to get that sorted.

First to understand the complete issue, run the eclipse command on your terminal as follows:

$ eclipse
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Unrecognized VM option ‘MaxPermSize=256m’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Now, you know that the application is not able to identify the parameter related to Java MaxPermSize. These parameters are loaded via eclipse.ini file which is easy to find it under program files in Windows. But to find this on your linux machine, you should know where eclipse has its installation directory and find .ini under that.

I found the installation directory of eclipse by running the command dpkg -L eclipse-pde
to find it under /usr/lib/eclipse. Commented the lines containing MaxPermSize option to get eclipse working.

Let me know if you find it working for yourself.

Datawrapper: Mails not delivered

I use my own instance of DataWrapper (An open source data visualization platform helping everyone to create simple, correct and embeddable charts in minutes. to quickly build some data visualizations.

For some strange reason, my login’s stopped working and I didn’t see the forgot password working for any of the users. I didn’t find a quick work around and I kept trying many trial and error methods.

Some how I jumped into a conclusions that I should install plugins of datawrapper again as this issue was never found to have been discussed elsewhere.

This is what I did inside the datawrapper installation directory. It went ahead and installed a plugin called email-native.

#php scripts/plugin.php install “*”
Re-installed plugin core-vis-options.
Re-installed plugin d3-bubble-chart.
Installed plugin email-native.
Re-installed plugin export-image.
Re-installed plugin export-static-png.

Strange as it should have been installed while I had installed datawrapper first time as I don’t remember facing any issue verifying my accounts earlier.

Now, I was able to reset the passwords for my account and login to regain access on all charts I have built so far.

Next Steps: Need to figure out if there has been any automated updates as we have few cron’s running with datawrapper and keep track of plugin errors and installation issues.

Technology for Conserving Language: Presented at Kannada Sahitya Sammelana

81th Akhila Bharata Kannada Sahitya Sammelana (Jan 31st – 3rd Feb) happening here in Shravana Belagola, Hasana District, Karnataka. I was fortunate to have got invited to talk about Information technology for Language chaired by Dr. Chidananda Gowda. Dr. U.B Pavanaja and Ram Prakash H from Tachyon Technologies (Quillpad) presented on Kannada Wikipedia and Kannada OCR respectively.

In-spite of unavailability of technology solutions such as projector, internet connectivity etc., I could say we did our best to explain how technology can make difference to the way we look at language and how we can work together to save from reaching extinction.

Here are my slides in which I have tried to explain challenges of Kannada Language survival and solutions explored, invented and developed by few of us. First few slides talk about the carvings found in our ancient sculptures and how Kannada Computing Expert Shri K.P Rao’s Kadamba & Chalukya Fonts helping us to be able to continue researching on these. His work around ‘Apara‘ font which helps the non-kannadiga’s or those who cannot read Kannada scripts to read Kannada in their own language was also an highlight.

Inaccessible sources of data, government websites, libraries and physical status of many archives across country were the source of inspiration to think of mirroring our literary treasure on Internet. Kannada Sanchaya projects such as Vachana Sanchaya, Samooha Sanchaya, Pustaka Sanchaya and others were highlighted to showcase why we need to ensure that the literature should be made available in internet using Unicode and other standards to enable the researchers, students and also common people to experience and continue researching on it forever.

I spoke about the support we got from FOSS (Free and Open Source Software) and Free Culture which made the work around Kannada Sanchaya, Wikipedia etc. possible. I also recalled how FOSS helped us make digital libraries reachable/usable to common man. Samooha sanchaya had just done over a week to complete its first milestone of having transliterated 2252 books and the same books can be searched at directly in Kannada. “Fuel Project‘ (FUEL – Frequently used entries for localization) which helps us get the community consensus to standardize the localization efforts for language was mentioned how FOSS communities can set standards and also ensure the language projects can take the best out of the resources.

Mobile solutions built by many Kannada IT professionals, Google Transliteration and Guesture search app capability of identifying Kannada on Android, Mozilla Firefox browser and Firefox OS phone were also the highlights of my talk to help understand where we stand today with mobile technology. Also the work that needs more attention here on.

My talk ended with a highlight on the Open Knowledge initiatives, Wikipedia Contributions, Books re-licensed under creative commons by Government of Karnataka’s Cultural department, Niranrajan’s works by Tejaswini Niranjana, and Mysore University etc.

Kannada should never be on endangered language list and It is possible for us to enrich the language for next generation through knowledge sharing, collaboration and by motivating each other by acting responsibly.

Here are my slides in Kannada. Hope I have tried my best to summarize the entire talk in English for my other friends who can’t read and understand Kannada. I shall make my talk transcript available online shortly.

Thank you,

Error: Couldn’t load XPCOM Zimbra Desktop

Zimbra desktop installation on a brand new installation of Ubuntu/Linux mint 64 bit release always fails (Tried on Ubuntu 14.04/14.10/Linux Mint 17 etc) due to the lack of 32 bit architecture support.

I confirmed it by running Zimbra desktop with ia32-libs added to the distribution and manually running zdclient as follows:

$ /opt/zimbra/zdesktop/linux/prism/zdclient -webapp “/home/techfiz/zdesktop/zdesktop.webapp” -override “/home/techfiz/zdesktop/zdesktop.webapp/override.ini” -profile “/home/techfiz/zdesktop/profile”
Couldn’t load XPCOM.

This is mainly because the way 32 architecture support used to be enabled on the distro’s. Earlier installing ia32-libs package was quire easier via apt-get. Now the best way to install 32 bit architecture support is as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

Now try opening Zimbra desktop, it works like a charm.

Add 32bit package support for Debian/Ubuntu/Mint

Many applications which look for 32bit packages on your Debian/Ubuntu/Mint packages would need ia32-libs packages. Earlier it was possible to get this package installed and later on it has been removed from all distributions. The best way to get back the 32bit package support is to add the architecture to dpkg as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs