• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

com/jniwrapper/win32/ie/WebBrowser class not found

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to execute native routines of WinXp and I am trying to do it through "watij" library.

But when I make instance of watij.runtime.ie.IE ie = new watij.runtime.ie.IE(); it throws a exception
ClassNotFoundException: com.jniwrapper.win32.ie.WebBrowser

When I downloaded the jniWrapper lib from teamdev.com, it has the win32 package but this win32 package doesn't contain the ie package.

Thanks in advance.
 
Sheriff
Posts: 9697
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sameer, welcome to javaranch.

This question has nothing to do with SCJP. Please take time to Carefully Choose One Forum when you start a topic. I'm moving it for you...
 
Marshal
Posts: 7027
1341
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There might be several libraries associated with this. You need to set the class path for all of these libraries to make it work. And are you sure that you downloaded it from the correct location?

Devaka
 
sameer goel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Devaka Cooray wrote:There might be several libraries associated with this. You need to set the class path for all of these libraries to make it work. And are you sure that you downloaded it from the correct location?

Devaka



I had downloaded the watij lib from the same location as you specified.

The exception is due to a missing class which is in jniWrapper lib. I had downloaded the jniWrapper lib also but the class I am looking for is not there as there is no "ie" package there.

I have set all the classpaths. The problem is just that the class file in not in the lib. Can anyone tell me the solution or the path of the jniWrapper.
 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic