³ÌÐòÓõ½ <%@page import="java.awt.List"%>
ÔÚJDK1.5.08µÄWindows(tomcat×ö·þÎñÆ÷)»·¾³ÏÂÒ»ÇÐÕý³££¬
ºóÃæ°áµ½LinuxϵͳÏÂ(jdk6.0£¬tomcat),
¿ªÊ¼³öÏÖ¡°No X11 DISPLAY variable was set, but this program performed an operation which requires it¡±
Ìí¼Ó-Djava.awt.headless=true \
ºóÓ ......
ºÜ¾Ã֮ǰÎÒÓÃlinuxʱ£¬ÆÁÄ»ÓÒÉϽdzýÁËÏÔʾʱ¼ä£¬»¹»áÏÔʾQQͼ±ê£¬MSNͼ±ê£¬µÈµÈ£»µ«ÏÖÔÚ¾ÍÖ»ÊÇÏÔʾʱ¼ä£¬ÈôÎÒ¿ªÁËQQ£¬µ«°ÑËü×îС»¯ÁË£¬Ö®ºó¾ÍÎÞ·¨ÔÙ´ò¿ªÁË£¬Ö»ÄÜÖØеǼ¡£ÕâÈÃÎҺܷ³ÄÕ¡£
ÕâÊDz»ÊÇÎÒ¿ªÁËÄǸö½ø³Ì£¬µ«³öÎÊÌâÁË£¬ÎÒÓÖ²»ÖªµÀÄØ£¿
¿ÉÄÜÄã°ÑNotification Areaɾ³ýÁË
ÒýÓÃ
¿ÉÄÜÄã°ÑNotification AreaÉ ......
ÔÚLinux²Ù×÷ϵͳÏ£¬gcc±àÒëµÄ¹ÖÎÊÌ⣬pow(2.0,3.0)=?
ÔÚ³ÌÐòÖУ¬
int main(void){
double x,y,z;
x=2.0;
y=3.0;
z=pow(x,y);//////µ«z=pow(2.0,3.0)ÕýÈ·µØµÃ³ö8.000000
¾¹±àÒëͨ²»¹ý,³öÏÖ´íÎó:
undefined reference to 'pow'
gcc -lm *.c
Â¥ÉÏ,ÄãÊÇÔõô֪µÀ& ......
linux ²ËÄñÇó rename º¯ÊýµÄ ¾ßÌåÓ÷¨
ÔÚÎҵijÌÐòÖÐÎÒµÄÉèÏëÊÇ £ºÔÚÒ»¸öÖƶ¨ÐÂĿ¼AÏÂÐÂopen Ò»¸ö newfile-¡µÓÃfwn µÄfn ±éÀúÔĿ¼ÏÂBµÄËùÓÐÎļþ-¡µ Èç¹ûÊÇÎļþÔò°Ñÿ¸öÎļþ·Ö±ðͨ¹ýnewfile copy µ½ newfile£¬²¢ÇÒrename ³ÉËûÔÀ´µÄÃû×Ö£¬Èç¹ûÊǸöĿ¼ÔòÖظ´µÚ¶þ²½£¬Ö±µ½ÔÀ´µÄĿ¼BÏÂËùÓÐÎļþ¶¼±»±éÀú¹ý¡£
µ±re ......
ÈçÌâ
sigaction ÉèÖà SIGINT µÄÏìӦΪ SIG_IGN
ÀûÓÃsignalº¯Êý½«SIGINTºÍSIGBREAKÁ½¸öÐźŶ¼ÉèÖÃΪSIG_IGN¡£
ctrl+c»á¸ø±¾½ø³Ì×éµÄ½ø³Ì·¢ËÍSIGINTÐźţ¬ËùÒÔÄã¿ÉÒÔÓÃsignalº¯Êý»òÕßsigprocmaskÀ´ÆÁ±Î¸ÃÐźż´¿É¡£
лл£¬Â¥Éϼ¸Î»£¬Òѽâ¾ö´ËÎÊÌ⣡
......
ÍøÉÏ˵linuxµÄÍøËÙ»á¿ìÓÚͬµÈÅäÖõÄwindows£¬ÊÇÕæµÄÂð£¿
ÍøËٲ¶à°É¡£
·´ÕýlinuxÄں˸üбÈwindows¿ì
Ó¦¸ÃÊÇwindowϵĺܶàÒþ²ØÍøÂçÓ¦ÓÃÕ¼ÓÃÁË´ø¿í¡£
ÒýÓÃ
Ó¦¸ÃÊÇwindowϵĺܶàÒþ²ØÍøÂçÓ¦ÓÃÕ¼ÓÃÁË´ø¿í¡£
ÄܾßÌåÒ»µãÂð£¿
¿Ï¶¨Linux»áÏà¶ÔºÃÒ»µãµÄ¡£windowsºÜ¶àÈí¼þÕ¼Ó ......