JAVAµÄÇ°ÊÀ½ñÉú
-
JavaÊÇÓÉSun Microsystems¹«Ë¾ÓÚ1995Äê5ÔÂÍƳöµÄJava³ÌÐòÉè¼ÆÓïÑÔ£¨ÒÔϼò³ÆJavaÓïÑÔ£©ºÍJavaƽ̨µÄ×ܳơ£ÓÃJavaʵÏÖµÄHotJavaä¯ÀÀÆ÷£¨Ö§³ÖJava applet£©ÏÔʾÁËJavaµÄ÷ÈÁ¦£º¿çƽ̨¡¢¶¯Ì¬µÄWeb¡¢Internet¼ÆËã¡£´Ó´Ë£¬Java±»¹ã·º½ÓÊܲ¢Íƶ¯ÁËWebµÄѸËÙ·¢Õ¹£¬³£ÓõÄä¯ÀÀÆ÷ÏÖÔÚ¾ùÖ§³ÖJava applet¡£ÁíÒ»·½Ã棬Java¼¼ÊõÒ²²»¶Ï¸üС£
¡¡¡¡Javaƽ̨ÓÉJavaÐéÄâ»ú£¨Java Virtual Machine£©ºÍJava Ó¦Óñà³Ì½Ó¿Ú£¨Application Programming Interface¡¢¼ò³ÆAPI£©¹¹³É¡£Java Ó¦Óñà³Ì½Ó¿ÚΪJavaÓ¦ÓÃÌṩÁËÒ»¸ö¶ÀÁ¢ÓÚ²Ù×÷ϵͳµÄ±ê×¼½Ó¿Ú£¬¿É·ÖΪ»ù±¾²¿·ÖºÍÀ©Õ¹²¿·Ö¡£ÔÚÓ²¼þ»ò²Ù×÷ϵͳƽ̨ÉÏ°²×°Ò»¸öJavaƽ̨֮ºó£¬JavaÓ¦ÓóÌÐò¾Í¿ÉÔËÐС£ÏÖÔÚJavaƽ̨ÒѾǶÈëÁ˼¸ºõËùÓеIJÙ×÷ϵͳ¡£ÕâÑùJava³ÌÐò¿ÉÒÔÖ»±àÒëÒ»´Î£¬¾Í¿ÉÒÔÔÚ¸÷ÖÖϵͳÖÐÔËÐС£JavaÓ¦Óñà³Ì½Ó¿ÚÒѾ´Ó1.1x°æ·¢Õ¹µ½1.2°æ¡£Ä¿Ç°³£ÓõÄJavaƽ̨»ùÓÚJava1.4£¬×î½ü°æ±¾ÎªJava1.7¡£
¡¡¡¡Java·ÖΪÈý¸öÌåϵJavaSE(Java2 Platform Standard Edition£¬javaƽ̨±ê×¼°æ)£¬JavaEE(Java 2 Platform,Enterprise Edition£¬javaƽ̨ÆóÒµ°æ)£¬JavaME(Java 2 Platform Micro Edition£¬javaƽ̨΢ÐÍ°æ)¡£
¡¡¡¡2009Äê04ÔÂ20ÈÕ£¬oracle£¨¼×¹ÇÎÄ)Ðû²¼ÊÕ¹ºsun¡£
¡¡¡¡1991Ä꣬Sun¹«Ë¾µÄJames Gosling¡£Bill JoeµÈÈË£¬ÎªµçÊÓ¡¢¿ØÖÆ¿¾Ãæ°ü»úµÈ¼ÒÓõçÆ÷µÄ½»»¥²Ù×÷¿ª·¢ÁËÒ»¸öOak£¨Ò»ÖÖÏðÊ÷µÄÃû×Ö£©Èí¼þ£¬ËûÊÇJavaµÄÇ°Éí¡£µ±Ê±£¬Oak²¢Ã»ÓÐÒýÆðÈËÃǵÄ×¢Ò⣬ֱµ½1994Ä꣬Ëæ×Å»¥ÁªÍøºÍ3WµÄ·ÉËÙ·¢Õ¹£¬ËûÃÇÓÃJava±àÖÆÁËHotJavaä¯ÀÀÆ÷£¬µÃµ½ÁËSun¹«Ë¾Ê×ϯִÐйÙScott McNealyµÄÖ§³Ö£¬µÃÒÔÑз¢ºÍ·¢Õ¹¡£ÎªÁË´ÙÏúºÍ·¨ÂɵÄÔÒò£¬1995ÄêOak¸üÃûΪJava¡£JavaµÄµÃÃû»¹ÓжÎС²åÇúÄØ£¬Ò»Ì죬JavaС×é³ÉÔ±ÕýÔںȿ§·Èʱ£¬ÒéÂÛ¸øÐÂÓïÑÔÆð¸öʲôÃû×ÖµÄÎÊÌ⣬ÓÐÈËÌáÒéÓÃJava£¨JavaÊÇÓ¡¶ÈÄáÎ÷ÑÇÊ¢²ú¿§·ÈµÄÒ»¸öµºÓ죩£¬Õâ¸öÌáÒéµÃµ½ÁËÆäËû³ÉÔ±µÄÔÞͬ£¬ÓÚÊǾͲÉÓÃJavaÀ´ÃüÃû´ËÐÂÓïÑÔ¡£ºÜ¿ìJava±»¹¤Òµ½çÈÏ¿É£¬Ðí¶à´ó¹«Ë¾ÈçIBM Microsoft.DECµÈ¹ºÂòÁËJavaµÄʹÓÃȨ£¬²¢±»ÃÀ¹úÔÓÖ¾PC MagazineÆÀΪ1995ÄêÊ®´óÓÅÐã¿Æ¼¼²úÆ·¡£´Ó´Ë£¬¿ªÊ¼ÁËJavaÓ¦ÓõÄÐÂƪÕ¡£
¡¡¡¡JavaµÄµ®Éúʱ¶Ô´«Í³¼ÆËã»úģʽµÄÌôÕ½£¬¶Ô¼ÆËã»úÈí¼þ¿ª·¢ºÍÈí¼þ²úÒµ¶¼²úÉúÁËÉîÔ¶µÄÓ°Ï죺
¡¡¡¡£¨1£©Èí¼þ4AÄ¿±êÒªÇóÈí¼þÄÜ´ïµ½ÈκÎÈËÔÚÈκεط½ÔÚÈκÎʱ¼ä¶ÔÈκεç×ÓÉ豸¶¼ÄÜÓ¦Óá£ÕâÑùÄÜÂú×ãÈí¼þƽ̨ÉÏ»¥Ïà²Ù×÷£¬¾ßÓпÉÉìËõÐÔºÍÖØÒªÐÔ²¢¿É¼´²å¼´Óõȷֲ¼Ê½¼ÆËãģʽµÄÐèÇó¡£
¡¡¡¡£¨2£©»ùÓÚ¹¹½¨
Ïà¹ØÎĵµ£º
WindowsÏÂJAVAÓõ½µÄ»·¾³±äÁ¿Ö÷ÒªÓÐ3¸ö£¬JAVA_HOME¡¢CLASSPATH¡¢PATH¡£ÏÂÃæÖð¸ö·ÖÎö¡£ JAVA_HOMEÖ¸ÏòµÄÊÇJDKµÄ°²×°Â·¾¶£¬Èçx:\JDK_1.4.2£¬ÔÚÕâ·¾¶ÏÂÄãÓ¦¸ÃÄܹ»ÕÒµ½bin¡¢libµÈĿ¼¡£ÖµµÃÒ»ÌáµÄÊÇ£¬JDKµÄ°²×°Â·¾¶¿ÉÒÔÑ¡ÔñÈÎÒâ´ÅÅÌĿ¼£¬²»¹ý½¨ÒéÄã·ÅµÄĿ¼²ã´Îdzһµã£¬Èç¹ûÄã·ÅµÄĿ¼ºÜÉ±ÈÈçx:\XXXXXX\xxxxx\XXXX\xxxx\X ......
Javaѧϰ·¾¶£¨Ò»£©¹¤¾ßƪ
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJDKÊÇSun¹«Ë¾·¢²¼µÄJDK£¬³ýÁËSunÖ®Í⣬»¹Óкܶ๠......
package cf.java.study.java.io;
import java.io.File;
import java.io.FileInputStream;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class FileTests {
@Before
public void set ......
-
½üÈÕÔÚ±à³ÌÖÐÓõ½½Ó¿Ú֪ʶ,ÓÉÓڿα¾ÖжԽӿÚÃèÊö½ÏÉÙ,ËùÒÔÏë´ÓÍøÉϲéÕÒ×ÊÁÏ,µ«ÍøÉϵÄ×ÊÁÏ´ó¶àÒ²Ö»ÊÇÈß³¤µÄÃèÊö,ËùÒÔÔÚ´ËÌṩһ×Ô¼ºÐ´µÄʵÀý,¹©´ó¼Ò²Î¿¼:
ÔÌâÊÇÕâÑùµÄ£ºÔÚjavaÖУ¬¶¨ÒåÒ»¸ö½Ó¿Ú£¬ÉùÃ÷¼ÆË㳤·½ÐÎÃæ»ýºÍÖܳ¤µÄ³éÏó·½·¨£¬ÔÙÓÃÒ»¸öÀàȥʵÏÖÕâ¸ö½Ó¿Ú£¬ÔÙ±àдһ¸ö²âÊÔÀàȥʹÓÃÕâ¸ö½Ó¿Ú¡£
Ê×ÏÈ£¬½Ó¿Ú±ØÐ ......