• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

Problems running eclipse

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having trouble running eclipse after download. I've played with the environment variables to add my most recent version of java, but the error still keeps occuring. Any suggestions are appreciated.


__________________BEGIN ERROR LOG________________________

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d707b68, pid=1080, tid=1732
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
# Problematic frame:
# V [jvm.dll+0xc7b68]
#

--------------- T H R E A D ---------------

Current thread (0x00a17df0): VMThread [id=1732]

siginfo: ExceptionCode=0xc0000005, reading address 0x656e6150

Registers:
EAX=0x656e6150, EBX=0x2bea1bf0, ECX=0x2bea1c00, EDX=0x6d766bc4
ESP=0x02b8fc38, EBP=0x02b8fc50, ESI=0x2bea1bf8, EDI=0x0035a970
EIP=0x6d707b68, EFLAGS=0x00010206

Top of Stack: (sp=0x02b8fc38)
0x02b8fc38: 6d6b3425 2bea1c00 009f40c0 6d7aa8e8
0x02b8fc48: 009f40c0 000006a0 02b8fc74 6d6ad69b
0x02b8fc58: 6d7aa8e8 009f40c0 6d7aa8e8 00000001
0x02b8fc68: 6d6ae8f4 00000001 00000000 02b8fccc
0x02b8fc78: 6d6ae901 6d7aa8e8 6d7aa8c8 00000001
0x02b8fc88: 009f40c0 00000000 00000000 00000001
0x02b8fc98: 00000001 00000000 00000000 00000000
0x02b8fca8: 00000000 0000bde0 00000000 0035f398

Instructions: (pc=0x6d707b68)
0x6d707b58: 00 e9 9b fd ff ff 8b 4c 24 04 8b 01 85 c0 74 09
0x6d707b68: 8b 00 83 e0 fc 74 02 89 01 c2 04 00 8b 4c 24 04


Stack: [0x02b50000,0x02b90000), sp=0x02b8fc38, free space=255k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xc7b68]
V [jvm.dll+0x6d69b]
V [jvm.dll+0x6e901]
V [jvm.dll+0x6e4e2]
V [jvm.dll+0x71afb]
V [jvm.dll+0xffd2b]
V [jvm.dll+0x6d2fa]
V [jvm.dll+0x6d98a]
V [jvm.dll+0x11a6ae]
V [jvm.dll+0x11a185]
V [jvm.dll+0x11a325]
V [jvm.dll+0x11a0ba]
C [MSVCRT.dll+0x2a3b0]
C [kernel32.dll+0xb50b]

VM_Operation (0x0006c66c): full generation collection, mode: safepoint, requested by thread 0x00355318


--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x02ddada0 JavaThread "Java indexing" daemon [_thread_blocked, id=1680]
0x034d88d0 JavaThread "Worker-3" daemon [_thread_blocked, id=404]
0x034c0348 JavaThread "Worker-2" daemon [_thread_blocked, id=336]
0x0331c008 JavaThread "Worker-1" daemon [_thread_blocked, id=248]
0x0343f5b0 JavaThread "Worker-0" daemon [_thread_blocked, id=392]
0x02f0f800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=1652]
0x02d139f8 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=636]
0x00a1eca8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1480]
0x00a1d880 JavaThread "CompilerThread0" daemon [_thread_blocked, id=772]
0x00a1cb70 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1904]
0x0035e818 JavaThread "Finalizer" daemon [_thread_blocked, id=1032]
0x009f3aa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=1952]
0x00355318 JavaThread "main" [_thread_blocked, id=360]

Other Threads:
=>0x00a17df0 VMThread [id=1732]
0x00a1feb8 WatcherThread [id=1044]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x003549b8/0x00000720] Threads_lock - owner thread: 0x00a17df0
[0x00354b38/0x000006e4] Heap_lock - owner thread: 0x00355318

