第一步:查看Linux自带的JDK是否已安装
安装好的CentOS会自带OpenJdk,用命令 java -version ,会有下面的信息:
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
最...
分类:
编程语言 时间:
2015-03-10 12:09:59
阅读次数:
171
正在设置 install-info (5.2.0.dfsg.1-2) ...
/etc/environment: line 2: CLASS_PATH: command not found
dpkg: error processing package install-info (--configure):
子进程 已安装 post-installation 脚本 返回了错误号 127
E: Su...
分类:
其他好文 时间:
2015-03-10 12:09:22
阅读次数:
191
The JRE was not found in directory C:\PROGRA~1\Java\jdk1.6.0_20. (JAVA_HOME)
Please edit your environment and set the JAVA_HOME
variable to point to the root directory of your Java installation. ...
分类:
Web程序 时间:
2015-03-09 16:18:23
阅读次数:
13964
Java语言: JDK(Java Development Kit)开发工具包,提供Java的开发环境和运行环境 --> 适合于开发 JRE(Java Runtime Environment)Java运行时环境,包含Java虚拟机(JVM) --> 适合于运行 Java代码在JDK下编译,会生成...
分类:
编程语言 时间:
2015-03-06 22:10:05
阅读次数:
371
在学习进程控制相关知识之前,我们需要了解一个单进程的运行环境。本章我们将了解一下的内容:程序运行时,main函数是如何被调用的;命令行参数是如何被传入到程序中的;一个典型的内存布局是怎样的;如何分配内存;程序如何使用环境变量;程序终止的各种方式;跳转(longjmp和setjmp)函数的工作方式,以...
分类:
系统相关 时间:
2015-03-06 22:01:31
阅读次数:
390
import java.io.ByteArrayOutputStream;import java.io.File;import android.net.Uri;import android.os.Bundle;import android.os.Environment;import andro...
分类:
其他好文 时间:
2015-03-05 14:19:04
阅读次数:
148
原文网址:http://source.android.com/source/initializing.htmlInitializing a Build EnvironmentIN THIS DOCUMENTChoosing a BranchSetting up a Linux build envir...
分类:
移动开发 时间:
2015-03-05 00:17:03
阅读次数:
255
Wikipedia对闭包的定义是这样的: In computer science, a closure is a function together with a referencing environment for the nonlocal names (free variables) of t...
分类:
Web程序 时间:
2015-03-05 00:08:55
阅读次数:
160
作者:zhanhailiang 日期:2015-03-04
$_ENV 值是从 PHP 解析器的运行环境导入到 PHP 的全局命名空间。比如,php-cli模式执行,读取当前用户环境变量;php-fpm模式初始化时,读取当前用户环境变量;
1. 通过 修改系统级、用户级配置文件 设置环境变量
通过 /etc/profile, /etc/environment, ~/.profi...
分类:
Web程序 时间:
2015-03-04 21:04:51
阅读次数:
364
上篇说到一个很重要的函数initContextIfNeeded,这里专门来分析下这个函数:
// Create a new environment and setup the global object.
//
// The global object corresponds to a DOMWindow instance. However, to
// allow properties...
分类:
其他好文 时间:
2015-03-03 15:11:50
阅读次数:
168