I am using a FSDirectory in FlexLucene v6.0.0 as follows:
java.io.File f = new java.io.File(IndexDir.FullName);
java.nio.file.Path p = f.toPath(); //This line
//java.nio.file.Path p = Paths.get(IndexDir.FullName); //and this alternative line too
FSDirectory fsDir = FSDirectory.Open(p);
The lines marked both throw the following exceptions respectively. Although the methods toPath and get show up in intellisense.
'java.lang.NoSuchMethodException' in IKVM.OpenJDK.Core.dll //For first line
'java.lang.NoSuchMethodError' in IKVM.Runtime.dll //and this for the alternate line
I am using a
FSDirectory
in FlexLucene v6.0.0 as follows:The lines marked both throw the following exceptions respectively. Although the methods
toPath
andget
show up in intellisense.Any idea why this happens?