Heap
def new generation total 2880K, used 1422K [0x16a80000, 0x16da0000, 0x17e30000)
eden space 2560K, 47% used [0x16a80000, 0x16bb3238, 0x16d00000)
from space 320K, 60% used [0x16d00000, 0x16d30728, 0x16d50000)
to space 320K, 0% used [0x16d50000, 0x16d50000, 0x16da0000)
tenured generation total 37824K, used 7984K [0x17e30000, 0x1a320000, 0x26a80000)
the space 37824K, 21% used [0x17e30000, 0x185fc1c0, 0x18633000, 0x1a320000)
compacting perm gen total 16384K, used 16384K [0x26a80000, 0x27a80000, 0x2aa80000)
the space 16384K, 100% used [0x26a80000, 0x27a80000, 0x27a80000, 0x27a80000)
ro space 8192K, 62% used [0x2aa80000, 0x2af893f0, 0x2af89400, 0x2b280000)
rw space 12288K, 46% used [0x2b280000, 0x2b80fe20, 0x2b810000, 0x2be80000)

Dynamic libraries:
0x00400000 - 0x0040c000 C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d640000 - 0x6d7c9000 C:\Program Files\Java\jre1.5.0_04\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_04\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_04\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_04\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_04\bin\zip.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_04\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_04\bin\nio.dll
0x10000000 - 0x10050000 C:\Program Files\Eclipse\configuration\org.eclipse.osgi\bundles\63\1\.cp\swt-win32-3139.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\COMCTL32.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7c9c0000 - 0x7d1d4000 C:\WINDOWS\system32\SHELL32.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x74c80000 - 0x74cac000 C:\WINDOWS\system32\oleacc.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x03f20000 - 0x041e5000 C:\WINDOWS\system32\xpsp2res.dll

VM Arguments:
jvm_args: -Xms40m -Xmx256m
java_command: C:\Program Files\Eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher C:\Program Files\Eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata d0_2c -vm C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe -vmargs -Xms40m -Xmx256m -jar C:\Program Files\Eclipse\startup.jar

Environment Variables:
PATH=C:\Program Files\Java\jre1.5.0_04\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\WINDOWS\system32\java\classes;C:\WINDOWS\system32\java\Packages;C:\Program Files\Java\jre1.5.0_04\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin
USERNAME=Kevin
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 523568k(255436k free), swap 1280160k(981416k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_04-b05) for windows-x86, built on Jun 3 2005 02:10:41 by "java_re" with MS VC++ 6.0
 
author & internet detective
Posts: 41656
883
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin,
Welcome to JavaRanch!

My apologies if I am missing it, but what version of Eclipse are you using?
 
Kevin Rooney
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, Eclopse is version 3.1

The splash window comes up, a progress bar comes up and then the error message comes up.

I get an error message that displays basically all the arguments for Eclipse, and a file like the one I posted appears in the Eclipse folder. The splash window stays up doing nothing, and I have to ctrl + alt + del out of it.

I'm running on a windows XP machine
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't use anything higher than JDK 1.4 - you are using 1.5.
 
Jeanne Boyarsky
author & internet detective
Posts: 41656
883
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using Java 5 (1.5) with Eclipse 3.1. You are definitely allowed to do that.

It is possible that the message isn't being misleading and it is a memory issue. There is a switch to tell Eclipse to start with more memory. I don't recall the setting, but it is in the readme. I needed to use that on Eclipse 3.0 because my computer was low on physical memory.
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

-vmargs -Xmx256M
Is this the switch you were talking about Jeanne ?

-Sumit
 
Saloon Keeper
Posts: 26896
192
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any time you get that sort of failure, you have, by definition, uncovered a bug in the VM. Generally the easiest way to resolve a problem like that is to switch to a different VM - either a different release and/or a different VM provider (like IBM's Jikes).

It looks like a text string overwrote your stack, which would DEFINITELY be a bug in the VM, since Java's designed to be immune to stack issues. Ideally, even when executing buggy Windows system code. I'm not very forgiving some times.

You MIGHT be able to tweak parameters such as heap sizes, Windows system code fixes and the like and make it go away.
 
Jeanne Boyarsky
author & internet detective
Posts: 41656
883
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sumit,
That's the one. Thanks!
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The obvious answer..

All previous answers are incorrect..

On windows using a jre in Program Files usually gives an error..

Relocate your jre to a directory that does not have spaces and Eclipse will run..


I run the same JVM JRe with no problems and similar OS environment..
reply
    Bookmark Topic Watch Topic
  • New Topic