Hi, I am trying to figure out JDIC (0.9.1), and how to use it to open an htm file in Internet Explorer.
My issue is that when I compile, it always says that It can't reference non-static method open(Java.io.File) from static context.
Its definitely NOT in a static context.
public void myMethod(){
File testFile = new File("Index.htm");
Desktop.open(testFile);
}
I get the error on Desktop.open
To install it, I pretty much just copied jdic.jar, packager.jar, WinMsiWrapper.dll, and IeEmbed to java's working directory.
Anyone knoe what the issue is? Thanks