Skip to main content


4 replies [Last post]
Joined: 2007-02-26

When I try to run my program I get this error, and I don't know what to do with this.
My program works on my computer at home, but I need to run it on my university where I get this error.
Please help!

# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0331c964, pid=1700, tid=3248
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [j3dcore-d3d.dll+0x5c964]
# If you would like to submit a bug report, please visit:

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

Current thread (0x030d4400): JavaThread "J3D-Renderer-1" [_thread_in_native, id=3248]

siginfo: ExceptionCode=0xc0000005, writing address 0x0332e7b4

EAX=0x00000076, EBX=0x000b4076, ECX=0x035af5f0, EDX=0x0332e7b4
ESP=0x035af370, EBP=0x035af400, ESI=0x035af3b4, EDI=0x0332e6d9
EIP=0x0331c964, EFLAGS=0x00010202

Top of Stack: (sp=0x035af370)
0x035af370: 0331cc38 033d1fb0 0332e7b4 000b4040
0x035af380: 00000000 00000000 00000000 00000000
0x035af390: 00000000 00000000 00000000 00000000
0x035af3a0: 00000000 00000000 00000000 00000000
0x035af3b0: 00000000 00000000 00000000 00000000
0x035af3c0: 00000000 00000000 00000000 00000000
0x035af3d0: 00000000 00000000 00000000 00000000
0x035af3e0: 00000000 00000000 00000000 00000000

Instructions: (pc=0x0331c964)
0x0331c954: 40 74 06 83 79 08 00 74 24 ff 49 04 78 0b 8b 11
0x0331c964: 88 02 ff 01 0f b6 c0 eb 0c 0f be c0 51 50 e8 d8

Stack: [0x03560000,0x035b0000), sp=0x035af370, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [j3dcore-d3d.dll+0x5c964]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
=>0x030d4400 JavaThread "J3D-Renderer-1" [_thread_in_native, id=3248]
0x030b9800 JavaThread "J3D-MasterControl-1" [_thread_blocked, id=3400]
0x02b6dc00 JavaThread "J3D-NotificationThread" [_thread_blocked, id=3648]
0x030b2400 JavaThread "J3D-TimerThread" [_thread_blocked, id=3008]
0x030c3800 JavaThread "J3D-RenderingAttributesStructureUpdateThread" [_thread_blocked, id=2012]
0x003d6000 JavaThread "DestroyJavaVM" [_thread_blocked, id=1664]
0x02b64000 JavaThread "Thread-2" [_thread_blocked, id=3564]
0x02b60800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3104]
0x02b5e000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1568]
0x02b5d400 JavaThread "AWT-Shutdown" [_thread_blocked, id=3976]
0x02b53000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3000]
0x02ad3000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2448]
0x02ace400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=976]
0x02acd000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3580]
0x02acc400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2124]
0x02a91400 JavaThread "Finalizer" daemon [_thread_blocked, id=1216]
0x02a8d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2152]

Other Threads:
0x02a83c00 VMThread [id=3364]
0x02aedc00 WatcherThread [id=2980]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

