javaÓïÑÔÈçºÎµ÷ÓÃDLL
javaÓïÑÔµ÷ÓÃdllµÄ·½·¨£º
1¡£¼ÓÔØdll£¬±ØÐëÊǾ²Ì¬·½·¨¡£
static{
System.loadLibrary(DllConstants.DLL_PATH);
}
2¡£½«dllÖпª·¢µÄ½Ó¿ÚÉùÃ÷Ϊ±¾µØ½Ó¿Ú
public native String[] getTxt();
Ïà¹ØÎĵµ£º
Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......
Java
ÃüÁîÐй¤¾ß×ܽá
1¡¢ÃüÁî
C\Documents and Settings\Zianed>ls ‘%JAVA_HOME%’/bin
HtmlConverter.exe javap.exe jstatd.exe rmid.exe
appletviewer.exe javaw.exe &n ......
ʹÓÃJava»ñÈ¡IPµØַʵÀý
ÎÄÕ·ÖÀà:Java±à³Ì
ÏÖÔÚÔÚ´ÓÊµĹ¤×÷³öÏÖÁËÒ»¸öÎÊÌ⣬ż¶û»á³öÏÖÈ¡²»µ½ipµÄÇé¿ö£¬ËÑË÷ÁËһϣ¬ÔÀ´ÈçÏÂÎÄËù˵
ת×Ô£ºhttp://developer.51cto.com/art/200906/130491.htm
ʹÓÃJava»ñÈ¡IPµØַʵÀý
ÔÚJSPÀ»ñÈ¡¿Í»§¶ËµÄIPµØÖ·µÄ·½·¨ÊÇ£ºrequest.getRemoteAddr()£¬ÕâÖÖ·½·¨Ôڴ󲿷ÖÇé¿ö϶¼Ê ......
ÃæÊÔÖÐÓöµ½µÄÎÊÌ⣬´ó¼Ò¹²Í¬Ñ§Ï°£¡£¡
Java¹¤³§Ä£Ê½
Java¹¤³§Ä£Ê½¿´ÁËÕâô¶à¹ØÓÚ¹¤³§Ä£Ê½µÄ½²½â£¬»¹ÊǾõµÃÕâƪÎÄÕ½²µÄºÃÀí½â£¬Ìù³öÀ´ºÍ´ó¼Ò·ÖÏí·ÖÏí¡£
Ò»¡¢Òý×Ó
»°ËµÊ®ÄêÇ°£¬ÓÐÒ»¸ö****»§£¬Ëû¼ÒÓÐÈýÁ¾Æû³µ——Benz±¼³Û¡¢Bmw±¦Âí¡¢Audi°ÂµÏ£¬»¹¹ÍÁË˾»úΪËû¿ª³µ¡£²»¹ý£¬****»§×ø³µÊ±×ÜÊǹֵֹģºÉÏBenz³µºó ......
È¡:
Cookie[] cookies = request.getCookies();
if(cookies!=null){
for(Cookie cookie : cookies){
if(cookie.getName().equals("mid")){
String mid = cookie.getValue();
}
}
}
´æ:
String mid ......