I have jniwrap.dll in my system32 folder. I am using watij 3.1.0
direct from the website. I have added the jar and lib folders to my
module. Maybe I am not setting up IntelliJ correctly, as I have never
used it, but here is the classpath it is using, which looks correct:
"C:\Program Files\Java\jdk1.5.0_11\bin\java" -Didea.launcher.port=7541
"-Didea.launcher.bin.path=C:\Program Files\IntelliJ IDEA 6.0\bin" -
Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java
\jdk1.5.0_11\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_11\jre
\lib\deploy.jar;C:\Program Files\Java\jdk1.5.0_11\jre\lib\javaws.jar;C:
\Program Files\Java\jdk1.5.0_11\jre\lib\jce.jar;C:\Program Files\Java
\jdk1.5.0_11\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_11\jre\lib
\plugin.jar;C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar;C:
\Program Files\Java\jdk1.5.0_11\jre\lib\ext\dnsns.jar;C:\Program Files
\Java\jdk1.5.0_11\jre\lib\ext\localedata.jar;C:\Program Files\Java
\jdk1.5.0_11\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java
\jdk1.5.0_11\jre\lib\ext\sunpkcs11.jar;C:\watij\watij.jar;C:\watij
\lib;C:\Documents and Settings\ekravitz\IdeaProjects\WatijAlpha\classes
\production\WatijAlpha;C:\watij\junit-4.3.1.jar;C:\Program Files
\IntelliJ IDEA 6.0\lib\idea_rt.jar"
com.intellij.rt.execution.application.AppMain
com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 WatijAlpha
I have tried both JDK 1.5 and 1.6, so I don't think thats it either.
Any help would be very appreciated, as I really want to start writing
watij test cases!
I don't see jexplorer-1.*.jar or any other of the JExplorer-jars
within the specified class path argument.
com.jniwrapper.win32.ie.WebBrowser is part of jexplorer-1.*.jar, but
you will have to include comfy, jniwrap, mshtml and winpack as well.
Hope it helps!
With kind regards
Ben Schulz
The classpath contains watij/lib, shouldn't that include all jars
within it?
> > > \production\WatijAlpha;C:\watij\junit- 4.3.1.jar;C:\Program Files
> > > > > \production\WatijAlpha;C:\watij\junit-4.3.1.jar;C:\Program Files