def new generation total 960K, used 705K [0x229b0000, 0x22ab0000, 0x22e90000)
eden space 896K, 71% used [0x229b0000, 0x22a50620, 0x22a90000)
from space 64K, 100% used [0x22a90000, 0x22aa0000, 0x22aa0000)
to space 64K, 0% used [0x22aa0000, 0x22aa0000, 0x22ab0000)
tenured generation total 4096K, used 309K [0x22e90000, 0x23290000, 0x269b0000)
the space 4096K, 7% used [0x22e90000, 0x22edd7a8, 0x22edd800, 0x23290000)
compacting perm gen total 12288K, used 1435K [0x269b0000, 0x275b0000, 0x2a9b0000)
the space 12288K, 11% used [0x269b0000, 0x26b16ee0, 0x26b17000, 0x275b0000)
ro space 8192K, 62% used [0x2a9b0000, 0x2aeab9c8, 0x2aeaba00, 0x2b1b0000)
rw space 12288K, 52% used [0x2b1b0000, 0x2b7ee348, 0x2b7ee400, 0x2bdb0000)

Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Java\jre1.6.0\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 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0\bin\msvcr71.dll
0x6d7c0000 - 0x6da07000 C:\Program Files\Java\jre1.6.0\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0\bin\verify.dll
0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0\bin\java.dll
0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0\bin\zip.dll
0x6d000000 - 0x6d1c3000 C:\Program Files\Java\jre1.6.0\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x6d2b0000 - 0x6d303000 C:\Program Files\Java\jre1.6.0\bin\fontmanager.dll
0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll
0x10000000 - 0x1000e000 C:\Program Files\Java\jre1.6.0\bin\j3dcore-ogl-chk.dll
0x5ed00000 - 0x5edcc000 C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000 C:\WINDOWS\system32\GLU32.dll
0x6d3e0000 - 0x6d3e6000 C:\Program Files\Java\jre1.6.0\bin\jawt.dll
0x032c0000 - 0x03393000 C:\Program Files\Java\jre1.6.0\bin\j3dcore-d3d.dll
0x4fdd0000 - 0x4ff76000 C:\WINDOWS\system32\d3d9.dll
0x033a0000 - 0x033a6000 C:\WINDOWS\system32\d3d8thk.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
0x74c80000 - 0x74cac000 C:\WINDOWS\system32\OLEACC.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll

VM Arguments:
java_command: C:\Documents and Settings\luka_k\My Documents\JedApplet.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0
PATH=C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\backburner 2\;C:\Documents and Settings\nvr\Desktop\TEMP\DSAM SIP-AS\lib;C:\Program Files\Java\jdk1.5.0_06\bin;C:\Program Files\Autodesk\backburner\
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, 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

Memory: 4k page, physical 523264k(190488k free), swap 1277948k(518984k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310

Message was edited by: luka_k

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-09-22

I had this problem and here is how I solved it:

Problem is that Java3D files may exist anywhere in your machine. Even some applets download Java3D jar and dll files and somehow it's not easy telling Java which version to use. So just do the following to make sure you remove all instances of Java3D:

1) In windows explorer search in your C:\ for "j3dcore" (don't put it in quot)
This will give you an idea of where Java3D files and folders are.
2) Go to those folders and remove all instances of Java3D which consists of all 3 jar files and all 3 dll files.

It took me a long time trying to fix it but when I finally used the above technique it took just 5 minutes to locate all java3D files.

Why you need to remove other Java3D? because different versions of Java3D are not compatible with each other. Sometimes Java may use the jar file of 1.5.0 and the dll of 1.5.1 and that of course results in linking exception which causes access violation in JVM.

Joined: 2006-08-30

I just ran into the same problem when I deleted 1.5.0 and installed 1.5.1 to try the new lightweight JCanvas3D. After installing 1.5.1, I decided to revert back to 1.5.0 and backoff 1.5.1. When I did this same error ...

I then uninstalled, rebooted, tried several other things but the same error message. I tried other simpler 3D apps with the same result. Eventually, it seemed by some of the suggestions on the web that the uninstall of 1.5.1 was leaving some of the Java3D jars behind and 1.5.0 wasn't overwriting them.

The solution was: deleting the copies of the 3 Java3D jars that on my machine are kept at c:\windows\Sun\Java\Deployment\Lib\Trusted\...
When I deleted these and did a reinstall of 1.5.0 things worked fine. Hope this helps someone out there.

Joined: 2004-03-17

What graphics driver is on the system ? Are you able to run QueryProperties ?

- Chien.

Joined: 2007-02-26


Finally I look at driver for graphic card and there is problem. Computer just freeze when I want to install some driver for graphic card, so there is nothing I can do about it, cause probably java 3d can't function without any graphic driver. If I can do something please tell me (with software only) or I have to request another computer on my university?