This is an old revision of the document!
Using the Sencha Command to Rebuild Optimized JS code
Get the Sencha Command
-
Select under the Installers without JRE Included the LINUX 64-BIT link and download the latest installer.
As the link states, you have to install a JRE on your system for the JRE to work correct.
Install a JRE on Ubuntu 20.04
sudo apt install default-jre
unzip SenchaCmd-7.4.0.39-linux-64-no-jre.zip
#This is the output
#Archive: SenchaCmd-7.4.0.39-linux-64-no-jre.zip
# inflating: SenchaCmd-7.4.0.39-linux-amd64.sh
./SenchaCmd-7.4.0.39-linux-amd64.sh