JavaÊä³öJVMºÍ²Ù×÷ϵͳµÄÏà¹ØÊôÐÔ zz
Ö÷ÒªÊÇÀûÓÃJavaÌṩµÄutil°üÖеÄPropertiesÀà¡£·Ï»°²»¶à˵£¬Ö±½Ó¿´´úÂ룺
view plaincopy to clipboardprint?
import java.util.*;
public class YourJavaProperties {
public static void main(String args[]){
Properties props=System.getProperties();
System.out.println("JavaµÄÔËÐл·¾³°æ±¾£º"+props.getProperty("java.version"));
System.out.println("JavaµÄÔËÐл·¾³¹©Ó¦ÉÌ£º"+props.getProperty("java.vendor"));
System.out.println("Java¹©Ó¦É̵ÄURL£º"+props.getProperty("java.vendor.url"));
System.out.println("JavaµÄ°²×°Â·¾¶£º"+props.getProperty("java.home"));
System.out.println("JavaµÄÐéÄâ»ú¹æ·¶°æ±¾£º"+props.getProperty("java.vm.specification.version"));
System.out.println("JavaµÄÐéÄâ»ú¹æ·¶¹©Ó¦ÉÌ£º"+props.getProperty("java.vm.specification.vendor"));
System.out.println("JavaµÄÐéÄâ»ú¹æ·¶Ãû³Æ£º"+props.getProperty("java.vm.specification.name"));
System.out.println("JavaµÄÐéÄâ»úʵÏÖ°æ±¾£º"+props.getProperty("java.vm.version"));
System.out.println("JavaµÄÐéÄâ»úʵÏÖ¹©Ó¦ÉÌ£º"+props.getProperty("java.vm.vendor"));
System.out.println("JavaµÄÐéÄâ»úʵÏÖÃû³Æ£º"+props.getProperty("java.vm.name"));
System.out.println("JavaÔËÐÐʱ»·¾³¹æ·¶°æ±¾£º"+props.getProperty("java.specification.version"));
System.out.println("JavaÔËÐÐʱ»·¾³¹æ·¶¹©Ó¦ÉÌ£º"+props.getProperty("java.specification.vender"));
System.out.println("JavaÔËÐÐʱ»·¾³¹æ·¶Ãû³Æ£º"+props.getProperty("java.specification.name"));
System.out.println("JavaµÄÀà¸ñʽ°æ±¾ºÅ£º"+props.getProperty("java.class.version"));
System.out.println("JavaµÄÀà·¾¶£º"+props.getProperty("java.class.path"));
System.out.println("¼ÓÔØ¿âʱËÑË÷µÄ·¾¶ÁÐ±í£º"+props.getProperty("java.library.path"));
System.out.println("ĬÈϵÄÁÙʱÎļþ·¾¶£º"+props.getProperty("java.io.tmpdir"));
System.out.println("Ò»¸ö»ò¶à¸öÀ©Õ¹Ä¿Â¼µÄ·¾¶£º"+props.getProperty("java.ext.dirs"));
System.out.println("²Ù×÷ϵͳµÄÃû³Æ£º"+props.getProperty("os.name"));
System.out.println("²Ù×÷ϵͳµÄ¹¹¼Ü£º"+props.getProperty("os.arch"));
System.out.println("²Ù×÷ϵͳµÄ°æ±¾£
Ïà¹ØÎĵµ£º
Ò»£º×¼±¸ www.savarese.org download
1. rocksaw-1.0.0-src.tar.gz
2. vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
1. build vserv-tcpip-0.9.2-src
ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃ潨һ¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......
Õý³£±àÒëÔËÐÐjavaÎļþ¿Ï¶¨Òª±¾µØÏÂÔØjdkºÍjre»òÕßʹÓü¯³ÉIDE(Eclipse,NetBeans)£¬Õâ¸öÍøÕ¾¸É´à½«±àÒ빤×÷·Åµ½·þÎñÆ÷ÉÏÈ¥£¬ÈÃÄã¿ÉÒÔÔÚÏß±àÒ룬
µÃ³ö´íÎóÐÅÏ¢£¬¸üÄѵõÄÊÇ»¹¿ÉÔËÐУ¬µ±È»²»ÄÜ×öͼÐκÍÎļþ²Ù×÷£¬ÒòΪËüÔËÐÐÔÚ·þÎñÆ÷¶Ë¡£
꿅᣼http://youjavait.com/
Ò³ÃæÉÏ·ÖΪÉÏÏÂÁ½¸öÃæ°å£¬ÓеãÀàËÆEclipse¡£±àÒëÊ ......
ÎÊÌâÒ»£ºÈç±£¼ÓÔØJDBCÇý¶¯³ÌÐò£º
¡¡¡¡Õý³£ÎÒÃǼÓÔØÇý¶¯³ÌÐòÓÐÈý¸ö;¾¶£º
¡¡¡¡1£©Class.forName(String)ÕâÏëµ±ÓÚclassLoaderÒ»¸öStringÖ¸¶¨µÄÀ࣬ÔÚ×°ÔØʱ°Ñ¸ÃÇý¶¯³ÌÐòµÄ¾²Ì¬ÄÚÈݶ¼³õʼ»¯£¬ÆäʵÕâʱÇý¶¯³ÌÐòÀàµ÷ÓÃÁËDriverManager.registerDriver(driver)·½·¨
¡¡¡¡2£©Ê¹ÓÃϵͳÊôÐÔ£ºSystem.getProperty().load(new Fil ......
ÔÚJAVAÖеÄSQL Óï¾äµÄ±àд·½Ã棬ûÓÐʹÓÃORACLE °ó¶¨±äÁ¿£¬ºÜ´ó³Ì¶ÈÉϽµµÍÁËÊý¾Ý¿âµÄÐÔÄÜ£¬±íÏÖÔÚÁ½¸ö·½Ã棺
1¡¢SQLÓï¾äÓ²·ÖÎö(Hard Parse)Ì«¶à£¬ÑÏÖØÏûºÄCPU×ÊÔ´£¬ÑÓ³¤ÁËSQLÓï¾ä×ܵÄÖ´ÐÐʱ¼ä
SQLÓï¾äµÄÖ´Ðйý³Ì·Ö¼¸¸ö²½Ö裺Óï·¨¼ì²é¡¢·ÖÎö¡¢Ö´ÐС¢·µ»Ø½á¹û¡£ÆäÖзÖÎöÓÖ·ÖΪӲ·ÖÎö(Hard Parse)ºÍÈí·ÖÎö(Soft Pars ......
JavaÓëTSCÌõÐÎÂë´òÓ¡»ú(Ðø)
ÓÖ³öÏÖÁ½¸öÎÊÌâ:
1,sendcommandÃüÁîʹÓò¿·Ö³É¹¦£¬¿ÉÒÔÉèÖÃdirection 1,1ʹ´òÓ¡Ò³ÍêÈ«¾µÃ棬µ«ÊÇÈ´²»ÄÜʹÓÃcircle´òÓ¡³öԲȦȦ¡£
2£¬ÓÖÒ»´ÎÔÔµ½ÁËlinux-windowsÊÖÀÔÚwindows¿ª·¢Íê³Éºó£¬linux²»ÄÜʶ±ðtsclib.dll¡£ÔΣ¡
3£¬
×öjava-tsc´òÓ¡ÌõÐÎÂëÓöµ½Á˺ܶàÀ§ÄÑ£¬ÍøÉÏ×ÊÁϲ»Ò ......