I am running a java program on WinNT Server 4.0. I get a Dr Watson error, java.exe Exception access violation. My program reads the contents of text files. I do not get this error on NT 4.0 workstations. Please help Thanks.
Just guessing here, but it may be that something else has the file open, and you are trying to open for R/W. Note that some programs will keep a hold on a file until you close the program instead of releasing it when you ask the program to close the file. Or perhaps the file is owned by one user and you are trying to access as another user. And, of course, there is less checking going on for files on a FAT partition than on NTFS. But I don't really know. Just thowing some ideas at you.
If another program has a file open... you won't get a Dr. Watson error -- you'll get an Exception. Are you calling something else in your code that could cause this error? like a JDBC-ODBC bridge? those are notorious for Dr. Watson errors.
Jessica, Yes I am using an ODBC connection to SQL Server 7.0. The NT Server I was testing on has jdk1.1.8. I installed jdk1.3.1 and the error no longer occurs. Hopefully this has solved the problem. Thanks