![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
yuleicqut
这个作者很懒,什么都没留下…
展开
-
JAVA vim 开发环境配置
查看linux 是否已经安装JDK 在终端下查看命令$ java -version 1. 首先安装 java JDK http://jingyan.baidu.com/album/86fae346b696633c49121a30.html?picindex=1 可忽略连接中的eclispe安装过程。 主语,/etc/profile的write需要super user 的权限 如原创 2016-05-16 00:24:53 · 3696 阅读 · 0 评论 -
SQL: Java 连接 MySQL
1. 开发环境 - java: Eclipse - MySQL 5.7 - MySQL Connect/J 具体的开发环境搭建就不在这里赘述。 2. 将Eclipse 项目中加入jar (connector J): 项目属性 -> Java Biuld Path -> add external JARs....原创 2016-06-16 16:26:38 · 361 阅读 · 0 评论 -
Java容器集合类的区别用法
转载链接:http://www.cnblogs.com/sunliming/archive/2011/04/05/2005957.html Set,List,Map,Vector,ArrayList的区别 JAVA的容器---List,Map,Set Collection ├List │├LinkedList │├ArrayList │└Vector │ └St转载 2016-09-17 22:41:12 · 330 阅读 · 0 评论 -
JAVA多线程实现
来自: http://blog.csdn.net/aboy123/article/details/38307539 JAVA多线程实现方式主要有三种:继承Thread类、实现Runnable接口、使用ExecutorService、Callable、Future实现有返回结果的多线程。其中前两种方式线程执行完后都没有返回值,只有最后一种是带返回值的。 1、继承Thread类实转载 2016-09-18 22:57:44 · 246 阅读 · 0 评论 -
Eclipse:maven安装与搭建
http://www.cnblogs.com/HD/p/4201847.html转载 2016-09-26 23:01:43 · 301 阅读 · 0 评论 -
maven Hello工程问题:No compiler is provided in this environment. Perhaps you are running on a JRE rath
穿件hello工程,出现以下错误: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 解决办法: http://www.awolau.com/java/eclipse-maven-no-compiler-is-provided.html原创 2016-10-10 00:06:41 · 1578 阅读 · 0 评论 -
正则表达式- 常用汇总
1. 参考:2. 常用:1)替换连续的空 //将字符串中连续的空格去掉 String str = "Hello, world. haha !"; System.out.println(str.replaceAll(" +", " ")); System.out.println(str.replaceAll(" {2,}", " ")); System.out.print原创 2016-12-10 23:23:03 · 464 阅读 · 0 评论