<![CDATA[Latest posts for the topic "Lỗi khó hiểu khi chạy Eclipse IDE (java)?"]]> /hvaonline/posts/list/23.html JForum - http://www.jforum.net Lỗi khó hiểu khi chạy Eclipse IDE (java)? # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0095ce69, pid=1704, tid=3348 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing) # Problematic frame: # v ~RuntimeStub::resolve_opt_virtual_call # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x003e6800): JavaThread "main" [_thread_in_Java, id=3348] siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x0090f0b4 Registers: EAX=0x26deccd0, EBX=0x26deccd0, ECX=0x16c40000, EDX=0x70800001 ESP=0x0090f048, EBP=0x0090f158, ESI=0x16c40000, EDI=0x00ac6270 EIP=0x0095ce69, EFLAGS=0x00010216 Top of Stack: (sp=0x0090f048) 0x0090f048: ffff1372 ffff0000 ffffffff 00940489 0x0090f058: 0090001b 0090ec10 ffff0023 00000002 0x0090f068: 00000001 0b500000 fffce32c 0010ffff 0x0090f078: 95cf1be4 e32c0b56 00020010 00000000 0x0090f088: 1ac00000 95cf1944 bf855203 00400084 0x0090f098: 00100000 30180000 00000040 95cf1ba4 0x0090f0a8: 0000e5af 00000000 00000000 003e634c 0x0090f0b8: 000001b2 003e6800 003e6328 003e6800 Instructions: (pc=0x0095ce69) 0x0095ce59: 00 00 83 ec 6c dd 34 24 9b dd 24 24 dd 5c 24 6c 0x0095ce69: dd 5c 24 74 dd 5c 24 7c dd 9c 24 84 00 00 00 dd Stack: [0x008c0000,0x00910000), sp=0x0090f048, free space=316k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) v ~RuntimeStub::resolve_opt_virtual_call J org.eclipse.swt.widgets.Display.getShells()[Lorg/eclipse/swt/widgets/Shell; j org.eclipse.swt.widgets.Shell.getShells()[Lorg/eclipse/swt/widgets/Shell;+10 j org.eclipse.swt.widgets.Shell.releaseChildren(Z)V+1 j org.eclipse.swt.widgets.Widget.release(Z)V+40 j org.eclipse.swt.widgets.Widget.dispose()V+23 j org.eclipse.swt.widgets.Decorations.dispose()V+52 j org.eclipse.swt.widgets.Shell.dispose()V+1 j org.eclipse.jface.window.Window.close()Z+65 j org.eclipse.jface.dialogs.Dialog.close()Z+30 j org.eclipse.jface.dialogs.TrayDialog.close()Z+12 j org.eclipse.jface.dialogs.Dialog.okPressed()V+6 j org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.okPressed()V+15 j org.eclipse.jface.dialogs.Dialog.buttonPressed(I)V+5 j org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+17 j org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+198 j org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+71 j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25 j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+84 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+55 j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23 j org.eclipse.jface.window.Window.open()I+49 j org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(Z)V+15 j org.eclipse.ui.internal.ide.IDEApplication.promptForWorkspace(Lorg/eclipse/swt/widgets/Shell;Lorg/eclipse/ui/internal/ide/ChooseWorkspaceData;Z)Ljava/net/URL;+15 j org.eclipse.ui.internal.ide.IDEApplication.checkInstanceLocation(Lorg/eclipse/swt/widgets/Shell;)Z+114 j org.eclipse.ui.internal.ide.IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;+19 j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x030c0800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=3492] 0x03058800 JavaThread "State Saver" [_thread_blocked, id=3484] 0x0308e800 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=3464] 0x02b97800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3404] 0x02b92800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2948] 0x02b91c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3400] 0x02b9d800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3392] 0x02b52000 JavaThread "Finalizer" daemon [_thread_blocked, id=3360] 0x02b4dc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2968] =>0x003e6800 JavaThread "main" [_thread_in_Java, id=3348] Other Threads: 0x02b44800 VMThread [id=3356] 0x02b98c00 WatcherThread [id=3408] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 2880K, used 1408K [0x169b0000, 0x16cc0000, 0x17d60000) eden [error occurred during error reporting, step 190, id 0xc0000092] Dynamic libraries: 0x00400000 - 0x00423000 C:\WINDOWS\system32\javaw.exe 0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll 0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll 0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll 0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll 0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll 0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL 0x62d80000 - 0x62d89000 C:\WINDOWS\system32\LPK.DLL 0x75490000 - 0x754f1000 C:\WINDOWS\system32\USP10.dll 0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\msvcrt.dll 0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0_01\bin\msvcr71.dll 0x6d7c0000 - 0x6da07000 C:\Program Files\Java\jre1.6.0_01\bin\client\jvm.dll 0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll 0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0_01\bin\hpi.dll 0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL 0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_01\bin\verify.dll 0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0_01\bin\java.dll 0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_01\bin\zip.dll 0x6d570000 - 0x6d583000 C:\Program Files\Java\jre1.6.0_01\bin\net.dll 0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll 0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll 0x6d590000 - 0x6d599000 C:\Program Files\Java\jre1.6.0_01\bin\nio.dll 0x10000000 - 0x10053000 E:\SETUP\JForum\eclipse-SDK-3.2.2-win32\eclipse\configuration\org.eclipse.osgi\bundles\79\1\.cp\swt-win32-3236.dll 0x77670000 - 0x777a4000 C:\WINDOWS\system32\ole32.dll 0x77420000 - 0x77523000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_7AE38CCF\COMCTL32.dll 0x77da0000 - 0x77df2000 C:\WINDOWS\system32\SHLWAPI.dll 0x762b0000 - 0x762fa000 C:\WINDOWS\system32\comdlg32.dll 0x7c8d0000 - 0x7d0d3000 C:\WINDOWS\system32\SHELL32.dll 0x77d00000 - 0x77d8c000 C:\WINDOWS\system32\OLEAUT32.dll 0x63000000 - 0x630ce000 C:\WINDOWS\system32\WININET.dll 0x03dd0000 - 0x03dd9000 C:\WINDOWS\system32\Normaliz.dll 0x5dca0000 - 0x5dce5000 C:\WINDOWS\system32\iertutil.dll 0x75fc0000 - 0x75fe2000 C:\WINDOWS\system32\MSVFW32.dll 0x4b8d0000 - 0x4b921000 C:\WINDOWS\system32\MSCTF.dll 0x75e60000 - 0x75e87000 C:\WINDOWS\system32\apphelp.dll 0x4dc30000 - 0x4dc5e000 C:\WINDOWS\system32\msctfime.ime 0x71b70000 - 0x71ba6000 C:\WINDOWS\system32\UxTheme.dll 0x60970000 - 0x6097a000 C:\WINDOWS\system32\mslbui.dll 0x04230000 - 0x04261000 C:\Program Files\Zeallsoft\Super Screen Capture\zHook.dll VM Arguments: jvm_args: -Xms40m -Xmx256m java_command: E:\SETUP\JForum\eclipse-SDK-3.2.2-win32\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher E:\SETUP\JForum\eclipse-SDK-3.2.2-win32\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata d00_88 -vm C:\WINDOWS\system32\javaw.exe -vmargs -Xms40m -Xmx256m -jar E:\SETUP\JForum\eclipse-SDK-3.2.2-win32\eclipse\startup.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01 CLASSPATH=C:\Program Files\ecKnowledge;C:\Program Files\ecKnowledge\xerces.jar;C:\Program Files\ecKnowledge\eck.jar;C:\Program Files\ecKnowledge\Redist\imap.jar;C:\Program Files\ecKnowledge\Redist\pop3.jar;C:\Program Files\ecKnowledge\Redist\smtp.jar;C:\Program Files\ecKnowledge\Redist\mail.jar;C:\Program Files\ecKnowledge\Redist\activation.jar;C:\Program Files\ecKnowledge\Redist\sax2.jar PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\PROGRA~1\ECKNOW~1;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\;C:\Program Files\lotus\notes\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Java\jdk1.6.0_01\bin USERNAME=Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 1 CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 981456k(396908k free), swap 1690400k(1157428k free) vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310   Hỏi Mr Google thì tớ kiếm được vài solutions như sau:
Notice the multiple entries regarding the C:\Prog....\javaw.exe Why is the javaw.exe in there twice? It's getting put in there a second time by the eclipse.ini file - at least that's my assumption. Clear out the eclipse.ini file. It's documented here:  
I fixed my problem i simply deleted the meta flie in the workspace directory  
If you have the sun JVM 1.4.2.x or 1.5 increase the heap storage with the Xmx Parameter! I had the same problem. I changed from Xmx256 to Xmx350  
Bạn chép JRE vào thư mục eclipse xem.  
Hi. this worked for me: 1) find a file "javaw.exe" , there can be more than one (sun, microsoft, and ibm..etc) 2) execute eclipse with explicit PATH to javaw.exe , for example if path is 'C:\java2sdk14\bin\' therefore executed as follows at command prompt/run/dos: eclipse -vm "C:\java2sdk14\bin\javaw" 3) update the shortcuts on desktop and start/programs with new command or 3) create a "bat file" such as "eclipse.bat" with the command depending on your setup using notepad.exe eclipse -vm "C:\java2sdk14\bin\javaw"  
Maybe you should increase the heap size and add "-XX:MaxPermSize=128m" in the "eclipse.ini" file, especially if you're working with WTP. I'm using the following memory settings: -Xms128m -Xmx512m -XX:MaxPermSize=128m Torsten Reply With Quote  
Now, somebody mentioned that maybe I should up the Xms512 to somethig larger. Pehaps the JVM wasn't getting enough memory. However, the launcher just called the eclipse.exe file. I was curiousas to where the parameters were being initialized, which is what lead me to the eclipse.ini file. Now what I noticed was that the things that were being displayed in the error weren't in the same order as the eclipse.ini file. When I looked closer, I saw that parameters for a javaw.exe were being set, and then they were being SET AGAIN, and the second time around, the initializations were in the same order as the eclipse.ini file. So, eclipse was getting run with various initialization parameters, and then it was reading the eclipse.ini file, and trying to do all the initializations again. So, I backed up the eclipse.ini file, and then erased the contents of the original.  
Tớ đã thử tất cả các cách trên nhưng đều không được, có bác nào biết fix lỗi này không? Thanks ]]>
/hvaonline/posts/list/9748.html#56041 /hvaonline/posts/list/9748.html#56041 GMT
Re: Lỗi khó hiểu khi chạy Eclipse IDE (java)? /hvaonline/posts/list/9748.html#56217 /hvaonline/posts/list/9748.html#56217 GMT Lỗi khó hiểu khi chạy Eclipse IDE (java)? /hvaonline/posts/list/9748.html#56265 /hvaonline/posts/list/9748.html#56265 GMT Re: Lỗi khó hiểu khi chạy Eclipse IDE (java)?

