differences between windows java 1.7 and linux 1.7 -


i have found rising number of differences between current release of 1.7 on windows , 1.7 on linux. example files.readallbytes(path path) not exist in linux (generates compiler error indicating invalid method) "||"" in catch phrase 2 or more exceptions process through the same code.

does know extent of divergence , if planned stay different version of functionality different platforms.

regards

theo.

since | not supported in catch statement, use jdk 1.6 on linux. files.readallbytes(path path) part of public api, available on each platform jdk supported. method part of nio2 jsr added in jdk 1.7, not available in jdk 1.6

you can check version in path using java -version in shell.


Comments