ubuntuÏ£¬C/C++ͨ¹ýJNIµ÷Óà JAVAÀà
֮ǰд¹ýÒ»¸öʵÏÖÁËijÖÖ¹¦ÄܵÄjava³ÌÐò£¬µ«ÓÉÓÚ½üÈÕ“¹¤×÷”ÐèÒª£¬ÓÖÐèÒªÔÚc/c++ÖÐÖØÐÂʹÓøù¦ÄÜ¡£ÎªÁ˽Úʡʱ¼ä£¬ÎÒ²ÉÈ¡ÁËÔÚc/c++Öе÷ÓÃjava³ÌÐòµÄ·½·¨£¬µ«Ö®Ç°Ã»ÓнӴ¥¹ýÀàËƵĶ«Î÷£¬µ½ÍøÉÏÒ»²é£¬¹ûÈ»ÓÐÀàËƵĶ«Î÷£¬ÐÄÖаµÏ²ing...¡£²éµ½µÄ×ÊÁÏÖÐÓм¸¸ö²»´íµÄÍøÒ³£º
http://blog.sina.com.cn/s/blog_48eef8410100fjxr.html
http://www.diybl.com/course/6_system/linux/Linuxjs/20100331/201638.html
http://hi.baidu.com/pjdashu/blog/item/5e54df9961040d006e068c1b.html
µÚÒ»¸öÍøÖ·£¬Ö÷Òª½éÉÜÁË°²×°java»·¾³ºÍ±àÒë¹ý³Ì£»
µÚ¶þ¸öÍøÖ·£¬Ö÷Òª½éÉÜÁËjniµÄʹÓ÷½·¨¡£
µÚÈý¸öÍøÖ·£¬×îºóµÄ´úÂë±È½ÏÃ÷È·µÄ˵Ã÷ÁËÈçºÎʹÓÃÀïÃæµÄ×Ö·û´®£¬¿ÉÒÔÖ±½Ó¿´×îºóÒ»¶ÎµÄ´úÂë¡£
ÎÒ°´ÕÕµÚÒ»¸öÍøÖ·µÄ·½·¨½øÐÐʵÑ飬·¢ÏÖÁ˺öàµÄÎÊÌâ¡£ÏÈ°ÑÖ÷ÒªÓ¦¸Ã×¢ÒâµÄµØ·½¼Ç¼ÈçÏ£º
ÎÒʹÓõĻ·¾³ÊÇ£ºUbuntu8.04
°²×°ÅäÖÃJava»·¾³ÒÔ¼°±àÒë
°²×°java»·¾³Ê±£¬ÎÒ²ÎÕÕÁË http://wiki.ubuntu.org.cn/Java°²×°ÅäÖÃ
µÄ°²×°ÅäÖ÷½·¨£¬°²×°µÄÊÇjava6¡£ÏÂÃæµÄÅäÖ÷¾¶¿ÉÄܸù¾ÝϵͳµÄ²»Í¬£¬ÂÔÓв»Í¬¡£ÔÚubuntuÏÂĬÈÏÊÇ°²×°µ½ÁË/usr/lib/jvmÏ¡£
È»¶ø£¬´Ë´¦µÄ˵·¨£º“
ҪʹÅäÖÃÉúЧ±ØÐëÖØÆô»úÆ÷»òÕßÔÚÃüÁîÐÐÊäÈë
”²¢²»ÍêÈ«ÕýÈ·£¬×îÆðÂë¶ÔÓÚLD_LIBRARY_PATHÀ´Ëµ²»ÕýÈ·£¬ÒòΪÓÐ×ÊÁÏÏÔʾ£º
òËÆ Ubuntu ²»ÄÜÔÚ profile, environment,.bashrcÖÐÉèÖà LD_LIBRARY_PATH,
¿ÉÒÔÕâÑù½â¾ö¿â×°ÔØÎÊÌ⣺
±à¼ /etc/ld.so.conf Îļþ£¬½«Ö¸¶¨µÄ·¾¶¼ÓÉÏ£¬»òÕßÔÚ /etc/ld.so.conf.d/
Ŀ¼ÖÐÌí¼ÓÒ»¸öеÄÅäÖÃÎļþ£¬ÄÚÈÝ¿´Ò»Ï¸ÃĿ¼ÏÂÆäËüÎļþ¾ÍÃ÷°×ÁË¡£¡£¡£µ±È»ÄãµÃÓÐȨÏÞÕâô×ö¡££¨http://forum.ubuntu.org.cn/viewtopic.php?f=56&t=94830
£©
ÎÒµÄ×ö·¨
Ҫôÿ´ÎʹÓÃ֮ǰ£¬ÒªÃ´ÏÈÔËÐГ. /etc/environment”£¬ÒªÃ´“export LD_LIBRARY_PATH=
$JRE_HOME/lib/i386/client”
ÅäÖùý³ÌÖÐÎÒ»¹²ÎÕÕÁ˵ÚÒ»¸öÍøÖ·ÖеÄÄÚÈÝ£º
JAVA_HOME=/usr/local/java/jdk1.5.0_06
PATH=$PATH:/usr/local/java/jre1.5.0_05/bin
export JAVA_HOME PATH
export
JRE_HOME=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
exp
Ïà¹ØÎĵµ£º
http://www.trendcaller.com/2009/05/hadoop-should-target-cllvm-not-java.html
Sunday, May 10, 2009
Hadoop should target C++/LLVM, not Java (because of watts)
< type="text/javascript">
digg_url="http://www.trendcaller.com/2009/05/hadoop-should-target-cllvm-not-java.html";
Over the years, ......
ÎÊÌâµÄÌá³ö
¡¡¡¡¶à¹úÓïÑԵĴæÔÚ¡¢²»Í¬ÓïÑÔ²Ù×÷ϵͳµÄ´æÔÚ£¬Ê¹µÃÕë¶Ô¶àÓïÑÔµÄÉè¼ÆÆÄ·ÑÖÜÕ£¬ÔÚ±àÂëÉÏËù¸¶³öµÄ¹¤×÷Á¿Ò²Êǿɹ۵ġ£Ëùν±àÂëµÄÎÊÌ⣬¹é½áÆðÀ´£¬¾ÍÊǶþ½øÖƵıàÂëÒÔºÎÖÖ±àÂë¸ñʽ½øÐнâÎöµÄÎÊÌâ¡£ÌرðÊÇÔÚÓ²ÅÌÎļþºÍÄÚ´æÊý¾ÝµÄÏ໥ת»¯¡¢¼´¶Áд¹ý³ÌÖУ¬Èç¹û²ÉÓÃÁË´íÎóµÄ±àÂë¸ñʽ£¬¾Í»áÔì³ÉÂÒÂë¡£JAVA ÓïÑÔÔÚ×Ö·û´ ......
±¾ÎÄÀ´×Ô:Linux½Ì³Ì -- http://doc.linuxpk.com/53295.html
ÈçÓв»Ã÷°×Ö®´¦£¬»¶Ó²Î¼ÓÉçÇøÌÖÂÛ
1.Linux“Ï߳̔
±ÊÕßÔø¾ÔÚ¡¶»ùÓÚǶÈëʽ²Ù×÷ϵͳVxWorksµÄ¶àÈÎÎñ²¢·¢³ÌÐòÉè¼Æ¡·£¨¡¶Èí¼þ±¨¡·2006ÄêµÚ5~12ÆÚ£©ÖÐÏêϸÐðÊöÁ˽ø³ÌºÍÏ̵߳ÄÇø±ð£¬²¢Ôø¾ËµÃ÷LinuxÊÇÒ»ÖÖ“¶à½ø³Ìµ¥Ï߳̔µÄ²Ù×÷ϵͳ¡£ ......
ÔÚÕâ¶ùÏÂÔØ£ºcolor-theme
:
http://download.savannah.gnu.org/releases-noredirect/color-theme/
wget http://download.savannah.gnu.org/releases-noredirect/color-theme/color-theme-6.6.0.tar.gz
tar zxf color-theme-6.6.0.tar.gz -C ~/.emacs.d
ÔÚ.emacsÖмÓÈëÏÂÁÐÓï¾ä£º
;; corlor-theme ......