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

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 - Juno Software Repository
install CDT
programming languages → c++ development tools
programming languages → c++ development tools sdk

Demo Pic: File sharing and storage made simple

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

#option 2

refer to Bug #1754886 “Eclipse fails to start (java.lang.ClassNotFoundExc...” : Bugs : eclipse package : Ubuntu

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!