Topic
  • No replies
Bipu
Bipu
1 Post

Pinned topic Error JVM

‏2010-02-05T09:51:51Z |
Hi guys iam trying to access the contents fro USB using JUSB
below is the my code fragment

try {
System.out.println("Hello");
Host host = HostFactory.getHost();
//Bus[] bus = host.getBusses();
} catch (Exception e) {
e.printStackTrace();
}

but when i run the above code i get some error which is shown below.


Hello
#
  1. A fatal error has been detected by the Java Runtime Environment:
#
  1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d905c9f, pid=700, tid=3432
#
  1. JRE version: 6.0_18-b07
  2. Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86 )
  3. Problematic frame:
  4. V http://jvm.dll+0x105c9f
#
  1. An error report file with more information is saved as:
  2. F:\Bipin\JNJ\USBSample\hs_err_pid700.log
#
  1. If you would like to submit a bug report, please visit:
  2. http://java.sun.com/webapps/bugreport/crash.jsp
#

any soloution to this problems .
I also wanted to know why the JVM is throwing these memory related errors?