Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JAVAͨ¹ýJNIµ÷ÓÃDLLÎÊÌâ

×î½üÒªÔÚÒ»¸öJAVA¹¤³ÌÖе÷ÓÃÒ»¸ö±ðÈ˵ÄDLL¿â£¬³öÏÖÁËÒÔÏÂÎÊÌ⣺ƽ̨ÊÇJDK1.6.0_2
±ðÈ˵ÄDLLµ¼³öµÄº¯ÊýÀàËÆÓÚ_Java_Sth_1Find@12 £¬¶øÎÒ·ÃÎʸú¯ÊýµÄÀàÈç¹ûÔÚdefault packageϾͿÉÒÔÕý³£·ÃÎÊ£¬¾ÍÊÇ˵DLLµ¼³öµÄJNIÊÇÔÚĬÈϰüÏµģ¬¶øÈç¹û°Ñ¸ÃÀà·ÅÈëÌØ¶¨µÄ°üϾͻá³öÏÖException in thread "main" java.lang.UnsatisfiedLinkError:com.Sth.Find()IµÄÒì³££¬µ«Èç¹ûÖ±½Ó·Åµ½default packageÏ£¬ÆäËüÀàÓÖÎÞ·¨·ÃÎÊËü£¨¾­²éÔÚJDK1.4.0ÒÔºó¾Í²»Ö§³Öµ¼Èëdefault package°üÖеÄÀàÁË£©
³ýÁ˰ÑËùÓÐÀà¶¼·ÅÈëdefault packageÏ£¬²»ÖªµÀ»¹ÓÐûÓбðµÄ°ì·¨¡£


Ïà¹ØÎĵµ£º

JAVA¶ÁÊé±Ê¼Ç£¨¶þ£©

²Ù×÷·û
1.λ²Ù×÷·û
(a) >>>ÓÒÒÆ£¬¸ßλÓÃ0Ìî³ä£»
int a = 14;
int b = 2;
System.out.println(a >>> b);// 3
int c = -14;
int d = 2;
System.out.println(c >>> d);// 1073741820
(b) >>·ûºÅλ²»±ä£¬ÆäËûλÓÒÒÆ£¬¸ßλÓÃ0Ìî³ä£¬Æä½á¹ûÓëa/2bÏàͬ£»
int a = 14;
int b = 2;
Sy ......

ÈçºÎÒÔJavaʵÏÖÍøÒ³½ØÍ¼¼¼Êõ

½ñÌì¿´µ½Ä³ÍøÓѹØÓÚ“ÈçºÎÒÔJavaʵÏÖÍøÒ³½ØÍ¼¼¼Êõ”µÄ×ÉѯÌû£¬ÓÉÓÚ³öÏÖ¸Ã×ÉѯµÄµØµã·Ç³£²»ÊʺϽϳ¤»Ø¸´£¬¹ÊÒÔ²©ÎÄÐÎʽ»Ø´ð¡£
ÊÂʵÉÏ£¬Èç¹ûÄúÏëÒÔJavaʵÏÖÍøÒ³½ØÍ¼£¬Ò²¾ÍÊÇ“ÊäÈëÒ»¶ÎÍøÖ·£¬¼¸ÃëÖÓ¹ýºó¾ÍÄܽØÈ¡Ò»ÕÅÍøÒ³ËõÂÔͼ”µÄЧ¹û¡£ÄÇô£¬ÄúÖÁÉÙÓÐ3ÖÖ·½Ê½¿ÉÒÔÑ¡Ôñ¡£
1¡¢×îÖ±½ÓµÄ·½Ê½—— ......

javaÉú²úexcelÎĵµ

ÏÂÔØµØÖ· ¿ÉÒÔÔÚeclpseÖÐÅܵÄ
Éú²úexcelÓ¦Óãº
package com.lihp.exl;
/**
 Ä¿µÄ£ºÌṩÓÉÊý¾Ý¶ÔÏ󼯺ÏÀࣨVector£©Éú³ÉExcel¹¤×÷±íµÄ¹¦ÄÜ
 ×÷Õߣºlihaipeng
 */
import java.io.*;
import java.util.*;
import java.lang.reflect.Method;
import org.apache.poi.hssf.usermodel.HSSFSheet;
impor ......

javaѧϰ ÎļþIOÁ÷

   
ÏëÅúÁ¿ÐÞ¸ÄÒ»¸öÎļþ¼ÐµÄËùÓÐÎļþµÄÎļþÃû£¬ÔÚÍøÉÏÕÒÁ˺öàÈí¼þ¶¼²»ºÃÓã¬ÃÍÈ»ÏëÆðÀ´ÎÒ×Ô¼ºÒ²»áд´úÂëô~~~
Õâ¸ö´úÂëÖ»ÄÜ×Ô¶¨ÒåÀ©Õ¹Ãû¡£¡£ÎļþÃûĬÈÏÊÇ0£¬ÒÔºó¾Í++À²£¬Ò²¾ÍÊÇ1£¬2£¬3……Ö»ÊÇ»ù´¡ÐÔ´úÂë
import java.io.File;
public class Rename {
 /**
  * @param args
......

oracleµ÷ÓÃjavaÀà±éÀú´ÅÅÌÎļþ

ÀûÓÃoracle×Ô´øµÄutl_file°ü¿ÉÒÔ·ÃÎÊ´ÅÅÌÎļþ£¬µ«ÓиöÏÞÖÆ--ÎÞ·¨·ÃÎÊÎļþ¼Ð£¿Ê²Ã´ÒâË¼ÄØ£¿¾ÍÊÇ˵oracleÖ»ÄÜ·ÃÎÊÖ¸¶¨µÄÎļþ£¬¶ø²»ÄÜ·ÃÎÊÎļþ¼ÐϵÄδ֪Îļþ¡£ËùÒÔ£¬Èç¹ûҪͨ¹ýoracleÈ¥±éÀúijָ¶¨Â·¾¶ÏµÄËùÓÐÎļþ£¬sorry, impossible! µ«ÊÇ£¬ÓÐÒ»ÖÖÌæ´ú·½°¸¿ÉÒÔÖúÄãÒ»±ÛÖ®Á¦£¡
ÖÚËùÖÜÖªjavaÖ®FileÀàÖ¸ÏòµÄ¿ÉÒÔÊÇĿ¼Ҳ¿ÉÒÔÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