I have a Java program that does several file I/O. Runs fine and get compiled on X86/Win7-64b. The exactly .jar is copied to an AMD/Win7-64b and does strange things like cannot open streams or does’nt read till end.
Could there be any issue in Java execution when running on the same OS but diferent procesor architectures ?
Both has Java Version 1.7.0_09
For the records:
The problem was a slightly different DLL in the 2 Win7 installations that uses a JNI bridge in my program.
If it is, you can easily figure it out on your own. Just be aware of the following things when you launch your program:
If that doesn’t clue you in, then it could just be a problem with closing your streams or something. I heard that the File-IO libraries changed in JDK1.7 … are you using that newer syntax or are you still reading files using the older JDK1.6 traditions?