- 浏览: 8137 次
- 性别:
- 来自: 北京
-
最近访客 更多访客>>
最新评论
-
coder_hero:
有些都忘记了!借此温习一下
java中各种排序 -
joachimz:
感觉应该waitFor()等待,另一个线程同步去读取Input ...
java调用Oracle EXP -
Godlikeme:
不知道有fileutil, ioutil这样的东东么?
Java对各种文件的操作详解
文章列表
VirtualBox中CentOS-6.3-x86_64-minimal静默Silent安装oracle11g2
原文地址 http://sy1214.iteye.com/blog/1808028
一、安装环境
虚拟机VirtualBox,内存分配了2G,空间分配了20G
系统CentOS-6.3-x86_64-minimal
Oracle版本linux.x64_11gR2_database
下载地址 https://www.oracle.com/cn/database/enterprise-edition/downloads/oracle-db11g-linux.html
...
今天碰见一到一个很郁闷的事情,当使用mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app来创建一个新项目时,有时候会出现以下错误:解决过程如下:
[INFO] Scanning for projects...[INFO] Searching repository for plugin with prefix: 'archetype'.[INFO]-------------------------------------------------------------------------- ...
插入排序:
package org.rut.util.algorithm.support;
import org.rut.util.algorithm.SortUtil;
/**
* @author treeroot
* @since 2006-2-2
* @version 1.0
*/
public class InsertSort implements SortUtil.Sort{
/* (non-Javadoc)
* @see org.rut.util.algorithm.SortUtil.Sort#sort(int[])
...
英文全称是:Java Naming and Directory Interface
术语解释:一组帮助做多个命名和目录服务接口的API。
JNDI(Java Naming and Directory Interface)是SUN公司提供的一种标准的Java命名系统接口,JNDI提供统一的客户端API,通过不同的访问提供者接口JNDI ...
java调用Oracle EXP
- 博客分类:
- 数据库
一眼看过去相信大家都知道用Runtime.getRuntime().exec来调用,我的需求就是:调用Oracle EXP命令完成备份,并返回生成的备份文件名,这个备份文件会很快在其他的地方被使用。采用Runtime.getRuntime().exec我们都知道,需要处理它的InputStream,以避免出现执行的命令输出的信息过多使得进程被堵死,OK,按照这样的方法,开写:
String[] cmds = new String[ 3 ]; cmds[ 0 ] = " cmd " ; cmds[ 1 ] = " /C " ; cmds[ 2 ] = &q ...
java中提供了io类库,可以轻松的用java实现对文件的各种操作。下面就来说一下如何用java来实现这些操作。 新建目录<%@ page contentType="text/html;charset=gb2312"%><%//String URL = request.getRequestURI();String filePath="C:\\测试\\";filePath=filePath.toString();//中文转换java.io.File myFilePath=new java.io.File(filePath);if(!myFi ...