This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 9691
42
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...
 
Sheriff
Posts: 6888
1312
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic