By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,541 Members | 1,106 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,541 IT Pros & Developers. It's quick & easy.

source compilation problem.

P: n/a
when I try to compile a file called check.java which uses file.jar like this
c:\javac -classpath .;file.jar check.java
on PC using MS Windows XP it gives me the following crap:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D32797D
Function=ZIP_Open+0x369
Library=h:\jdk\jre\bin\zip.dll

Current Java thread:
at java.util.zip.ZipFile.getNextEntry(Native Method)
at java.util.zip.ZipFile.access$400(ZipFile.java:26)
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:3 01)
at com.sun.tools.javac.v8.code.ClassReader.openArchiv e(ClassReader.java:
972)
at com.sun.tools.javac.v8.code.ClassReader.list(Class Reader.java:1199)
at com.sun.tools.javac.v8.code.ClassReader.listAll(Cl assReader.java:1320
)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(Cla ssReader.java:1340)

at com.sun.tools.javac.v8.code.ClassReader.complete(C lassReader.java:104
9)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol .java:332)
at com.sun.tools.javac.v8.comp.Enter.visitTopLevel(En ter.java:467)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.accept(T ree.java:390)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter .java:442)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter .java:456)
at com.sun.tools.javac.v8.comp.Enter.complete(Enter.j ava:588)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java: 574)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCo mpiler.java:334)
at com.sun.tools.javac.v8.Main.compile(Main.java:520)
at com.sun.tools.javac.Main.compile(Main.java:36)
at com.sun.tools.javac.Main.main(Main.java:27)

Dynamic libraries:
0x00400000 - 0x00407000 h:\jdk\bin\javac.exe
0x77F50000 - 0x77FF6000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F45000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5B000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x7806F000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
0x6D330000 - 0x6D45A000 h:\jdk\jre\bin\client\jvm.dll
0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CAE000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
0x629C0000 - 0x629C8000 C:\WINDOWS\System32\LPK.DLL
0x72FA0000 - 0x72FFA000 C:\WINDOWS\System32\USP10.dll
0x5CD70000 - 0x5CD77000 C:\WINDOWS\System32\serwvdrv.dll
0x5B0A0000 - 0x5B0A7000 C:\WINDOWS\System32\umdmxfrm.dll
0x6D1D0000 - 0x6D1D7000 h:\jdk\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 h:\jdk\jre\bin\verify.dll
0x6D210000 - 0x6D229000 h:\jdk\jre\bin\java.dll
0x6D320000 - 0x6D32D000 h:\jdk\jre\bin\zip.dll
0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58C000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL

Local Time = Tue Aug 03 02:35:56 2004
Elapsed Time = 2
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
#
# An error report file has been saved as hs_err_pid2592.log.
# Please refer to the file for further information.
#

what should I do to compile this code.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.