This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StandardEmitterMBean Compile Error in Eclipse

 
Bob Harvey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello - I'm getting a compile error in Eclipse for the following:

The project was not built since its build path is incomplete. Cannot find the class file for javax.management.StandardEmitterMBean. Fix the build path then try building this project IOSv1DataConnector Unknown Java Problem
The type javax.management.StandardEmitterMBean cannot be resolved. It is indirectly referenced from required .class files DataProcessor.java /mypackage/dataprocessor line 510 Java Problem


I've tried the site jarfinder to no avail.

Thanks
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Bob!

Which version of Java are you using? That class is available since Java 6 (a.k.a. 1.6, as can be seen in the Javadoc). If you're using an older version then the class simply doesn't exist yet.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you are using Java 6, as Rob suggests, you can set Eclipse to use that (or any other) version. If that is the problem, it might be better to discuss that on our IDEs forum, so I shall move this thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic