“No X11 DISPLAY variable” – what does it mean?

If you’re on the main display, then or if you’re using csh or tcsh before running your app. Actually, I’m surprised it isn’t set automatically. Are you trying to start this application from a non-graphic terminal? If not, have you modified the default .profile, .login, .bashrc or .cshrc? Note that setting the DISPLAY to :0.0 … Read more

Ubuntu: OpenJDK 8 – Unable to locate package

UPDATE: installation without root privileges below I advise you to not install packages manually on ubuntu system if there is already a (semi-official) repository able to solve your problem. Further, use Oracle JDK for development, just to avoid (very sporadic) compatibility issues (i’ve tried many years ago, it’s surely better now). Add the webupd8 repo to your … Read more

Hadoop “Unable to load native-hadoop library for your platform” warning

I assume you’re running Hadoop on 64bit CentOS. The reason you saw that warning is the native Hadoop library $HADOOP_HOME/lib/native/libhadoop.so.1.0.0 was actually compiled on 32 bit. Anyway, it’s just a warning, and won’t impact Hadoop’s functionalities. Here is the way if you do want to eliminate this warning, download the source code of Hadoop and recompile libhadoop.so.1.0.0 on 64bit … Read more

How to set JAVA_HOME in Linux for all users

How to set JAVA_HOME in Linux for all users – Read For Learn Skip to content find /usr/lib/jvm/java-1.x.x-openjdk vim /etc/profilePrepend sudo if logged in as not-privileged user, ie. sudo vim Press ‘i’ to get in insert mode add:export JAVA_HOME=”path that you found” export PATH=$JAVA_HOME/bin:$PATH logout and login again, reboot, or use source /etc/profile to apply changes immediately in … Read more