java ͨ¹ýSystem.getProperties()»ñȡϵͳ²ÎÊý
java ͨ¹ýSystem.getProperties()»ñȡϵͳ²ÎÊý
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"));
&
Ïà¹ØÎĵµ£º
ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1 List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......
Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......
×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects. ......
http://xxw8393.blog.163.com/blog/static/3725683420091023535411/
Java µÄ³öÏÖ¸ø´ó¼Ò¿ª·¢´øÀ´µÄ¼«´óµÄ·½±ã¡£µ«ÊÇ£¬Èç¹ûÎÒÃÇÓдóÁ¿ÔÓеľ¹ý¹ã·º²âÊԵķÇJava´úÂ룬½«ËüÃÇÈ«²¿ÓÃJavaÀ´ÖØд£¬¿ÖÅ»á´øÀ´¾Þ´óµÄ¹¤×÷Á¿ºÍ³¤ÆڵIJâÊÔ£»Èç¹ûÎÒÃǵÄÓ¦ÓÃÖÐÐèÒª·ÃÎʵ½Ìض¨µÄÉ豸£¬ÉõÖÁÊǽö·ûºÏ¹«Ë¾ÄÚ²¿ÐÅÏ¢½»»¥¹æ·¶µÄÉ豸 ......
1¡¢Êä³öÖÐÎÄ¡£
JAVAÔÚÍøÂç´«ÊäÖÐʹÓõıàÂëÊÇ"ISO-8859-1"£¬¹ÊÔÚÊä³öʱÐèÒª½øÐÐת»¯£¬È磺
String str="ÖÐÎÄ";
str=new String(str.getBytes("GB2312"),"8859_1");
µ«Èç¹ûÔÚ±àÒë³ÌÐòʱ£¬Ê¹ÓõıàÂëÊÇ“GB2312”,ÇÒÔÚÖÐÎÄƽ̨ÉÏÔËÐд˳ÌÐò£¬²»»á³öÏÖ´ËÎÊÌ⣬һ¶¨Òª×¢Òâ¡£
2¡¢´Ó²ÎÊýÖжÁÈ¡ÖÐÎÄ
ÕâÕýºÃÓëÊä³öÏ ......