Java°²×°ºóJDK/binĿ¼ÏµÄexeÎļþµÄÓÃ;
javac£ºJava±àÒëÆ÷£¬½«JavaÔ´´úÂë»»³É×Ö½Ú´ú
java£ºJava½âÊÍÆ÷£¬Ö±½Ó´ÓÀàÎļþÖ´ÐÐJavaÓ¦ÓóÌÐò´úÂë
appletviewer(С³ÌÐòä¯ÀÀÆ÷)£ºÒ»ÖÖÖ´ÐÐHTMLÎļþÉϵÄJavaС³ÌÐòÀàµÄJavaä¯ÀÀÆ÷
javadoc£º¸ù¾ÝJavaÔ´´úÂë¼°Æä˵Ã÷Óï¾äÉú³ÉµÄHTMLÎĵµ
jdb£ºJavaµ÷ÊÔÆ÷£¬¿ÉÒÔÖðÐеØÖ´ÐгÌÐò¡¢ÉèÖöϵãºÍ¼ì²é±äÁ¿
javah£º²úÉú¿ÉÒÔµ÷ÓÃJava¹ý³ÌµÄC¹ý³Ì£¬»ò½¨Á¢Äܱ»Java³ÌÐòµ÷ÓõÄC¹ý³ÌµÄÍ·Îļþ
Javap£ºJava·´»ã±àÆ÷£¬ÏÔʾ±àÒëÀàÎļþÖеĿɷÃÎʹ¦ÄܺÍÊý¾Ý£¬Í¬Ê±ÏÔʾ×Ö½Ú´úÂ뺬Òå
jar£º¶àÓÃ;µÄ´æµµ¼°Ñ¹Ëõ¹¤¾ß£¬ÊǸöjavaÓ¦ÓóÌÐò£¬¿É½«¶à¸öÎļþºÏ²¢Îªµ¥¸öJAR¹éµµÎļþ¡£
htmlConverter£ºÃüÁîת»»¹¤¾ß¡£
native2ascii£º½«º¬Óв»ÊÇUnicode»òLatinl×Ö·ûµÄµÄÎļþת»»ÎªUnicode±àÂë×Ö·ûµÄÎļþ¡£
serialver£º·µ»ØserialverUID¡£Óï·¨£ºserialver [show] ÃüÁîÑ¡ÏîshowÊÇÓÃÀ´ÏÔʾһ¸ö¼òµ¥µÄ½çÃæ¡£ÊäÈëÍêÕûµÄÀàÃû°´Enter¼ü»ò"ÏÔʾ"°´Å¥£¬¿ÉÏÔʾserialverUID¡£
²¹³äÏêϸ£º
javac.exe
Ó÷¨£ºjavac <Ñ¡Ïî> <Ô´Îļþ>
¿ÉÄܵÄÑ¡Ïî°üÀ¨£º
-g Éú³ÉËùÓе÷ÊÔÐÅÏ¢
-g:none Éú³ÉÎÞµ÷ÊÔÐÅÏ¢
-g:{lines,vars,source} Éú³ÉÖ»Óв¿·Öµ÷ÊÔÐÅÏ¢
-O ÓÅ»¯£»¿ÉÄÜ·Á°µ÷ÊÔ»òÕßÔö´óÀàÎļþ
-nowarn Éú³ÉÎÞ¾¯¸æ
-verbose Êä³ö¹ØÓÚ±àÒëÆ÷ÕýÔÚ×öµÄÐÅÏ¢
-deprecation Êä³öʹÓÃÁ˲»¹ÄÀøʹÓõÄAPIµÄÔ´³ÌÐòλÖÃ
-classpath <·¾¶> Ö¸¶¨Óû§ÀàÎļþµÄλÖÃ
-sourcepath <·¾¶> Ö¸¶¨ÊäÈëÔ´ÎļþµÄλÖÃ
-bootclasspath <·¾¶> ¸²¸Ç×Ô¾ÙÀàÎļþµÄλÖÃ
-extdirs <Ŀ¼(¶à¸ö)> ¸²¸Ç°²×°µÄÀ©Õ¹ÀàµÄλÖÃ
-d <Ŀ¼> Ö¸¶¨Êä³öÀàÎļþµÄλÖÃ
-encoding <±àÂë> Ö¸¶¨Ô´ÎļþÖÐËùÓõÄ×Ö·û¼¯±àÂë
-target <°æ±¾> Éú³ÉÖ¸¶¨ÐéÄâ»ú°æ±¾µÄÀàÎļþ
-help Print a synopsis of standard options
appletviewer.exe
Ó÷¨£ºappletviewer <options> url
ÆäÖУ¬<options> °üÀ¨£º
-debug ÔÚ Java µ÷ÊÔÆ÷ÖÐÆô¶¯ applet С³ÌÐò²é¿´Æ÷
-encoding <encoding> Ö¸¶¨ÓÉ HTML ÎļþʹÓõÄ×Ö·û±àÂë
-J<runtime flag> Ïò Java ½âÊÍÆ÷´«µÝ²ÎÊý
-J Ñ¡Ïî²»ÊDZê׼ѡÏÈçÓиü¸Ä£¬²»ÁíÐÐ֪ͨ¡£
jar.exe
Ó÷¨£ºjar {ctxu}[vfm0M] [jar-Îļþ] [manifest-Îļþ] [-C Ŀ¼] ÎļþÃû ...
Ñ¡Ï
-c ´´½¨ÐµĴ浵
-t Áгö´æµµÄÚÈݵÄÁбí
-x Õ¹¿ª´æµµÖеÄÃüÃûµÄ£¨»òËùÓеġ³Îļþ
-u ¸üÐÂÒÑ´æÔڵĴ浵
-v Éú
Ïà¹ØÎĵµ£º
¹ØÓÚ23ÖÖÉè¼ÆģʽµÄÓÐȤ¼û½â
×÷ÕßÒÔÇáËɵÄÓïÑÔ±ÈÓ÷ÁËjavaµÄ23ÖÖģʽ£¬ÓкܺõÄÆô·¢×÷Óá£
´´½¨ÐÍģʽ
1¡¢FACTORY—×·MMÉÙ²»ÁËÇë³Ô·¹ÁË£¬Âóµ±À͵ļ¦³áºÍ¿ÏµÂ»ù ......
File.separatorChar ·µ»ØÒ»¸ö×Ö·û£¬±íʾµ±Ç°ÏµÍ³Ä¬ÈϵÄÎļþÃû·Ö¸ô·û£¬ÔÚWindowsÖÐΪ"\",unixÖÐΪ"/"¡£
File.separator ÓëÇ°ÕßÏàͬ£¬µ«½«·Ö¸ô·û×÷Ϊ×Ö·û´®ÀàÐÍ·µ»Ø¡£
pathSeparatorChar ·µ»ØÒ»¸ö×Ö·û£¬±íʾµ±Ç°ÏµÍ³Ä¬ÈϵÄ·¾¶Ãû·Ö¸ô·û£¬ÔÚWindowsÖÐΪ";",unixÖÐΪ":"¡£
File.pathSeparator ÓëÇ°ÕßÏàͬ£¬µ«½«·Ö¸ô·û×÷Ϊ×Ö· ......
import java.net.InetAddress;
//±¾³ÌÐòʵÏÖÁË»ñÈ¡±¾µØIPµØÖ·
public class IP {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
InetAddress localHost;
InetAddress []ip;
try{
localHost=InetAddress.getLocalHost();
ip=InetAddr ......
¸ñʽ»¯Êä³öÊý×Ö
·Ò룺Cherami
email:cherami@163.net
ÔÎÄ£ºhttp://developer.java.sun.com/developer/TechTips/2000/tt0411.html
ÓÐʱÎÒÃÇÐèÒª¿ØÖÆÊä³öµÄÊý×ֵĸñʽ£¬ÈçºÎʹÓÃjavaµÄÀà¿â×öµ½Õâ¸öÄØ£¿
Ò²ÐíÄã²»¹ØÐĸñʽ£¬µ«ÊÇÄãÐèÒª¹ØÐÄÄãµÄ³ÌÐò¿ÉÒÔÔÚÈ«ÊÀ½çͨÓã¬Ï ......