Skip to content
Konstantin Kolodii edited this page Mar 29, 2017 · 17 revisions

Install Maven 3.3 on Ubuntu 14.04

sudo apt-get purge maven maven2 maven3
sudo add-apt-repository ppa:andrei-pozolotin/maven3
sudo apt-get update
sudo apt-get install maven3

Install Open Java 8

on Ubunut 14.04

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac

on Ubuntu 15.10

sudo apt install openjdk-8-jdk

Install Oracle Java 8

sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer

To automatically set up the Java 8 environment variables

sudo apt-get install oracle-java8-set-default

Check it

java -version

Update QNX SDP 6.6

Download (You need to register to the QNX community portal):

Extract packets:

tar -xvf linux-binutils-2.25.tar.gz
tar -xvf linux-gcc-4.9.3-qnx660.tar.gz

Copy extracted files:

cp -rv host <QNX_SDP>
cp -rv target <QNX_SDP>

Update default version of GCC:

vi ${QNX_HOST}/etc/qcc/gcc/default

Change 4.7.3 to 4.9.3

Add symlinks:

ln -s ${QNX_TARGET}/x86/lib/gcc/4.9.3/libcpp.so ${QNX_TARGET}/x86/lib/gcc/4.9.3/libc++.so
ln -s ${QNX_TARGET}/armle-v7/lib/gcc/4.9.3/libcpp.so ${QNX_TARGET}/armle-v7/lib/gcc/4.9.3/libc++.so

Install 32bit libraries

sudo apt-get install lib32stdc++6