May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.
// code FileChannel channel = new RandomAccessFile("fileLockTest","rw").getChannel(); FileLock lock = channel.tryLock(); // exception java.io.IOException: Invalid argument at sun.nio.ch.FileChannelImpl.lock0(Native Method) at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:924) at java.nio.channels.FileChannel.tryLock(FileChannel.java:978) at FileLockTest.obtainRefreshLock(FileLockTest.java:47)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Need help aligning JRadioButton that put in a box using GridBagLayout||2||39|
|Find out all repos that a user is most active on Github||1||56|
|Strange router problem - can't access hotmail.com||14||107|
Join the community of 500,000 technology professionals and ask your questions.