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

javaÄÚ´æÉèÖÃ

 ½â¾öÕ»ºÍ¶ÑÄÚ´æÒç³ö°ì·¨ÒªÉèÖû·¾³ÄÚ´æ±äÁ¿£º
1¡¢ÔÚÔËÐнçÃ棨cmd½øÈ룩ÖÐÔËÐÐÃüÁjava -Xms256m -Xmx1024m£¬Î¬»¤ÉÏÏÂÏÞÄÚ´æ²ÎÊý£¬×î´óÄÚ´æ²»ÄÜ´í¹ýϵͳÄÚ´æµÄ1/4£¬×îСÄÚ´æ²»ÄÜСÓÚ×î´óÄÚ´æµÄ1/4
2¡¢ÔÚTommcat /bin·¾¶Ï£¬Èç¹ûÊÇ°²×°°æÐèÒªservice.batÎļþ,´ËÎļþÔÚ½âѹËõ°æÀï¡£
3¡¢ ÔÚÔËÐнçÃ棨cmd½øÈ룩ÖÐ
ÔËÐÐÃüÁcd Tommcat /bin½øÈëÏàӦĿ¼£¬
ÔËÐÐÃüÁservice.bat install Tomcat5
ÔÙÔËÐÐÃüÁtomcat5.exe //US//Tomcat5 --JvmMs=256 --JvmMx=1024
StackOverFlowErrorÊÇÕ»ÄÚ´æÒç³öÌáʾ¡£
Java heap spaceÊǶÑÄÚ´æÒç³öÌáʾ¡£
¶Ñ£ºÓÃÓÚ´æ´¢±äÁ¿Öµ¡£
Õ»£ºÓÃÓÚ´æ´¢±äÁ¿Ãû¡£
ÀýÈ磺String str="shenyang";
¶Ñ´æ´¢str¡£Õ»´æ´¢shenyang¡£


Ïà¹ØÎĵµ£º

java JNI ³¢ÊÔ

 ¡¡¡¡Ê×ÏÈÒýÓÃһƪÎÄÕ£¬½éÉÜÒ»¸ö¼òµ¥µÄJNIµÄµ÷ÓõĹý³Ì¡£¡¡¡¡JAVAÒÔÆä¿çƽ̨µÄÌØÐÔÉîÊÜÈËÃÇϲ°®£¬¶øÓÖÕýÓÉÓÚËüµÄ¿çƽ̨µÄÄ¿µÄ£¬Ê¹µÃËüºÍ±¾µØ»úÆ÷µÄ¸÷ÖÖÄÚ²¿ÁªÏµ±äµÃºÜÉÙ£¬Ô¼ÊøÁËËüµÄ¹¦ÄÜ¡£½â¾öJAVA¶Ô±¾µØ²Ù×÷µÄÒ»ÖÖ·½·¨¾ÍÊÇJNI¡£¡¡¡¡JAVAͨ¹ýJNIµ÷Óñ¾µØ·½·¨£¬¶ø±¾µØ·½·¨ÊÇÒÔ¿âÎļþµÄÐÎʽ´æ·ÅµÄ£¨ÔÚWINDOWSƽ̨ÉÏÊÇDL ......

±£´æjava¶ÔÏóµ½Êý¾Ý¿â£¬²¢´ÓÊý¾Ý¿â¶Á³öÉú³ÉÓû§½çÃæ



ÏòÊý¾Ý¿â±£´æ¶ÔÏ󣬲ÉÓÃObjectOutputStreamÏòÊý¾Ý¿âÖ±½ÓдÈë
/**
 * Title: AF
 * Description: ÏòÊý¾Ý¿âÖÐдÈë¶ÔÏó²âÊÔ³ÌÐò
 * Copyright: Copyright 2009 ufgov, Inc.
 * Compan ......

»ùÊýÅÅÐò java Ëã·¨

package sort;
public class RadixSort {
 // Çóx ÊýµÚdλÉϵÄÊý×Ö£¬ÀýÈç12345£¬Ê®Î»Êý×ÖÊÇ4  12345/10%10=4
 // d=0 ±íʾ¸öλ £»d=1 ±íʾʮλ...ÒÀ´ÎÀàÍÆ
 public static int digit(int d,int x){
  return x/(int)Math.pow(10, d)%10;
 }
 
 public static void ra ......

javaÖеÄstaticÏê½â

Èç¹ûÒ»¸öÀà³ÉÔ±±»ÉùÃ÷Ϊstatic£¬Ëü¾ÍÄܹ»ÔÚÀàµÄÈκζÔÏó´´½¨Ö®Ç°±»·ÃÎÊ£¬¶ø²»±ØÒýÓÃÈκζÔÏó¡£static ³ÉÔ±µÄ×î³£¼ûµÄÀý×ÓÊÇmain( ) ¡£ÒòΪÔÚ³ÌÐò¿ªÊ¼Ö´ÐÐʱ±ØÐëµ÷ÓÃmain() £¬ËùÒÔËü±»ÉùÃ÷Ϊstatic¡£
ÉùÃ÷ΪstaticµÄ±äÁ¿ÊµÖÊÉϾÍÊÇÈ«¾Ö±äÁ¿¡£µ±ÉùÃ÷Ò»¸ö¶ÔÏóʱ£¬²¢²»²úÉústatic±äÁ¿µÄ¿½±´£¬¶øÊǸÃÀàËùÓеÄʵÀý±äÁ¿¹²ÓÃͬһ¸ö ......

FLASH+JAVA¿ª·¢ÊµÊ±ÍøÂçÓÎÏ·

 ±¾ÎÄ·ÖÁ½²¿·Ö£ºFLASH±à³Ì ºÍ Java±à³Ì£¬´ËÎļǼµÄ½ö½öÊÇÎÒÔÚ̽Ë÷ÖеÄһЩÊÕ»ñ£¬ÆäÖÐÓÃÁ˺ܶà¸öÈË»¯µÄÃèÊöÓïÑÔ£¬²¢²»ÊÇÒµ½ç±ê×¼µÄÓÃÓï¡£ £º£©
̽Ë÷±Ê¼Ç£º  
Ä¿Ç°¹úÄÚFlashÓ¦Óô󲿷ֻ¹ÊÇÔÚÖÆ×÷¾«ÃÀµÄ¶¯»­·½Ã棬µ«¾ÝÎÒÁ˽âÔçÔÚFlash4 µÄʱ´ú£¬¹úÍâһЩÈ˾ÍÒѾ­¿ªÊ¼½«flash¼¼ÊõÔËÓÃÓÚ¿ª·¢¶¯Ì¬ÍøÕ¾£¨ºÍphp¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