Eclipse directly on TX2 Ok by Jesse Stone

I use root login, so I will not use sudo before any command

apt install aptitude

aptitude install install eclipse
or download
https://launchpad.net/ubuntu/bionic/arm64/eclipse/3.8.1-11

aptitude install synaptic
run synaptic
remove default-jre-*
remove default-jdk-*
remove openjdk-11-*

add-apt-repository ppa:openjdk-r/ppa
apt update
apt install openjdk-8-jdk

aptitude install libcanberra-gtk-module

run eclipse

help -> install new software
Juno - http://download.eclipse.org/releases/juno
install CDT
programming languages -> c++ development tools
programming languages -> c++ development tools sdk

Demo Pic: http://www.mediafire.com/view/3pfx2rbg22y7b70/tx2eclipse.png

#option 1
gedit /ect/eclipse.ini
#remove
–launcher.XXMaxPermSize
256m

#option 2

refer to https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1754886

When meet java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
cd $HOME/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/e/eclipse/libequinox-osgi-java_3.8.1-8_all.deb
dpkg -x ./libequinox-osgi-java_3.8.1-8_all.deb /
apt install --reinstall libequinox-osgi-java

#option 3
select Java version
update-alternatives --config java
update-alternatives --config javac
update-alternatives --config javadoc
java -version
javac -version
javadoc -J-version

#my blogger: http://fatalfeel.blogspot.com/
by Jesse Stone

Great! Thanks for sharing!