Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse doesn't see JMF.(Eclipse Proposals pane doesn't have JMF classes. )
Eclipse doesn't see JMF. [message #491362] Wed, 14 October 2009 06:41 Go to next message
No real name is currently offline No real name
Messages: 3
Registered: October 2009
Junior Member
I have the following problem:

+ I using newest Eclipse 3.5.1.* and newest Java JDK and I installed newest JMF with default configuration successfully.

+ In Eclipse Editor, when I type: import javax.media.
I don't see Manager class in Default Proposals pane (I mean Intellisense) although I see it in JRE System Library folder expanded in Project Explorer.
When I typed import javax.media.Manager manually, the compiler underlined it as an error "Access restriction...".

+ I googled for that and found out a temporary solution:
http:// lkamal.blogspot.com/2008/09/eclipse-access-restriction-on-li brary.html#comment-form

but I don't like that solution because it just hide the error. I'd like to solve that problem completely without potential errors.

Help me solve these:
1) I want Manager class to appear in Proposals pane.
2) I want fix that error without configuring Errors/Warnings (I mean fix it, not hide it).

Here is image:
http://i240.photobucket.com/albums/ff22/Emerald214/media2.jp g

Thank you in advance.

[Updated on: Wed, 14 October 2009 06:42]

Report message to a moderator

Re: Eclipse doesn't see JMF. [message #491484 is a reply to message #491362] Wed, 14 October 2009 14:29 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 3
Registered: October 2009
Junior Member
If no one in eclipse.org can tell me why, I don't know where I have to go to the next Sad

http://i240.photobucket.com/albums/ff22/Emerald214/media3.jpg

[Updated on: Wed, 14 October 2009 14:32]

Report message to a moderator

Re: Eclipse doesn't see JMF. [message #491602 is a reply to message #491362] Thu, 15 October 2009 04:08 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
hieuvui214@yahoo.com wrote:
> I have the following problem:
>
> + I using newest Eclipse 3.5.1.* and newest Java JDK and I installed
> newest JMF with default configuration successfully.
>
> + In Eclipse Editor, when I type: import javax.media.
> I don't see Manager class in Default Proposals pane (I mean
> Intellisense) although I see it in JRE System Library folder expanded
> in Project Explorer.
> When I typed import javax.media.Manager manually, the compiler
> underlined it as an error "Access restriction...".
>
> + I googled for that and found out a temporary solution:
> http://lkamal.blogspot.com/2008/09/eclipse-access-restrictio n-on-library.html#comment-form
>
>
> but I don't like that solution because it just hide the error. I'd
> like to solve that problem completely without potential errors.
>
> Help me solve these:
There are two ways to solve this:
- preferred: don't add the library to the JRE System Library but instead
simply add it to the project's Java Build path
- on your project's 'Java Build Path' page add an access rule that
grants access to javax/media/**

HTH
Dani
> 1) I want Manager class to appear in Proposals pane.
> 2) I want fix that error without configuring Errors/Warnings (I mean
> fix it, not hide it).
>
> Here is image:
> http://i240.photobucket.com/albums/ff22/Emerald214/media2.jp g
Re: Eclipse doesn't see JMF. [message #491907 is a reply to message #491362] Fri, 16 October 2009 10:04 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 3
Registered: October 2009
Junior Member
Surprisingly, that works. I just remove JRE System Library and re-add it from Build Path. Manager class and others has appeared in Proposal pane! Thank you. Very Happy

[MARKED AS SOLVED] ^^

[Updated on: Fri, 16 October 2009 10:04]

Report message to a moderator

Re: Eclipse doesn't see JMF. [message #727926 is a reply to message #491907] Thu, 22 September 2011 04:50 Go to previous messageGo to next message
chancely  is currently offline chancely
Messages: 1
Registered: September 2011
Junior Member
thank you for your help!!
Re: Eclipse doesn't see JMF. [message #953778 is a reply to message #491362] Mon, 22 October 2012 10:22 Go to previous message
Ahmet Ekrem SABAN is currently offline Ahmet Ekrem SABAN
Messages: 12
Registered: April 2011
Location: Austria
Junior Member
Yeah, that's a good answer. It worked when I asked eclipse to add the external JAR by clicking with the right mouse button in the package editor on the workspace folder, selecting "Properties" and then "Java Build Path" and "Add External JARs...". Smile

Best regards!
Ekrem
Previous Topic:Eclipse UML Plugins
Next Topic:Help with OSGI
Goto Forum:
  


Current Time: Fri Jul 25 16:50:02 EDT 2014

Powered by FUDForum. Page generated in 0.03700 seconds