JAI Access Restriction jai_core.jar

View: New views
2 Messages — Rating Filter:   Alert me  

JAI Access Restriction jai_core.jar

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am  using WIN- OS. I installed JAI-API from SUN Systems and using JDK 1.6 and above.
I have tried to run the histogram files from the link below
https://jaistuff.dev.java.net/display.html ( downloaded both the files)

Well, i have used JCreator to compile and execute the files.
Below are the errors:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
    at DisplayHistogramApp.main(DisplayHistogramApp.java:57)
Then
I have tried with Eclipse (new version)
Below are the errors:
        Access restriction: The type Histogram is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\jai_core.jar
        Access restriction: The method getProperty(String) from the type PlanarImage is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\jai_core.jar

Kindly guide me on these Errors, Is there any problem with my installation?
[Message sent by forum member 'jjt' (joshua.j.thomas@...)]

http://forums.java.net/jive/thread.jspa?messageID=362652

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: JAI Access Restriction jai_core.jar

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am a new user to JAI- API

I have tried again with the other examples, i am facing the same errors that i posted earlier in the tread

Need your guidance

~~~~~~~~~~~
Previous Post
~~~~~~~~~~~
I am using WIN- OS. I installed JAI-API from SUN Systems and using JDK 1.6 and above.
I have tried to run the histogram files from the link below
https://jaistuff.dev.java.net/display.html ( downloaded both the files)

Well, i have used JCreator to compile and execute the files.
Below are the errors:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at DisplayHistogramApp.main(DisplayHistogramApp.java:57)
Then
I have tried with Eclipse (new version)
Below are the errors:
Access restriction: The type Histogram is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\jai_core.jar
Access restriction: The method getProperty(String) from the type PlanarImage is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\jai_core.jar

Kindly guide me on these Errors, Is there any problem with my installation?
[Message sent by forum member 'jjt' (joshua.j.thomas@...)]

http://forums.java.net/jive/thread.jspa?messageID=362653

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...