Time of Update: 2015-01-04
標籤:linux上 java 使用 javasqlitehttp://www.ch-werner.de/javasqlite/1) 下載:http://www.ch-werner.de/javasqlite/javasqlite-20140624.tar.gz2) 解壓後進入目錄編譯$ cd javasqlite-20140624$ ./configure$ make3) 拷貝libsqlite_jni.so到/usr/lib64目錄$ sudo cp
Time of Update: 2014-12-28
標籤:java.lang.IllegalAccessError: tried to access field org.slf4j.impl.Static.. java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory 使用hbm2java時,使用hibernate-distribution-
Time of Update: 2014-12-19
標籤:jdbc sqlserver classnotfoundexcepti sql2008 用記事本寫了一支java程式,串連SQL Server
Time of Update: 2014-12-18
標籤:style blog http ar io color os sp for 一:前言
Time of Update: 2014-12-14
標籤:http io ar os sp for java on 資料 1. MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jar 
Time of Update: 2014-12-10
標籤:des style blog io ar color os sp for
Time of Update: 2014-11-19
標籤:java<pre name="code" class="java">import java.lang.reflect.Field;import java.lang.reflect.Modifier;import java.util.List;import java.util.Vector;import org.apache.commons.lang3.reflect.FieldUtils;/** * @author Gary Huang
Time of Update: 2014-11-21
標籤:java mysql hadoop 資料庫 首先,插入到DB的資料,在Linux下查詢的時候,欄位顯示為??。再次,在windows串連到db上,查看的結果並不是亂碼。修改Eclipse軟體中的編碼:如:windows菜單-》preference-》general-》content
Time of Update: 2014-11-17
標籤:blog http io ar os 使用 sp java for 解決:問穀老師得知是microsoft提供的資料庫驅動存在bug。需要換一種驅動串連,使用jtds(:http://so
Time of Update: 2014-10-22
標籤:style blog color io os ar 使用 java for RandomAccessFile
Time of Update: 2014-09-29
標籤:style blog http color io 使用 ar java 資料 LinkedBlockingQueue是一個鏈表實現的阻塞隊列,在鏈表一頭加入元素,如果隊列滿,就會阻塞,另一
Time of Update: 2014-09-27
標籤:swing java sqlserver2005 酒店管理系統 原始碼下載 原文:Java+Swing+SQL+Server2005開發酒店管理系統原始碼下載原始碼下載:http://www.zuidaima.com/share/1550463421680640.htm酒店管理系統+Java
Time of Update: 2014-09-25
標籤:des style blog http color io os 使用 java 一、引言 近年來,隨著 Internet/Intranet
Time of Update: 2014-09-26
標籤:style blog color java 資料 sp 問題 c log 最近做程式,時不時需要自己去手動將sql語句直接寫入到Java代碼中,寫入sql語句時,需要注意幾個小問題。
Time of Update: 2014-09-22
標籤:blog io os java ar for 資料 div sp # 樣本配置參考,涵蓋幾乎所有的主流資料庫############# Oracle資料庫 ################
Time of Update: 2014-10-22
標籤:http io java strong sp on ad bs sql Exception
Time of Update: 2014-12-31
標籤:1.判斷路徑是檔案還是目錄File subDir=new File("c:\\mp3");if(subDir.isDirectory()){ // 是目錄}File mp3=new File("c:\\mp3\\avemaria.mp3"); if(mp3.isFile()){ // 是檔案}2.列出目錄下的檔案和子目錄File dir = new File(fromDir);String[] children =
Time of Update: 2015-01-06
經常遇到的java.lang.OutOfMemoryError:unabletocreatenewnativethread解決方案簡單分享一下,類似問題的解決方案剛才在某機器上上xxx使用者下壓測時遇到這個問題,連xxx都進不去了說明xxx使用者下無法建立跟多的線程了(當然root使用者沒這個問題) 系統能夠建立的最大線程數:(MaxProcessMemory - JVMMemory – 系統記憶體) / (ThreadStackSize) = Number of
Time of Update: 2015-01-03
java.io.FileNotFoundException: /opt/apache-tomcat-7.0.57/conf/server.xml (許可權不夠),tomcat7.0.571 錯誤描述youhaidong@youhaidong:~$ cd /opt/apache-tomcat-7.0.57youhaidong@youhaidong:/opt/apache-tomcat-7.0.57$ bin/startup.shUsing CATALINA_BASE: /opt/apache-
Time of Update: 2014-11-05
Java開發人員最常用19個Linux命令,java開發19linux1.尋找檔案find / -name filename.txt根據名稱尋找/目錄下的filename.txt檔案。2.查看一個程式是否運行ps –ef|grep tomcat查看所有有關tomcat的進程3.終止線程kill -9 19979終止線程號位19979的線程4.查看檔案,包含隱藏檔案ls -al5.當前工作目錄pwd6.複製檔案包括其子檔案到自定目錄cp -r sourceFolder targetFolder7.