Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javaѧϰ±Ê¼Ç 1.³õ²½½éÉÜ

Ò».javaÈý¸ö·½Ïò
j2se ×ÀÃ濪·¢  £¨»ù´¡£©
j2ee web¿ª·¢
j2me ÊÖ»ú¿ª·¢
¶þ.¿ª·¢¹¤¾ß
¼Çʱ¾
jcreator
jbuilder
netbean
elipse£¨IBM£©
......
Èý.javaÓïÑÔÌصã
¼òµ¥
ÃæÏò¶ÔÏó
¿çƽ̨£¨Ò»´Î±àÒ룬µ½´¦ÔËÐУ©
¸ßÐÔÄÜ
ËÄ.°²×°ºÍÅäÖÃjdk
jdk£¿
java development kit java¿ª·¢¹¤¾ß°ü
°üÀ¨£ºjre£¨javaÔËÐл·¾³£©£¬¹¤¾ß°ü£¨±àÒëÆ÷javac.exe,½âÊÍÖ´ÐÐÆ÷java.exeµÈ£©£¬javaÀà¿â
µÚÒ»²½£ºÏÂÔØJDK
 sun¹ÙÍø¼´¿É
µÚ¶þ²½£º°²×°JDK
ûʲôÌر𣬰´Ìáʾһ·nextÏÂÈ¥
Ö÷ÒªÎļþ¼Ð½éÉÜ
  bin£ºbinaryµÄ¼òд£¬ÏÂÃæ´æ·ÅµÄÊÇ JavaµÄ¸÷ÖÖ¿ÉÖ´ÐÐÎļþ
  db£ºJDK6мÓÈëµÄApache µÄDerby Êý¾Ý¿â£¬Ö§³ÖJDBC4.0µÄ¹æ·¶¡£
  include£º ÐèÒªÒýÈëµÄһЩͷÎļþ£¬Ö÷ÒªÊÇ cºÍ c++µÄ£¬JDK ±¾ÉíÊÇͨ¹ý CºÍ C++ʵÏֵġ£ 
  jre£ºJavaÔËÐл·¾³¡£
  lib£ºlibraryµÄ¼òд£¬JDKËùÐèÒªµÄһЩ×ÊÔ´ÎļþºÍ×ÊÔ´°ü¡£
 
µÚÈý²½£ºÅäÖÃ
£¨1£© £ºÔÚÎҵĵçÄÔµã»÷ÓÒ¼ü——¡µÑ¡ÔñÊôÐÔ
£¨2£© £ºÔÚµ¯³ö½çÃæÉÏ  £º Ñ¡Ôñ¸ß¼¶——¡µ»·¾³±äÁ¿
£¨3£© £ºÔÚϵͳ±äÁ¿ÀïÃæÕÒµ½“Path”ÕâÒ»ÏȻºóË«»÷Ëü£¬ÔÚµ¯³öµÄ½çÃæÉÏ£¬ÔÚ±äÁ¿Öµ
¿ªÍ·Ìí¼ÓÈçÏÂÓï¾ä“D:\common\Java\jdk1.6.0_02\bin;”£¨Ã¿¸öÈ˵ݲװ·¾¶²»Í¬£¬Ð´×Ô¼ºµÄ°²×°Â·¾¶£¬Ö±µ½binĿ¼£© £¬×¢Òâ²»ÒªÍüÁ˺óÃæµÄ·ÖºÅ£¬
£¨4£© £ºÈ»ºóµã»÷±à¼­ÏµÍ³±äÁ¿½çÃæµÄÈ·¶¨°´Å¥£¬È»ºóµã»÷»·¾³±äÁ¿½çÃæµÄ“н¨”¡£ÔÚÉÏÃæÌîд±äÁ¿ÃûΪ£ºJAVA_HOME £¬±äÁ¿ÖµÎª£ºD:\common\Java\jdk1.6.0_02£¨Ã¿¸öÈË°²×°Â·¾¶²»Í¬£©
£¨5£©£ºÈ»ºóµã»÷н¨ÏµÍ³±äÁ¿½çÃæµÄÈ·¶¨°´Å¥£¬È»ºóµã»÷»·¾³±äÁ¿½çÃæµÄ“н¨” £¬µ¯³öн¨ÏµÍ³±äÁ¿½çÃ棬ÔÚÉÏÃæÌîд±äÁ¿ÃûΪ£ºclasspath , ±äÁ¿ÖµÎª£º.;  ,×¢ÒâÊǵãºÍ·Ö
ºÅ£¬“È·¶¨”¡£
ÉèÖÃÍê±Ï
ΪºÎÒªÉèÖÃÕâЩ»·¾³±äÁ¿ÄØ£¬ÈçºÎÉèÖÃÄØ£º
PATH£º
Ìṩ¸ø²Ù×÷ϵͳѰÕÒµ½Java ÃüÁ¾ßµÄ·¾¶¡£Í¨³£ÊÇÅäÖõ½JDK °²×°Â·¾¶\bin
JAVA_HOME£º
Ìṩ¸øÆäËü»ùÓÚJava µÄ³ÌÐòʹÓã¬ÈÃËüÃÇÄܹ»ÕÒµ½JDK µÄλÖá£Í¨³£ÅäÖõ½JDK °²×°
·¾¶¡£×¢Ò⣺Õâ¸ö±ØÐëÊéдÕýÈ·£¬È«²¿´óд£¬ÖмäÓÃÏ»®Ïß¡£
CLASSPATH£º
Ìṩ³ÌÐòÔÚÔËÐÐÆÚÑ°ÕÒËùÐè×ÊÔ´µÄ·¾¶£¬±ÈÈ磺Àà¡¢Îļþ¡¢Í¼Æ¬µÈµÈ¡£
×¢Ò⣺ÔÚwindows²Ù×÷ϵͳÉÏ£¬×îºÃÔÚ classpathµÄÅäÖÃÀïÃ棬ʼÖÕÔÚÇ°Ãæ±£³Ö“.;”µÄÅäÖã¬
ÔÚwindows