conmale wrote:
Bồ cho biết, - bồ cài JDK như thế nào? có bao nhiêu cái JDK đã cài trên máy của bồ? bồ có copy thứ gì của java vào system32 bằng tay không? - bồ cài Eclipse như thế nào?  
Em load jdk về và cài bình thường, chỉ có duy nhất 1 cái jdk trên máy của em. Sau khi thử solution copy jre vào trong thư mục Eclipse thì thông báo lỗi chỉ ra đường dẫn của javaw.exe trong System32 nên sau đó em đã copy thử javaw.exe vào system32 anh ạ, nhưng vẫn không được. Em load Eclipse 3.2 về, giải nén và chạy bằng 2 cách: 1. double click on eclipse.exe 2. em chạy bằng command prompt: eclipse.exe -vm "đường dẫn đến javaw.exe trong jdk" Cả 2 cách này đều bị lỗi trên anh ạ
Hình như có vẽ bạn muốn Setup Jforum , tức là làm 1 web server đúng không bạn? Vậy bạn đã cài Apache Tomcat chưa ? theo như mình biết thì JDK 1.6 và JRE 1.6 là tạm ổn , Eclipse thì không cần cài đặt , chỉ cần load về giải nén ra là được. Source web phải đặt trong webappser của Apache. bạn thử remove sau đó cài lại toàn bộ thử xem có còn lỗi đó không? Eclipse hình chư chỉ là một trình soạn thảo.  
Đúng là tớ muốn cài JForum, nhưng mà tớ đã cài thành công rồi, bây h cần chạy Eclipse để học java và đọc code của JForum luôn Anh Conmale ơi, liệu có khả năng version này của Eclipse không chạy được trên 1 số version khác của jdk không, platform có liên quan gì trong chuyện này không? OS của em là Win Server 2003 SP1 anh ạ. Cảm ơn anh và mọi người. ]]>
/hvaonline/posts/list/9748.html#56380 /hvaonline/posts/list/9748.html#56380 GMT
Re: Lỗi khó hiểu khi chạy Eclipse IDE (java)?

