File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes how to access in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to access in eclipse" Watch "how to access in eclipse" New topic

how to access in eclipse

Sara Brown
Ranch Hand

Joined: Feb 22, 2012
Posts: 55
i use jre6 and it can access the and

but when im using se jre-7, it would not allowed. access restriction.

im trying download back the jre6 or do anything to make sure it can access but still it wont happen. is there anyway? please.. im really hoping i could use this MXBean
Sara Brown
Ranch Hand

Joined: Feb 22, 2012
Posts: 55
is there another way? i found one of the solution it said that just configure the setting from error to warning. but that is only make the error invisible, not to access.

is there another way to use the mxbean, anyone?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46412
What does changing error to warning mean? Is it an option on your IDE?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15094

You are not supposed to use classes in the sun.* and com.sun.* packages. They are not part of the public API, and as you've experienced they could be changed by Oracle in any new version.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: how to access in eclipse
It's not a secret anymore!