Skip to main content

java.lang.SecurityException: checkPermission

2 replies [Last post]
em_pleh
Offline
Joined: 2008-12-12
Points: 0

my jar 00000 consists of

Main.java
bluray.Main.perm

and I am loading a xml file from /JAR/00000/file.xml

I am getting exception java.lang.SecurityException: checkPermission

I am not sure what else to do?
Here is my debug screen init
Playback: Initializing xlet OrgID = 7fffddb0, AppID = 4000
-------- Perm File ------------
<?xml version="1.0" encoding="UTF-8"?>

*

Message was edited by: em_pleh

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joe Rice

Have you set FileAccessInfo in your BDJO to allow access to the BDMV/
JAR/00000 directory? (If you just set it to ".", it will allow access
to all directories on the disc).

Cheers,
Joe

On Jul 27, 2009, at 12:02 PM, bd-j-dev@mobileandembedded.org wrote:

> my jar 00000 consists of
>
> Main.java
> bluray.Main.perm
>
> and I am loading a xml file from /JAR/00000/file.xml
>
> I am getting exception java.lang.SecurityException: checkPermission
>
> I am not sure what else to do?
>
> -------- Perm File ------------
>
> > orgid="0x7fffddb0" appid="0x4000">
>
>
>
>
>
>
>
> *
>

>

> [Message sent by forum member 'em_pleh' (em_pleh)]
>
> http://forums.java.net/jive/thread.jspa?messageID=357762
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

em_pleh
Offline
Joined: 2008-12-12
Points: 0

Joe good call! that was it. i always forget that.