quanta wrote:

conmale wrote:
Bồ cho biết, - bồ cài JDK như thế nào? có bao nhiêu cái JDK đã cài trên máy của bồ? bồ có copy thứ gì của java vào system32 bằng tay không? - bồ cài Eclipse như thế nào?  
Em load jdk về và cài bình thường, chỉ có duy nhất 1 cái jdk trên máy của em. Sau khi thử solution copy jre vào trong thư mục Eclipse thì thông báo lỗi chỉ ra đường dẫn của javaw.exe trong System32 nên sau đó em đã copy thử javaw.exe vào system32 anh ạ, nhưng vẫn không được. Em load Eclipse 3.2 về, giải nén và chạy bằng 2 cách: 1. double click on eclipse.exe 2. em chạy bằng command prompt: eclipse.exe -vm "đường dẫn đến javaw.exe trong jdk" Cả 2 cách này đều bị lỗi trên anh ạ
Hình như có vẽ bạn muốn Setup Jforum , tức là làm 1 web server đúng không bạn? Vậy bạn đã cài Apache Tomcat chưa ? theo như mình biết thì JDK 1.6 và JRE 1.6 là tạm ổn , Eclipse thì không cần cài đặt , chỉ cần load về giải nén ra là được. Source web phải đặt trong webappser của Apache. bạn thử remove sau đó cài lại toàn bộ thử xem có còn lỗi đó không? Eclipse hình chư chỉ là một trình soạn thảo.  
Đúng là tớ muốn cài JForum, nhưng mà tớ đã cài thành công rồi, bây h cần chạy Eclipse để học java và đọc code của JForum luôn Anh Conmale ơi, liệu có khả năng version này của Eclipse không chạy được trên 1 số version khác của jdk không, platform có liên quan gì trong chuyện này không? OS của em là Win Server 2003 SP1 anh ạ. Cảm ơn anh và mọi người.  
Anh không có sẵn con server nào chạy windows 2003 để test thử nhưng theo release note của http://www.eclipse.org/eclipse/development/readme_eclipse_3.2.2.html thì không hề thấy có thông tin nào cho biết Eclipse đã được thử nghiệm trên Windows 2003 server và dùng JRE 1.6 cả. Anh đã thử jre 1.6 trên Windows 2000 và Windows XP bằng: C:\devx\eclipse>eclipse.exe -vm "C:\JDK\jre1.6.0_01\bin\javaw.exe" và cả 2 đều chạy ngon lành. Có thể em bị dính phần DEP (Data Execution Prevention) của Windows 2003 cản không cho chạy Eclipse (hoặc những phần liên quan đến Eclipse). Điều chỉnh DEP ở "My Computer/System Properties/Advanced/Performance Options/Data Excecution Prevention". Good luck.]]>
/hvaonline/posts/list/9748.html#56437 /hvaonline/posts/list/9748.html#56437 GMT
Re: Lỗi khó hiểu khi chạy Eclipse IDE (java)? /hvaonline/posts/list/9748.html#56533 /hvaonline/posts/list/9748.html#56533 GMT Re: Lỗi khó hiểu khi chạy Eclipse IDE (java)?

quanta wrote:
Vâng ạ, cảm ơn anh, em sẽ thử "Turn on DEP for all programs and services..." xem sao, nếu không được nữa chắc phải test and run trên XP vậy. ps: Nếu mà vẫn không được nữa thì sao anh nhỉ?  
Bảo đảm được trên XP. Không được nữa thì từ bỏ bác Bill :P) ]]>
/hvaonline/posts/list/9748.html#56546 /hvaonline/posts/list/9748.html#56546 GMT
Re: Lỗi khó hiểu khi chạy Eclipse IDE (java)? /hvaonline/posts/list/9748.html#56774 /hvaonline/posts/list/9748.html#56774 GMT