ʹÓÃeclipseÔËÐÐÔø¾Ð´¹ýµÄjava´úÂë
½ñÌì°ÑÒÔǰдµÄjava´úÂëÄóöÀ´£¬·¢ÏÖ³öÁ˺öà´íÎó¡£µ÷ÁË°ëÌ죬·¢ÏÖÊÇ°æ±¾µÄÎÊÌ⣬ÓôÃÆ£¡
¿ÉÄÜ֮ǰÎÒд´úÂëµÄʱºòÓõÄÊÇJDK1.5£¬½ñÌì´ÓÍøÉÏÏÂÔØJDK1.6£¬Ã»³É¹¦¡£¾Í²Ý²ÝÏÂÔØÁËJDK1.5,½á¹û×ÜÊÇÌáʾ“could not find the main class. program will exit”¡£ÎҾ͵½
window-¡·preference-¡·java-¡·compiler°Ñµ±Ç°µÄ°æ±¾»»³É±ðµÄ£¬¿´¿´Ðв»ÐУ¬Èç¹û²»ÐУ¬ÔÙ»»»ØÀ´£¬¶àµ·ÌÚ¼¸´Î¾ÍºÃÁË¡£
ÁíÍ⣬²»ÖªµÀΪʲôÓÃ1.5°æ±¾£¬ÎÒ֮ǰдµÄ´úÂ룬Éú³ÉclassµÄ£¬¿ÉÒÔÔËÐе«ÊDz»ÄÜÁ¬½Óµ½ÍøÂçÉÏ¡£µ±ÎÒ°²×°ÉÏÁË1.6ºó£¬»·¾³±äÁ¿ÅäÖøijÉÁË1.6µÄ£¬µ«ÊÇeclipseÖеÄ
window-¡·preference-¡·java-¡·compiler»»³É1.6µÄ¾Í»á³öÏÖÎÊÌ⣬ÈÔδ1.5¾Í¿É¼ÌÐøÔËÐС£ËäÈ»×îÖÕ´úÂëÄܹ»ÔËÐУ¬µ«ÊǾßÌåÔÒò»¹ÊDz»ÖªµÀ£¬ÍûÖªÇéÕßÁôÑÔ£¿
Ïà¹ØÎĵµ£º
javaдÎļþÂÒÂë
StringBuffer sb = new StringBuffer();
sb.append("<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"b5d6e6\"");
sb.append("<tr>");
sb.append("<td bgcolor=\"#FFFFFE\" height=\"42\" colspan=\""+ (jsd ......
±¾ÎÄÊ×ÏÈÉè¼ÆÒ»¸öµ¥´Î¶¨Ê±Æ÷Timer+TimerTask£¬È»ºóÔٴλù´¡ÉÏÉè¼ÆÒ»¸öÑ»·¶¨Ê±Æ÷¡£
ÎÒ½«°Ñ java.util.Timer ºÍ java.util.TimerTask ͳ³ÆΪ Java ¼ÆʱÆ÷¿ò¼Ü£¬ËüÃÇʹ³ÌÐòÔ±¿ÉÒÔºÜÈÝÒ׵ؼƻ®¼òµ¥µÄÈÎÎñ£¨×¢ÒâÕâЩÀàÒ²¿ÉÓÃÓÚ J2ME ÖУ©¡£²»¹ý£¬Java ¼ÆʱÆ÷¿ò¼ÜûÓÐ× ......
×÷ΪJava³ÌÐòÔ±À´Ëµ£¬×îÍ´¿àµÄÊÂÇéĪ¹ýÓÚ¿ÉÒÔÑ¡ÔñµÄ·¶Î§Ì«¹ã£¬¿ÉÒÔ¶ÁµÄÊéÌ«¶à£¬ÍùÍùÈÝÒ×ÎÞËùÊÊ´Ó¡£ÎÒÏë¾ÍÎÒ×Ô¼º¶Á¹ýµÄ¼¼ÊõÊé¼®ÖÐÌôÑ¡³öÀ´Ò»Ð©£¬°´ÕÕѧϰµÄÏȺó˳Ðò£¬ÍƼö¸ø´ó¼Ò£¬ÌرðÊÇÄÇЩÏë²»¶ÏÌá¸ß×Ô¼º¼¼ÊõˮƽµÄJava³ÌÐòÔ±ÃÇ¡£
¡¡¡¡Ò»¡¢Java±à³ÌÈëÃÅÀà
¡¡¡¡¶ÔÓÚûÓÐJava±à³Ì¾ÑéµÄJava³ÌÐòÔ±ÒªÈëÃÅ£¬Ëæ±ã¶ÁʲôÈëÃÅÊé ......
1¡¢Eclipse µÄÆô¶¯»Ãæ
A¡¢¼ÓÆô¶¯²ÎÊý¡£È磺 eclipse.exe -showsplash C:\splash.bmp
¸ü¶à¿É²Î¿¼£ºhttp://www.cnblogs.com/sharewind/archive/2007/03/11/671270.html
B¡¢ÐÞ¸ÄĬÈÏͼƬ¡£Î»ÓÚ£ºplugins\org.eclipse.platform_3.3.2.R33x_v20071022 ......
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class JavaBasic {
public static void main(String[] args){
StringBuffer sd = new StringBuffer();
String hhhString="adlkll";
&nbs ......