eclipse升级adt后发现ant选项和error的等都没有,ant包含在Java Development Tools (JDT)中,查看发现jdt真的没有安装。具体办法是:到menu-help-instal
new software workwith:选择--All Available Sites--,找到program languages 下的eclipse java developme...
分类:
其他好文 时间:
2014-08-07 15:58:10
阅读次数:
264
request.getServletContext().getRealPath("/") 获取项目所在服务器的全路径,如:D:\Program Files\apache-tomcat-7.0.25\webapps\TestSytem
request.getServletPath() 获取客户端请求的路径名,如:/object/delObject
request.getServ...
分类:
编程语言 时间:
2014-08-07 15:57:00
阅读次数:
346
Windows 64位程序编译及检测
1、64位程序编译
采用vs2010可以比较方便的编译出64位的程序。
调整编译配置为x64即可。
配置完成,编译出来的程序即为64位。
2、64位程序检测
检测一个程序是否为64位,可以采用dumpbin工具,这是vs自带的小工具。
步骤如下。
对应命令依次是:
进入vc目录:cd D:\Program File...
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example, Given n = 3, your program should return all...
分类:
其他好文 时间:
2014-08-07 00:16:36
阅读次数:
276
设置方法:我的电脑->属性->高级->环境变量->系统变量中添加以下环境变量:JAVA_HOME值为:安装JDK的目录, 我的为C:\Program Files\Java\jdk1.8.0_05(安装时候有路径选择,复制下来即可)CLASSPATH值为:.;%JAVA_HOME%\lib\tools...
分类:
移动开发 时间:
2014-08-06 21:55:42
阅读次数:
371
win7系统 Jdk版本1.6用鼠标右击“我的电脑”->属性->高级->环境变量系统变量->新建->变量名:JAVA_HOME 变量值:D:\Program Files\Java\jdk1.6.0_12(这只是我的JDK安装路径)( 告诉计算机 JDK 安装路径 )系统变量->编辑->变量名:P.....
分类:
编程语言 时间:
2014-08-06 21:53:42
阅读次数:
223
using System;
namespace ConsoleApp
{
class Program
{
static void Main()
{
A a = new B();
Console.ReadKey();
}
}
class A
{
i...
分类:
其他好文 时间:
2014-08-06 19:14:52
阅读次数:
229
开启tomcat时出现以上错误// 进入root帐户 在普通用户也可以sudo -s//用编辑器打开.bashrc文件gedit .bashrc 在普通用户下注意加上sudo//在最后一行添加环境变量(文件位置根据自己的实际情况)JAVA_HOME=/usr/local/java/jdk1.7.0_...
分类:
编程语言 时间:
2014-08-06 18:21:13
阅读次数:
519
A Puzzling Problem The goal of this problem is to write a program which will take from 1 to 5 puzzle pieces such as those shown below and arrange them...
分类:
其他好文 时间:
2014-08-06 17:22:51
阅读次数:
253
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace RTSP_Digest_Authentication
{
class Program
{
///
...
分类:
其他好文 时间:
2014-08-06 11:53:01
阅读次数:
365