![]() VM state:not at safepoint (normal execution) P R O C E S S -Ġx02a74000 JavaThread "Service Thread" daemon Ġx02a66000 JavaThread "C1 CompilerThread0" daemon Ġx02a64800 JavaThread "Attach Listener" daemon Ġx02a63000 JavaThread "Signal Dispatcher" daemon Ġx02a54c00 JavaThread "Finalizer" daemon Ġx02a50000 JavaThread "Reference Handler" daemon Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)Ĭ GetModuleFileNameA 0x1ba Minidumps are not enabled by default on client versions of Windows # Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode, sharing windows-x86 ) # See problematic frame for where to report the bug.ĭ:\Documents and Settings\Owner\My Documents\javawork> # The crash happened outside the Java Virtual Machine in native code. ![]() # If you would like to submit a bug report, please visit: # D:\Documents and Settings\Owner\My Documents\javawork\hs_err_pid3968.log # An error report file with more information is saved as: Minidumps are not enabled by default on client vers # Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode, sharing windows-x86 # A fatal error has been detected by the Java Runtime Environment: ("Output to port: " aByte) ĭ:\Documents and Settings\Owner\My Documents\javawork>java SimpleIO Lpt1.write(aByte) // write a byte to the port's DATA pins ("Input from parallel port: " aByte) ĪByte = aByte > 2 // a simple and irrelevant operation ParallelPort lpt1 = new ParallelPort(0x378) // 0x378 is normally the base address for the LPT1 portĪByte = lpt1.read() // read a byte from the port's STATUS pins I am logged on as administrator.įor example when I run SimpleIO.java (shown below) from a DOS window, it compiles but produces an error message. There are sample applications on the websites for the latter two programs that are supposed to test the system, but I cannot get any of them to work correctly. I have downloaded and installed these two programs as well as RXTX, following the instructions as closely as I could. I also have found several web-sites which claim to allow access to the serial and parallel ports from Windows NT, XP, etc, including Parport and Userport. I also understand that Sun pulled the COMM API from their website, claiming that RXTX replaces it. I am aware that Microsoft does not allow Windows XP to have access to the ports directly, but supposedly I have that problem covered. I need some assistance with accessing the parallel port using Java within a Windows XP Pro operating system.
0 Comments
Leave a Reply. |