安装:

wget -O adobe-air.sh http://drive.noobslab.com/data/apps/AdobeAir/adobe-air.sh
chmod +x adobe-air.sh;sudo ./adobe-air.sh

卸载:

sudo apt-get autoremove adobeair

说明:

在Linux下Adobe AIR官方已经明确不支持2.7版本,但是能安装2.6版本的,所以有一些程序还是无法使用。慎重考虑再安装。

adobe-air.sh:

#!/bin/bash
#Script written by Umair <umair@noobslab.com> Mon, 08 Sep 2014 02:24:08 +0200
#Updated on Tue, 18 Oct 2016 10:31:08 +0200
#Site: http://www.NoobsLab.com
if [ $EUID -ne 0 ]; then
echo "AdobeAir installation script must be run as root. (Hint: use sudo)" 1>&2
exit 1
fi
echo "
This script is only for Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`/`printf "\e[32m15.10 Wily"``echo -e "\033[0m"`/`printf "\e[32m15.04 Vivid"``echo -e "\033[0m"`/`printf "\e[32m14.04 Trusty"``echo -e "\033[0m"`/`printf "\e[32m12.04 Precise"``echo -e "\033[0m"` and Linux Mint `printf "\e[32m17.x"``echo -e "\033[0m"`/`printf "\e[32m17"``echo -e "\033[0m"`/`printf "\e[32m13"``echo -e "\033[0m"`
"
CHKVer=`/usr/bin/lsb_release -rs`
TVer=`/usr/bin/lsb_release -rs`
echo "Checking your OS version..."
CHKArch=`uname -m`
echo "Checking your system architecture"
sleep 1
echo ""
if [ $CHKVer = "14.04" ] || [ $CHKVer = "17" ]; then
#For Ubuntu 14.04 64bit
if [ $CHKArch = "x86_64" ]; then
if [ $TVer = "14.04" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17" ]; then
echo "You are running Linux Mint `printf "\e[32m17 Qiana"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 14.04 32bit
elif [ $CHKArch = "i686" ]; then
if [ $TVer = "14.04" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17" ]; then
echo "You are running Linux Mint `printf "\e[32m17 Qiana"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "14.04.1" ] || [ $CHKVer = "17.1" ]; then
#For Ubuntu 14.04.1 64bit
if [ $CHKArch = "x86_64" ]; then
if [ $TVer = "14.04.1" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04.1 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17.1" ]; then
echo "You are running Linux Mint `printf "\e[32m17.1 Rebecca"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 14.04.1 32bit
elif [ $CHKArch = "i686" ]; then
if [ $TVer = "14.04.1" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04.1 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17.1" ]; then
echo "You are running Linux Mint `printf "\e[32m17.1 Rebecca"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "14.04.2" ] || [ $CHKVer = "17.2" ]; then
#For Ubuntu 14.04.2 64bit
if [ $CHKArch = "x86_64" ]; then
if [ $TVer = "14.04.2" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04.2 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17.2" ]; then
echo "You are running Linux Mint `printf "\e[32m17.2"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 14.04.2 32bit
elif [ $CHKArch = "i686" ]; then
if [ $TVer = "14.04.2" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04.2 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17.2" ]; then
echo "You are running Linux Mint `printf "\e[32m17.2"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "14.04.3" ] || [ $CHKVer = "17.3" ]; then
#For Ubuntu 14.04.3 64bit
if [ $CHKArch = "x86_64" ]; then
if [ $TVer = "14.04.3" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04.3 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17.3" ]; then
echo "You are running Linux Mint `printf "\e[32m17.3"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 14.04.3 32bit
elif [ $CHKArch = "i686" ]; then
if [ $TVer = "14.04.3" ]; then
echo "You are running Ubuntu `printf "\e[32m14.04.3 Trusty"``echo -e "\033[0m"`"
elif [ $TVer = "17.3" ]; then
echo "You are running Linux Mint `printf "\e[32m17.3"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "16.04" ] || [ $CHKVer = "18" ]; then
#For Ubuntu 16.04 64bit and Linux Mint 18
if [ $CHKArch = "x86_64" ]; then if [ $TVer = "16.04" ]; then
echo "You are running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`"
elif [ $TVer = "18" ]; then
echo "You are running Linux Mint `printf "\e[32m18"``echo -e "\033[0m"`"
fi
#echo "You are running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`" echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 libnss-mdns:i386 libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 16.04 32bit and Linux Mint 18
elif [ $CHKArch = "i686" ]; then
echo "You are running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`"
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "16.04.1" ] || [ $CHKVer = "18.1" ]; then
#For Ubuntu 16.04.1 64bit and Linux Mint 18.1
if [ $CHKArch = "x86_64" ]; then if [ $TVer = "16.04.1" ]; then
echo "You are running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`"
elif [ $TVer = "18.1" ]; then
echo "You are running Linux Mint `printf "\e[32m18"``echo -e "\033[0m"`"
fi
#echo "You are running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`" echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 libnss-mdns:i386 libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 16.04.1 32bit and Linux Mint 18.1
elif [ $CHKArch = "i686" ]; then
echo "You are running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`"
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "15.10" ]; then
#For Ubuntu 15.10 64bit
if [ $CHKArch = "x86_64" ]; then
echo "You are running Ubuntu `printf "\e[32m15.10 Wily"``echo -e "\033[0m"`"
echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 15.10 32bit
elif [ $CHKArch = "i686" ]; then
echo "You are running Ubuntu `printf "\e[32m15.10 Wily"``echo -e "\033[0m"`"
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "15.04" ]; then
#For Ubuntu 15.04 Vivid 64bit
if [ $CHKArch = "x86_64" ]; then
echo "You are running Ubuntu `printf "\e[32m15.04 Vivid"``echo -e "\033[0m"`"
echo "Installing dependencies..."
sleep 1
apt-get install libxt6:i386 libnspr4-0d:i386 libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libgnome-keyring0:i386 libxaw7
echo "Linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 15.04 Vivid 32bit
elif [ $CHKArch = "i686" ]; then
echo "You are running Ubuntu `printf "\e[32m15.04 Vivid"``echo -e "\033[0m"`"
echo "Installing dependencies..."
sleep 1
apt-get install libgtk2.0-0 libxslt1.1 libxml2 libnss3 libxaw7 libgnome-keyring0
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi elif [ $CHKVer = "12.04" ] || [ $CHKVer = "13" ]; then
#Ubuntu 12.04 32bit
if [ $CHKArch = "i686" ]; then
if [ $TVer = "12.04" ]; then
echo "You are running Ubuntu `printf "\e[32m12.04 Precise"``echo -e "\033[0m"`"
elif [ $TVer = "13" ]; then
echo "You are running Linux Mint `printf "\e[32m13 Maya"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install libhal-storage1 libgnome-keyring0 libgnome-keyring0 libgtk2.0-0 libxslt1.1 libxml2
echo "Linking files..."
echo "."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
#Ubuntu 12.04 64bit
elif [ $CHKArch = "x86_64" ]; then
if [ $TVer = "12.04" ]; then
echo "You are running Ubuntu `printf "\e[32m12.04 Precise"``echo -e "\033[0m"`"
elif [ $TVer = "13" ]; then
echo "You are running Linux Mint `printf "\e[32m13 Maya"``echo -e "\033[0m"`"
fi
echo "Installing dependencies..."
sleep 1
apt-get install ia32-libs lib32nss-mdns libhal-storage1 libgnome-keyring0 libgnome-keyring0 libgtk2.0-0 libxslt1.1 libxml2
echo "Symbolic linking files..."
echo "."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
echo ".."
ln -sf /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
fi else
echo "You are not running Ubuntu `printf "\e[32m16.04 Xenial"``echo -e "\033[0m"`/`printf "\e[32m15.10 Wily"``echo -e "\033[0m"`/`printf "\e[32m15.04 Vivid"``echo -e "\033[0m"`/`printf "\e[32m14.04 Trusty"``echo -e "\033[0m"`/`printf "\e[32m12.04 Precise"``echo -e "\033[0m"`, or Linux Mint `printf "\e[31m17.x"``echo -e "\033[0m"`/`printf "\e[31m13 Maya"``echo -e "\033[0m"`"
sleep 1
echo "Exiting..."
exit 1
fi echo "Downloading AdobeAir Installer from Adobe site"
sleep 1
wget -O AdobeAIRInstaller.bin http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
echo "Making installer executable"
sleep 1
chmod +x AdobeAIRInstaller.bin
echo "Now running AdobeAir installer"
./AdobeAIRInstaller.bin
echo "Removing installer file and unlinking symbolic files"
rm AdobeAIRInstaller.bin
rm /usr/lib/libgnome-keyring.so.0
rm /usr/lib/libgnome-keyring.so.0.2.0
echo ""
echo "Keep visit on http://www.NoobsLab.com
"
sleep 1
exit 1

参考:

http://www.noobslab.com/2015/05/adobeair-is-now-available-for-ubuntu.html

https://askubuntu.com/questions/481709/adobe-air-install-problem-ubuntu-x64-14-04

Ubuntu 16.04安装Adobe AIR的更多相关文章

  1. CT ubuntu 16.04安装 adobe flash player

    sudo apt-get  install flashplugin-installer chrome 升级 chrome://chrome-urls/ chrome://components/ 找到A ...

  2. ubuntu 16.04安装adobe reader

    终端输入:wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb s ...

  3. Ubuntu 16.04 安装 Kodi v17 “Krypton” Alpha 2

    Ubuntu 16.04 安装 Kodi v17 “Krypton” Alpha 2:sudo add-apt-repository ppa:team-xbmc/xbmc-nightlysudo ap ...

  4. Ubuntu 16.04安装QQ国际版图文详细教程

            因工作需要,我安装了Ubuntu 16.04,但是工作上的很多事情需要QQ联系,然而在Ubuntu上的WebQQ很是不好用,于是在网上搜索了好多个Linux版本的QQ,然而不是功能不全 ...

  5. Ubuntu 16.04 安装Mysql 5.7 踩坑小记

    title:Ubuntu 16.04 安装Mysql 5.7 踩坑小记 date: 2018.02.03 安装mysql sudo apt-get install mysql-server mysql ...

  6. Ubuntu 16.04安装Matlab 2016b教程

    由于代码需要依赖Linux环境,只好尝试着装MATLAB,然而各种问题接踵而至,开始了由MATLAB引发的三天Linux探寻之旅-- 下载Matlab 2016b for Linux https:// ...

  7. ubuntu 16.04 安装 tensorflow-gpu 包括 CUDA ,CUDNN,CONDA

    ubuntu 16.04 安装 tensorflow-gpu 包括 CUDA ,CUDNN,CONDA 显卡驱动装好了,如图: 英文原文链接: https://github.com/williamFa ...

  8. ROS_Kinetic_01 在ubuntu 16.04安装ROS Kinetic 2017.01更新

    ROS_Kinetic系列学习(一),在ubuntu 16.04安装ROS Kinetic. Celebrating 9 Years of ROS! ubuntu16.04已经发布半年多了,ROS的K ...

  9. Ubuntu 16.04 安装 VMware Tools(解决windows和Ubuntu之间不能互相复制粘贴文件的问题)

    Ubuntu 16.04安装虚拟工具VMware Tools,指的是在虚拟机VMWare安装Ubuntu 16.04后再安装VMware Tools的过程.很多人接触Linux都是从虚拟机开始,而安装 ...

随机推荐

  1. 386 Lexicographical Numbers 字典序排数

    给定一个整数 n, 返回从 1 到 n 的字典顺序.例如,给定 n =1 3,返回 [1,10,11,12,13,2,3,4,5,6,7,8,9] .请尽可能的优化算法的时间复杂度和空间复杂度. 输入 ...

  2. 实现div左右上下都居中

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  3. 2017-12-04HTML布局_div布局

    HTML布局_div布局 <!doctpye> <html> <head> <meta charset = 'utf-8'> <title> ...

  4. Jmeter接口测试---get和post及解决乱码问题

    Jmeter接口测试---get请求 1.创建一个线程组 测试计划---添加---Threads ---线程组 2.添加http请求,步骤如下图所示: 3.添加带有参数的get请求,如下图展示内容: ...

  5. Java运行报错问题——Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook

    http://blog.csdn.net/xifeijian/article/details/8830933 上述这个朋友博文提醒,可能是因为其他软件添加了JAVA_HOME的路径造成冲突.但他支持删 ...

  6. Android开发: 关于性能需要考虑的

    刚做Android开发时,只管完成任务,将需求完成,以能完成一款界面酷炫的app为自豪.然而,随着代码量的增加,越来越意识到,一款成功的移动端产品,光有酷炫的外衣还不够,还需要在各方面都优秀. 试想, ...

  7. oracle插入字符串数据时,字符串中有'单引号

    使用insert into(field1,field2...) values('val1','val2'...)时,若值中有单引号时会报错. 处理方法:判断一下val1,val2中是否含有单引号,若含 ...

  8. (转)Hibernate框架基础——多对多关联关系映射

    http://blog.csdn.net/yerenyuan_pku/article/details/52756536 多对多关联关系映射 多对多的实体关系模型也是很常见的,比如学生和课程的关系.一个 ...

  9. MFC_2.7 树控件的基本使用

    树控件的基本使用 1.添加控件设置变量绑定 2.添加数据 HTREEITEM RootNode1 = m_TreeCtrl.InsertItem(L"北京"); HTREEITEM ...

  10. nginx平滑升级实战

    Nginx 平滑升级 1.查看旧版Nginx的编译参数 [root@master ~]# /usr/local/nginx/sbin/nginx -V [root@master ~]# ll ngin ...