Exécution Java

Résolu/Fermé
thatguy Messages postés 96 Date d'inscription vendredi 1 juin 2007 Statut Membre Dernière intervention 1 septembre 2009 - 21 juin 2007 à 20:59
thatguy Messages postés 96 Date d'inscription vendredi 1 juin 2007 Statut Membre Dernière intervention 1 septembre 2009 - 22 juin 2007 à 21:01
Bonjour à tous.. j'aimerais savoir si quelqu'un pourrait m'aider.. j'ai récemment du reformater mon ordinateur et je dois maintenant retravailler des documents java d'avant le formattage que j'ai encore sous la main... mais voilà que je ne suis pas capable de faire exécuter mes programmes deux fois.. je m'explique...

je compile, j'exécute tout es beau.. je modifie, je compile, j'exécute.. rien niet nada rien ne se passe à par que je recois un message du genre

Exception_Access_Violation (0x00000005) blablabla
Java VM: Java HotSpot(TM) CLient VM (1.6.0_01-b06 mixed mode,sharing..

pour votre info j'ai la dernière version de jre et de jdk.. j'ai vérifié mon path et mon classpath dans les variables d'environnement Windows.. je compile avec javac en ligne de commande dans Command et j'exécute aaussi en ligne de commande... j'ai essayé avec DRJave mais il me fait la même chose sans m'écrire de message c'est-à-dire qu'il me compile et exécute une fois puis après il gèle à l'exécution...

Merci... je suis complètement perdu avec cela et je ne trouve pratiquement pas de piste de solution sur l'internet...
A voir également:

2 réponses

thatguy Messages postés 96 Date d'inscription vendredi 1 juin 2007 Statut Membre Dernière intervention 1 septembre 2009 7
22 juin 2007 à 21:01
Problème résolu..!!!

j'avais pas la bonne version des drivers ODBC Microsoft j'ai donc été sur le site de microsoft et j'ai télécharger MDAC... installer et hop.. tous est beau.. si jamais ça peut servir à quelqu'un...

salut
1
thatguy Messages postés 96 Date d'inscription vendredi 1 juin 2007 Statut Membre Dernière intervention 1 septembre 2009 7
22 juin 2007 à 16:52
Lorsque je tente de lancer un jar voilà ce que j'obtiens.. j'aimerais bien que quelqu'un m'aide si jamais vous savez de quoi il s'agit

#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d3f4df2, pid=208, tid=1368
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
# Problematic frame:
# C 0x6d3f4df2
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#

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

Current thread (0x00776000): JavaThread "main" [_thread_in_native, id=1368]

siginfo: ExceptionCode=0xc0000005, reading address 0x6d3f4df2

Registers:
EAX=0x00000000, EBX=0x02e8faa0, ECX=0x030a1458, EDX=0x00000000
ESP=0x0084f8b8, EBP=0x0084f9c8, ESI=0x007760e8, EDI=0x00000000
EIP=0x6d3f4df2, EFLAGS=0x00010246

Top of Stack: (sp=0x0084f8b8)
0x0084f8b8: 00776000 269bf320 269bf320 3d4e5344
0x0084f8c8: 35336264 5142443b 5c3a463d 6c627570
0x0084f8d8: 445c6369 62617461 73657361 6f75515c
0x0084f8e8: 5c736574 746f7571 6d2e7365 443b6264
0x0084f8f8: 65766972 3d644972 463b3532 4d3d4c49
0x0084f908: 63412053 73736563 78614d3b 66667542
0x0084f918: 69537265 323d657a 3b383430 65676150
0x0084f928: 656d6954 3d74756f 00003b35 00000000

Instructions: (pc=0x6d3f4df2)
0x6d3f4de2:
[error occurred during error reporting, step 100, id 0xc0000005]

Stack: [0x00800000,0x00850000), sp=0x0084f8b8, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x6d3f4df2
j sun.jdbc.odbc.JdbcOdbc.driverConnect(J[B[B)V+0
j sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JLjava/lang/String;)V+93
j sun.jdbc.odbc.JdbcOdbcConnection.initialize(Ljava/lang/String;Ljava/util/Properties;I)V+984
j sun.jdbc.odbc.JdbcOdbcDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+129
j java.sql.DriverManager.getConnection(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)Ljava/sql/Connection;+210
j java.sql.DriverManager.getConnection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;+41
j search.Search.setPersonsAndGroups()V+33
j search.Search.initialize()V+135
j search.Search.<init>()V+61
j view.Main.initialize()V+5
j view.Main.<init>()V+5
j view.Main.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jdbc.odbc.JdbcOdbc.driverConnect(J[B[B)V+0
j sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JLjava/lang/String;)V+93
j sun.jdbc.odbc.JdbcOdbcConnection.initialize(Ljava/lang/String;Ljava/util/Properties;I)V+984
j sun.jdbc.odbc.JdbcOdbcDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+129
j java.sql.DriverManager.getConnection(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)Ljava/sql/Connection;+210
j java.sql.DriverManager.getConnection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;+41
j search.Search.setPersonsAndGroups()V+33
j search.Search.initialize()V+135
j search.Search.<init>()V+61
j view.Main.initialize()V+5
j view.Main.<init>()V+5
j view.Main.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0x02e57800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=1840]
0x02aaa800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1788]
0x02aa9c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=1868]
0x02aa8400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1876]
0x029ed000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1848]
0x029e8000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1844]
0x029e7000 JavaThread "Attach Listener" daemon [_thread_blocked, id=1864]
0x029e6000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1872]
0x029e1800 JavaThread "Finalizer" daemon [_thread_blocked, id=1860]
0x029dd400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1892]
=>0x00776000 JavaThread "main" [_thread_in_native, id=1368]

