Now type from the terminal prompt followed by Enter:
1 |
[Email Protected]:cd/java |
1 |
[Email Protected]:tar zxvf server-jre-8u60-linux-x64.tar.gz |
Make sure, the ' tar.gz ' full filename is typed exactly as the name of the downloaded distrubution. Don ' t make any mistakes here! So the example above might isn't correspond with your file name.
Now we had to make Java work and we do this by typing the terminal prompt:
1 |
[Email Protected]:export install4j_java_home=/usr/bin/java/jdk1.8.0_60 |
Again, the name after ' Java_home= ' might isn't correspond with your installed JAVA. To make sure you has the right one, type:
1 |
[Email Protected]:ls/usr/bin/java |
You'll find the name next to your ' tar.gz ' file. You can also delete the ' tar.gz ' file to save space.
Step 3:install Sencha CMD
Before we do the final step I would give again some critics to Sencha Inc. for don't have a proper installation manual for Sencha CMD for Linux on their website. "Half work done counts as no". Ok, let's do the last bit.
First download Sencha CMD from Here:link
Save the ' Zip ' file in your default Downloads location. If you don ' t have a ' unzip ' installed in Debian Jessie, you can install ' Ark ' with the Synaptic package Manager. After this said, you unpack the Sencha Cmd ' zip ' file. You can do this in the same Downloads folder. It would unpack a file with the . SH extension.
Now go to your terminal prompt and type:
1 |
[Email protected]:sh/home//downloads/sencha* |
Now it'll install Sencha CMD. You'll get an warning complaining:
1 |
gtk-message:failed to load module "Canberra-gtk-module" |
You can ignore this.
Finally Add Sench Cmd to your PATH. Type this from your terminal prompt:
1 |
[Email protected]:export path=/root/bin/sencha/cmd/6.0.1.76: $PATH |
Make sure, the Sencha version in the PATH corresponds and the one you just installed. Simply Type:
1 |
[Email Protected]:ls/root/bin/sencha/cmd |
Now it'll show you the version of installed.
If everything have gone well you can now go to your Sencha Ext JS or Touch application folder and type something like "Senc Ha app Watch "or any other Sencha Cmd instruction.
Reference: https://www.enovision.net/how-to-install-sencha-cmd-on-debian-jessie/
Install Sencha CMD in Ubuntu system