Ubuntu8.1Ï°²×°JDK£¬ÅäÖà JavaÔËÐл·¾³
°²×°ÍêUbuntu8.1Ö®ºó£¬Èç¹ûÏëÒª¿ª·¢»òÔËÐÐJava³ÌÐò£¬¾ÍÐèÒª°²×°JDK»òJRE¡£ÏÂÃæ¾Í½éÉÜÒ»ÖÖ×îΪ¼ò±ãµÄÔÚUbuntuÖа²×°JDK
µÄ·½·¨¡£
ÖÚËùÖÜÖª£¬Sun¹«Ë¾¶ÔÓÚLinuxϵĵÄJDK°²×°¿ØÖÆÊÇÏ൱Ñϸñ£º£¨1£©Ô¤±àÒë³É¶þ½øÖƵÄJDK°üÊÇÐèҪȡµÃSun¹«Ë¾ÊÚȨµÄ£»£¨2£©Sun¹«
˾ÓÐ×Ô¼ºµÄUnix²Ù×÷ϵͳ¡£»òÐíÊÇÒòΪÕâÁ½µãÔÒò£¬Ä¿Ç°ÔÚLinux»òUnixϵͳÖа²×°JDKÒª±ÈWindowsÖа²×°JDK¸´ÔÓÐí¶à¡£Í¨³£Ðí¶à°²×°
·½·¨¶¼ÊÇÐèÒªÏÈÈ¥Sun¹«Ë¾µÄJavaÒ³ÃæÉÏÏÂÔØJDK°ü£¬ÔÙ±àÒë°²×°¡£
ÔÚUbuntuÖУ¬°²×°JDKÒ²Óкܶ෽·¨¡£ÏÂÃæ½éÉÜÒ»ÖֱȽϼòµ¥µÄ·½·¨£º
£¨1£©Ê¹ÓÃapt-getÃüÁî°²×°£º
sudo apt-get install sun-java6-jdk
Èç¹ûÄܹ»ºÜ˳Àû°²×°Íê³É¡£ÄÇô¹§Ï²Ä㣬ÔËÆø²»´í¡£µ«ÊÇ£¬ÄãºÜÓпÉÄÜ»áÓöµ½ÈçÏ´íÎ󣺓E: Couldn't find
package sun-java6-jdk
”¡£ÄÇôÄãÐèÒªÊ×ÏȸüÐÂapt-getµÄÔ´£¬»»¾ä»°Ëµ£¬¾ÍÊǸüÐÂÈí¼þµÄ°æ±¾ÐÅÏ¢¡£ÔÚ¸üÐÂÖ®
Ç°£¬×îºÃÐÞ¸ÄÒ»ÏÂ/etc/apt/sources.list£¬ÒòΪÈç¹ûÊÇÔÚ¹úÄÚÉÏÍøµÄUbuntu£¬×ÜÊÇÈ¥Á¬½Ó¹úÍâµÄ·þÎñÆ÷£¬»á±È½ÏÂý¡£¿ÉÒÔÏȱ¸·ÝÔÀ´
µÄsources.list:
sudo cp /etc/apt/sources.list
/etc/apt/sources.list.bak
È»ºóÐÞ¸Äsources.list£º
sudo gedit /etc/apt/sources.list
½«ÏÂÃæÄÚÈݸ²¸ÇÔÓÐÄÚÈÝ£º
#Öйų́Íå ̨Íå´óѧ¸üзþÎñÆ÷
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe
multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted
universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted
universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main
restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main
restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main
restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted
universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main
restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse
restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main
res
Ïà¹ØÎĵµ£º
Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......
Çá±ãµÄÊý¾Ý´«Ê䷽ʽһֱÊÇÃæÏò·þÎñ¹¹¼Ü£¨SOA£©Ëù¹Ø×¢µÄ½¹µã£¬¶ÔÓÚSOAÀ´Ëµ£¬Ôø¾·¢Õ¹³öÁ˺ܶ෽±ãµÄÊý¾Ý´«Êäģʽ¡£µ«×Ô´ÓXMLÁ÷Ðкó£¬ÕâЩ´«Êäģʽ¶¼Öð½¥ÏûʧÁË£¬Òò´Ë£¬ÏÖÔÚµÄSOAÖеĻù±¾µÄÊý¾Ý´«Êäģʽ¶¼ÊÇ»ùÓÚXMLµÄ¡£ËäÈ»XML¿ÉÒÔÓÃÓÚÏó·þÎñ·¢ËÍÇëÇó¡¢´Ó·þÎñÆ÷»ñµÃÏìÓ¦»ò´«µÝÊý¾Ý±íÖ®ÀàµÄ²Ù×÷£¬µ«ÕâЩ²Ù×÷¶¼Ì«¼òµ¥£¬¶øÓÐʱÎÒ ......
1.
ºÎʱÐèÒªÖØд
equals()
µ±Ò»¸öÀàÓÐ×Ô¼ºÌØÓеēÂß¼ÏàµÈ”¸ÅÄ²»Í¬ÓÚ¶ÔÏóÉí·ÝµÄ¸ÅÄ¡£
2.
Éè¼Æ
equals()
[1]
ʹÓÃ
instanceof
²Ù×÷·û¼ì²é“ʵ²ÎÊÇ·ñΪÕýÈ·µÄÀàÐÍ”¡£
[2]
¶ÔÓÚÀàÖеÄÿһ¸ö“¹Ø¼üÓò”£¬¼ì²éʵ²ÎÖеÄÓòÓ뵱ǰ¶ÔÏóÖжÔÓ¦µÄÓòÖµ¡£
[2.1]
¶ÔÓÚ·Ç
float
ºÍ ......
¶ÔListµÄ±éÀúÓÐÈýÖÖ·½Ê½
List<A> list = new ArrayList<A>();
list.add(new A());
list.add(new & ......
Java Swing¶àÏß³ÌËÀËøÎÊÌâ½âÎö
ÔÚ»ùÓÚJava Swing½øÐÐͼÐνçÃ濪·¢µÄʱºò£¬¾³£Óöµ½µÄ¾ÍÊÇSwing¶àÏß³ÌÎÊÌâ¡£ÎÒÃÇ¿ÉÒÔÏëÏëһϣ¬Èç¹ûÐèÒªÔÚÒ»¸öͼÐνçÃæÉÏÏÔʾºÜ¶àÊý¾Ý£¬ÕâЩÊý¾ÝÊǾ¹ý³¤Ê±¼ä¡¢¸´ÔӵIJéѯºÍÔËËãµÃµ½µÄ¡£Èç¹ûÔÚͼÐνçÃæµÄͬһ¸öÏß³ÌÖнøÐвéѯºÍÔËË㹤×÷Ôò»áµ¼ÖÂÒ»¶Îʱ¼ä½çÃæ´¦ÓÚËÀ»ú״̬£¬Õâ»á¸øÓû ......