Other Threads:
0x029d4000 VMThread [id=1568]
0x02a07800 WatcherThread [id=1852]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 960K, used 193K [0x22900000, 0x22a00000, 0x22de0000)
eden space 896K, 14% used [0x22900000, 0x22920510, 0x229e0000)
from space 64K, 100% used [0x229e0000, 0x229f0000, 0x229f0000)
to space 64K, 0% used [0x229f0000, 0x229f0000, 0x22a00000)
tenured generation total 4096K, used 733K [0x22de0000, 0x231e0000, 0x26900000)
the space 4096K, 17% used [0x22de0000, 0x22e977d8, 0x22e97800, 0x231e0000)
compacting perm gen total 12288K, used 817K [0x26900000, 0x27500000, 0x2a900000)
the space 12288K, 6% used [0x26900000, 0x269cc448, 0x269cc600, 0x27500000)
ro space 8192K, 62% used [0x2a900000, 0x2adfe4e8, 0x2adfe600, 0x2b100000)
rw space 12288K, 52% used [0x2b100000, 0x2b740e78, 0x2b741000, 0x2bd00000)

Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Java\jre1.6.0_01\bin\javaw.exe
0x77f80000 - 0x77ffc000 C:\WINNT\system32\ntdll.dll
0x7c2d0000 - 0x7c335000 C:\WINNT\system32\ADVAPI32.dll
0x7c570000 - 0x7c624000 C:\WINNT\system32\KERNEL32.dll
0x77d30000 - 0x77d9f000 C:\WINNT\system32\RPCRT4.dll
0x77e10000 - 0x77e6f000 C:\WINNT\system32\USER32.dll
0x77f40000 - 0x77f7c000 C:\WINNT\system32\GDI32.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
0x77570000 - 0x775a0000 C:\WINNT\system32\WINMM.dll
0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0_01\bin\hpi.dll
0x690a0000 - 0x690ab000 C:\WINNT\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
0x6d000000 - 0x6d1c3000 C:\Program Files\Java\jre1.6.0_01\bin\awt.dll
0x77800000 - 0x7781e000 C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76631000 C:\WINNT\system32\MPR.DLL
0x75e60000 - 0x75e7a000 C:\WINNT\system32\IMM32.dll
0x7ce20000 - 0x7cf0f000 C:\WINNT\system32\ole32.dll
0x51000000 - 0x51050000 C:\WINNT\system32\ddraw.dll
0x78000000 - 0x78045000 C:\WINNT\system32\msvcrt.dll
0x728a0000 - 0x728a6000 C:\WINNT\system32\DCIMAN32.dll
0x6d2b0000 - 0x6d303000 C:\Program Files\Java\jre1.6.0_01\bin\fontmanager.dll
0x6e420000 - 0x6e426000 C:\WINNT\system32\INDICDLL.dll
0x7cf30000 - 0x7d176000 C:\WINNT\system32\shell32.dll
0x70a70000 - 0x70ad6000 C:\WINNT\system32\SHLWAPI.dll
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.dll
0x6d570000 - 0x6d583000 C:\Program Files\Java\jre1.6.0_01\bin\net.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x6d590000 - 0x6d599000 C:\Program Files\Java\jre1.6.0_01\bin\nio.dll
0x1f7f0000 - 0x1f825000 C:\WINNT\system32\ODBC32.dll
0x76b30000 - 0x76b6e000 C:\WINNT\system32\comdlg32.dll
0x1f8e0000 - 0x1f8f6000 C:\WINNT\system32\odbcint.dll
0x031f0000 - 0x03234000 C:\WINNT\System32\odbcjt32.dll
0x1b000000 - 0x1b170000 C:\WINNT\System32\msjet40.dll
0x1b5d0000 - 0x1b665000 C:\WINNT\System32\mswstr10.dll
0x779b0000 - 0x77a4b000 C:\WINNT\system32\OLEAUT32.dll
0x03e70000 - 0x03e7e000 C:\WINNT\System32\odbcji32.dll
0x1b2c0000 - 0x1b2cd000 C:\WINNT\System32\msjter40.dll
0x1b2d0000 - 0x1b2f6000 C:\WINNT\System32\MSJINT40.DLL

VM Arguments:
java_command: F:\public\Databases\Quotes\NewQdata.jar
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=C:;
PATH=C:\WINNT\system32;C:\WINNT\System32\Wbem;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Java\jre1.6.0_01\;
USERNAME=prene
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel



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

OS: Windows 2000 Build 2195 Service Pack 4

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

Memory: 4k page, physical 522316k(265324k free), swap 1274828k(990228k 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
0