Ïà¹ØÎĵµ£º

ÀûÓÃLuceneËÑË÷JavaÔ´´úÂë

ijЩÍøÕ¾ÔÊÐíÈí¼þ¿ª·¢ÉçÍÅͨ¹ý·¢²¼¿ª·¢ÕßÖ¸ÄÏ¡¢°×ƤÊé¡¢FAQs¡¾³£¼ûÎÊÌâ½â´ð¡¿ºÍÔ´´úÂëÒÔʵÏÖÐÅÏ¢µÄ¹²Ïí¡£Ëæ×ÅÐÅÏ¢Á¿µÄÔö³¤£¬ºÍ¼¸¸ö¿ª·¢Õß¹±Ï׳ö×Ô¼ºµÄ֪ʶ¿â£¬ÓÚÊÇÍøÕ¾ÌṩËÑË÷ÒýÇæÀ´ËÑË÷Õ¾µãÉÏÏÖÓеÄËùÓÐÐÅÏ¢¡£ËäÈ»ÕâЩËÑË÷ÒýÇæ¶ÔÎı¾ÎļþµÄËÑË÷¿ÉÒÔ×öµÄºÜºÃ£¬µ«¶Ô¿ª·¢ÕßËÑË÷Ô´´úÂë×öÁ˱ȽÏÑϸñµÄÏÞÖÆ¡£ËÑË÷ÒýÇæÈÏΪԴ´úÂë ......

JAVA JNI

http://blog.csdn.net/hbcui1984/archive/2009/12/10/4980805.aspx
Ò»¡¢¸ÅÊö
JNI(java native interface)£¬JAVA±¾µØ½Ó¿Úµ÷Óã¬Ä¿µÄÊÇΪÁËJAVA¿ÉÒÔµ÷Óñ¾µØ³ÌÐò£¬Ö÷ÒªÓŵãÓУº
Ìá¸ßЧÂÊ£¬½â¾öÐÔÄÜÎÊÌâ
·ÀÖ¹·´±àÒ룬Ìá¸ßºËÐÄ´úÂ밲ȫÐÔ
ÔöÇ¿±¾»ú½Ó¿Úµ÷ÓÃ
ǶÈëʽ¿ª·¢Ó¦ÓÃ
    ÈçÏÂͨ¹ýÒ»¸ö×î¼òµ¥µÄÐ ......

javaÓÅÐãµÄ³ÌÐòÔ±±Ø¶Á

 1¡¢Óï·¨£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
    2¡¢ÃüÁ±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡¢ HtmlConverter¡¢jar¡¢ java¡¢javac¡¢javadoc¡¢javap¡¢javaw¡¢native2ascii ......

3des¼ÓÃÜËã·¨µÄJavaʵÏÖ

import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
public class CipherTest {
public static void main(String[] args) {
try {
byte[] keydata = { (byte) 0x00, (byte) 0x01, (byte) 0x02,
(byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06, ......

΢ÈíµÄпª·¢¹¤¾ßÄÜսʤjavaô

Ò»Ö±ÒÔÀ´¶¼ÊÇ΢ÈíµÄËÀÖÒ£¬ÎÒÒ»Ö±¹ÌÖ´µÄʹÓÃ×Å΢ÈíµÄ²úÆ·¡£´Ó2001Äêµ½½ñÄê2010Ä꣬ÒѾ­¶È¹ýÁË9ÄêµÄʱ¹â£¬¿´×ÅËüµÄ½ø²½£¬Ò²¿´µ½ÁËjava¶ÔËüµÄ²Ïʳ¡£´Ó×î³õ´ó¼Ò¶Ô΢ÈíÊÇ·ñÒ»Ö»¶À´ó£¬µ½ÏÖÔÚÎÒµ£ÐÄvsϵÁвúÆ·ÊÇ·ñ±»javaËùÍÌû¡£
Îҵĵ£ÐIJ»ÊÇûÓеÀÀí£¬ÉõÖÁÎÒΪÁ˼á³ÖÎÒµÄ΢Èí·Ï߶ø·ÅÆúÁËÏÖÔڵŤ×÷¡£
ÔÚ×öСÐÍÏîÄ¿ºÍ×ÀÃæÐÍÏîÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