Now type from the terminal prompt followed by Enter:

 
1
root@prompt:cd /java
 
1
root@prompt:tar zxvf server-jre-8u60-linux-x64.tar.gz

Make sure that 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 not correspond with your file name.

Now we have to make Java work, we do this by typing this from the terminal prompt:

 
1
root@prompt:export INSTALL4J_JAVA_HOME=/usr/bin/java/jdk1.8.0_60

Again, the name after ‘JAVA_HOME=’ might not correspond with your installed Java. To make sure you have the right one, type:

 
1
root@prompt:ls /usr/bin/java

You will 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 not having a proper installation manual for Sencha Cmd for Linux on their website. “Half work done counts as no work done”. 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 an ‘unzip’ installed in Debian Jessie, you can install ‘Ark’ with the Synaptic Package Manager. After that said, you unpack the Sencha Cmd ‘zip’ file. You can do this in the same Downloads folder. It will unpack a file with the .sh extension.

Now go to your terminal prompt and type:

 
1
root@prompt:sh /home//Downloads/Sencha*

Now it will install Sencha Cmd. You will 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
root@prompt:export PATH=/root/bin/Sencha/Cmd/6.0.1.76:$PATH

Make sure that the Sencha version in the PATH corresponds with the one you just installed. Simply type:

 
1
root@prompt:ls /root/bin/Sencha/Cmd

Now it will show you the version you have installed.

If everything has gone well you can now go to your Sencha Ext JS or Touch application folder and type something like “Sencha app watch” or any other Sencha Cmd instruction.

引用:https://www.enovision.net/how-to-install-sencha-cmd-on-debian-jessie/

在Ubuntu系统安装Sencha CMD的更多相关文章

  1. ubuntu系统安装初始化脚本

    ubuntu系统安装初始化脚本 经常安装卸载ubuntu,每次系统安装完成后要安装好多软件,一个个命令输很麻烦浪费时间,一个sh文件全搞定! 1. flashplayer下载:点击这里 2. Auda ...

  2. ubuntu系统安装软件方法

    ubuntu系统安装软件方法 ubuntu下安装软件有三种方式,分别为在线安装apt-get方式,软件商店安装方式和 1. 软件商店安装方式 这种方式对经常使用windows系统的同学来说最为简单,因 ...

  3. mac下使用sencha cmd+extjs6

    笔者刚接手公司一个项目,后台是使用extjs6做前端,php做api接口,两者通过ajax交互 没办法,不管接手的项目多么的挫逼,都还是要上的,拿人钱财替人消灾嘛 首先是安装sencha cmd ,百 ...

  4. 使用sencha cmd 一键生成你的应用程序代码

    一键生成你的应用程序代码: ------------------------------------------------------------ 我们的出发点就是使用命令来产生一个应用程序,执行以 ...

  5. [ExtJS5学习笔记]第三节 sencha cmd学习笔记 生成应用程序构建的内部细节

    本文地址: http://blog.csdn.net/sushengmiyan/article/details/38316829本文作者:sushengmiyan------------------- ...

  6. Sencha Cmd是什么

    Sencha Cmd的简介 ~~~~~~~~~~~~~~~~~~~~~~~ Sencha cmd 是一个跨平台的命令行工具,它从你应用程序的新创建到部署入产品中的整个生命周期都提供了许多自动化的执行任 ...

  7. Ubuntu系统安装配置Pintos和Bochs

    Ubuntu系统安装配置 Pintos 和 Bochs 安装过程 首先是UEFI启动模式下Win8.1安装Ubuntu14.04双系统,由于篇幅过长,就不在这里详写.可见博主的另一篇博客http:// ...

  8. Sencha CMD 4- 安装与首次使用

    哥英文不好,网上搜索好多中文教程都是抄来抄去没有完整的介绍.所以写出来让与我一样的小伙伴惊呆下! 这篇主要是安装,后续慢慢更新 一.Sencha CMD是干啥滴!? 它是服务使用EXTJS SDK开发 ...

  9. 阿里云服务器 ECS Ubuntu系统安装配置

    1. 登陆服务器 系统开通成功后手机会收到阿里云发来的短信,包含公网IP及root登录密码. WEB管理后台方式 可通过阿里云管理后台选择“连接管理终端…”进行登录 提示输入VNC密码 登录成功后显示 ...

随机推荐

  1. shell的date

    使用方式 : date [-u] [-d datestr] [-s datestr] [--utc] [--universal] [--date=datestr] [--set=datestr] [- ...

  2. 【面试必备】Swift 面试题及其答案

    原文:Swift Interview Questions and Answers 原作者:Antonio Bello 原作者介绍: Antonio 拥有丰富的编程经验.他开始编程的时候,内存单位还是 ...

  3. cas 单点登录(SSO)之一: jasig cas-server 安装

    cas 单点登录(SSO)实验之一: jasig cas-server 安装 参考文章: http://my.oschina.net/indestiny/blog/200768#comments ht ...

  4. leetcode【67】-Bulb Switcher

    题目描述: There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off ...

  5. Android群英传笔记——第十章:Android性能优化

    Android群英传笔记--第十章:Android性能优化 随着Android应用增多,功能越来越复杂,布局也越来越丰富了,而这些也成为了阻碍一个应用流畅运行,因此,对复杂的功能进行性能优化是创造高质 ...

  6. SwipeRefreshLayout实现上拉下拉刷新

    1:在布局中添加SwipeRefreshLayout和Listview组件 [html] view plain copy <?xml version="1.0" encodi ...

  7. RHEL6.4上升级python从2.6.6到2.7.3

    RHEL6.4上升级python从2.6.6到2.7.3 原始安装好的redhat6.4上的python版本是2.6.6,不能满足实际需要.升级的方法很多,从源码升级或者从rpm包升级.其中从rpm包 ...

  8. android ListView加载不同布局

    今天来跟大家讨论下同一个ListView如何加载不同的布局. 老规矩,先来看效果图. 主要步骤如下 1.增加Type. 2.重写getViewTypeCount方法. 3.重写getItemViewT ...

  9. java的参数传递与内存分配问题

    本文可作为北京尚学堂java课程的学习笔记. 看下面这段代码. class BirthDate { private int day; private int month; private int ye ...

  10. 测试AtomicInteger与普通int值在多线程下的递增操作

    日期: 2014年6月10日 作者: 铁锚 Java针对多线程下的数值安全计数器设计了一些类,这些类叫做原子类,其中一部分如下: java.util.concurrent.atomic.AtomicB ...