update java alternatives ¸ü¸ÄĬÈÏJava»·¾³
Ubuntu/debian ¸ü¸ÄĬÈÏJava»·¾³
ÎҵĵçÄÔÀï°²×°ÁËÁ½¸ö°æ±¾µÄJava£¬Ò»¸öÊÇjava-6-sun£¬»¹ÓÐÒ»¸öÊÇjava-gcj
gcjÊÇÔÚJVM·Ç³£»ºÂýµÄʱºòµ®ÉúµÄ£¬Ëû¿ÉÒÔ°ÑJava´úÂë±àÒë³É±¾µØ´úÂë £¬¹ØÓÚgcjÔÝÇÒ˵Õâô¶à£¬»Øµ½Ö÷Ìâ¡£
ÐÞ¸ÄĬÈÏjava»·¾³Óõ½ÃüÁîupdate-java-alternatives
1¡¢Ê¹ÓÃupdate-java-alternatives -l²é¿´Ä¿Ç°ÒѾ°²×°ÔÚϵͳÀïµÄJava°æ±¾
$ update-java-alternatives -l
java-6-sun 63 /usr/lib/jvm/java-6-sun
java-gcj 1042 /usr/lib/jvm/java-gcj
2¡¢Ê¹ÓÃupdate-java-alternatives -s <jname>ÉèÖÃĬÈÏjava°æ±¾£¬jnameÊÇͨ¹ýupdate-java-alternatives -lÃüÁî²éѯ³öÀ´µÄ¡£ÀýÈçÎÒҪʹÓÃsun jdk×÷ΪĬÈÏjava»·¾³£¬¾ÍÊäÈëÈçÏÂÃüÁ
$ sudo update-java-alternatives -s java-6-sun
[sudo] password for leo:
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/appletviewer”À´Ìṩ“appletviewer”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/apt”À´Ìṩ“apt”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/extcheck”À´Ìṩ“extcheck”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/HtmlConverter”À´Ìṩ“HtmlConverter”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/idlj”À´Ìṩ“idlj”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jarsigner”À´Ìṩ“jarsigner”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jar”À´Ìṩ“jar”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/javac”À´Ìṩ“javac”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/javadoc”À´Ìṩ“javadoc”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/javah”À´Ìṩ“javah”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/javap”À´Ìṩ“javap”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jconsole”À´Ìṩ“jconsole”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jdb”À´Ìṩ“jdb”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jhat”À´Ìṩ“jhat”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jinfo”À´Ìṩ“jinfo”¡£
ʹÓÓ/usr/lib/jvm/java-6-sun/bin/jmap”À´Ìṩ“jmap”¡£
ʹÓÃ&ldq
Ïà¹ØÎĵµ£º
ÔÚJavaÖÐÓÐʱ»áÓö¼ûÂÒÂëµÄÇé¿ö£¬ÕâÀïÌṩÁ˼¸ÖÖת»»·½·¨
£¨Ò»£©JavaÖеıàÂëת»»
£¨¶þ£©¿ÉÒÔÔÚweb.xmlÎļþÖÐÅäÖõÄ×Ô¼ºÐ´µÄ¹ýÂËÆ÷
µÚÒ»ÖÖ·½·¨×î¼òµ¥Ò²×î·½±ã£¬µ«ÊÇÖ»ÄÜÓÃÔÚÉÙÁ¿µÄµØ·½»òÊÇż¶ûÒ»Á½´ÎתÂ룬Èç¹û´óÃæ»ýʹÓþͲ»·½±ãÁË£¬Ò²´ó´óÔö¼ÓÁ˱àÂëÁ¿£¬Èç¹ûÄãµÄÏîÄ¿ÀïûÓÐÓÃSpringµÄ¿ò¼Ü¿ª ......
1. LoadRunner£ºÖ§³Ö¶àÖÖ³£ÓÃÐÒé¶àÇÒ¸ö±ðÐÒéÖ§³ÖµÄ°æ±¾±È½Ï¸ß£»¿ÉÒÔÉèÖÃÁé»îµÄ¸ºÔØѹÁ¦²âÊÔ·½°¸£¬¿ÉÊÓ»¯µÄͼÐνçÃæ¿ÉÒÔ¼à¿Ø·á¸»µÄ×ÊÔ´£»±¨¸æ¿ÉÒÔµ¼³öµ½Word¡¢ExcelÒÔ¼°HTML¸ñʽ¡£
2. WebLoad£ºwebloadÊÇRadView¹«Ë¾ÍƳöµÄÒ»¸öÐÔÄܲâÊԺͷÖÎö¹¤¾ß,Ëü ......
typedef struct
{
BYTE baOrigMDN[8]; /* Ö÷½ÐÓû§MDN */
BYTE baDestMDN[8]; /* ±»½ÐÓû§MDN */
BYTE bOrigIsVIP;   ......
ÎļþÉÏ´«·½·¨£¨Ò»´ÎÉÏ´«Ò»¸öÎļþ£¬¶à¸öÎļþµÄ»°£¬Çëдѻ·µ÷Óã©
Upload.uploadFile(theFile, filePath)
˵Ã÷£º
theFile£ºÀàÐÍÊÇFormFile
filePath£ºactionÖз¾¶»ñÈ¡·½·¨ this.getServlet().getServletContext().getRealPath("/")
µ÷Óô˷½·¨·µ»ØÎļþÉÏ´«ºóµÄ·¾¶Ãû
ÉÏ´«¶à¸öÎļþʱ£¬ÇëÉèÖÃÿ¸öÎ ......
1. SSOÐèÇó
µ¥µãµÇ¼£¨Single Sign On, SSO£©ÊÇÆóÒµÓ¦Óü¯³ÉÖÐ×î³£¼ûµÄÐèÇó¡£Ò칹ϵͳ¼äÍùÍù¶¼Óи÷×ÔµÄÓû§¹ÜÀíºÍÉí·ÝÑéÖ¤»úÖÆ£¬Îª
±ÜÃâÓû§ÔÚ½øÐÐϵͳÇл»Ê±Æµ·±ÊäÈëÓû§ÃûºÍÃÜÂ룬Òò´Ë±ØÐëҪʵÏÖµ¥µãµÇ¼¡£
2. SSOÔÀí
˵µ½SSOµÄÔÀí£¬ÏȵÃ˵һ°ãWebÓ¦ÓõÄÉí·ÝÑéÖ¤ÔÀí¡£WebÉí·ÝÑéÖ¤Ö®ËùÒÔÄܳÉΪÎÊÌâÖ÷ÒªÔÚÓÚHTTPÐÒé ......