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

Java³ÌÐòÁ¬½ÓDB2

1¡¢°ÑDB2°²×°Ä¿Â¼ÏµÄdb2java.zipµ¼Èëµ½ÏîÄ¿µÄÍⲿÀ࣬ÈçÎÒÊǰÑD:\Program Files\IBM\SQLLIB\javaϵÄdb2java.zipµ¼ÈëµÄ¡£
2¡¢ÔÚ³ÌÐòÖн¨Á¢Á¬½Ó£º
  Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
  String url="jdbc:db2:mydb"; //²»±ØÖ¸¶¨Ö÷»úÃûºÍ¶Ë¿ÚºÅ£¬Ö¸¶¨ÁË·´¶ø»á³ö´í        
  String user="*****";    
  String password="******";
  conn=DriverManager.getConnection(url,user,password);
3¡¢½ÓÏÂÈ¥±ã¿ÉÒÔÖ±½Ó½øÐвéѯÁË£º
   st=(Statement) conn.createStatement();
   rs=st.executeQuery(query);


Ïà¹ØÎĵµ£º

JAVA²Ù×÷XMLµÄÍêÕûÀý×Ó——W3C DOMƪ

ÕâÊÇÒ»¸öÓÃJAVA W3C DOM ½øÐÐXML²Ù×÷µÄÀý×Ó£¬°üº¬Á˲éѯ¡¢Ôö¼Ó¡¢Ð޸ġ¢É¾³ý¡¢±£´æµÄ»ù±¾²Ù×÷¡£½ÏÍêÕûµÄÃèÊöÁËÒ»¸öXMLµÄÕû¸ö²Ù×÷Á÷³Ì¡£ÊʺϸÕÈëÃÅJAVA XML²Ù×÷µÄÅóÓѲο¼ºÍѧϰ¡£
¼ÙÉèÓÐXMLÎļþ£ºtest1.xml
<?xml version="1.0" encoding="UTF-8"?>
<books>
 <book>
  <name>¹þÀï²¨Ì ......

java.lang.reflect.Method £¨java·´Éä»úÖÆ£©

¹«Ë¾Vac·½·¨¹ýÂËÆ÷ʹÓõ½·´Éä»úÖÆ£¬¶ÁÈ¡xmlÅäÖÃÎļþ¹ýÂËÓû§·ÃÎʵķ½·¨ÃûÊÇ·ñºÏ·¨¡£
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        HttpServletRequest httpRequest = (HttpServletRe ......

µãÕó×Ö¿âÔÚJAVAÖеÄʵÏÖ

±¾ÎÄת×Ô£ºhttp://hi.baidu.com/%E6%AD%A3%E9%81%93%E6%B0%94%E5%8A%9F/blog/item/70a90e01e69516e708fa93c6.html
ÓÉÓÚ±¾ÈËÔÚ×ö MOTO ÊÖ»úÉϵÄÒ»¿îÔĶÁÆ÷
Anyview ʱ£¬²¢²»ÂúÒâÊÖ»ú×Ô´øµÄ×ֿ⣬Òò´Ë£¬Ê¹ÓÃÁËÍâ¹Ò×ֿ⣬ÔÚ±àÂë¹ý³ÌÖУ¬×ܽáÁËһЩ¾­Ñé£¬ÌØ¼Ç¼ÏÂÀ´Óë´ó¼Ò·ÖÏí¡£ËäÈ»ÔĶÁÆ÷ÊÇʹÓà J2ME
¿ª·¢£¬µ«Æä»ù±¾Ô­ÀíÊ ......

Java½â»ó1 4³õ¼¶ÎÊÌâ

µÃÀ²£¬Ç°ÃæÄǸöÃÕÌâÊÇÓе㼬ÊÖ£¬µ«ËüÊÇÓйØÕû³ýµÄ£¬Ã¿¸öÈ˶¼ÖªµÀÕû³ýÊǺÜÂé·³µÄ¡£ÄÇôÏÂÃæµÄ³ÌÐòֻɿ¼°¼Ó·¨£¬ËüÓÖ»á´òÓ¡³öÊ²Ã´ÄØ£¿
public class Elementary{
public static void main(String[] args){
System.out.println(12345+5432l);
}
}
´Ó±íÃæÉÏ¿´£¬ÕâÏñÊÇÒ»¸öºÜ¼òµ¥µÄÃÕÌâ——¼òµ¥µ½²»ÐèÒªÖ½ºÍ ......

Ubuntu 10.04ϵĴSUN JAVA¿ª·¢»·¾³

ÏÂÃæÊǰ²×°ºÍÅäÖò½Öè
°²×°open-jdk-6£¬sudo apt-get install open-jdk-6£¨²»Öªµ½ÎªÊ²Ã´²»°²×°Õâ¸öÔËÐв»ÁËjavaºÍjavacÃüÁ£¡£¡£©
µ½oracle¹ÙÍøÏÂÔØjdk-6u20-linux-i586.binÎļþ
½«jdk-6u20-linux-i586.bin¸´ÖƵ½/usr/lib/jvm/javaÎļþ¼ÐÏÂ
ÔËÐÐsudo chmod a+x jdk-6u20-linux-i586.bin
ÔËÐÐsudo ./jdk-6u20-li ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