java.io.FilePermission
this exception always thrown when I am trying to run my code using tahiti server that i am developing java mobile agent

There must be reason why that error is thrown.

Please post relevant code and do not forget include stack trace of error

Thank you very much I found the error

AgletProxy p;  //line 1
p=getAgletContext().createAglet(getCodeBase(),"child",null); //line 2

line2 is the error and correction is

AgletProxy p;  //line 1
p=getAgletContext().createAglet(getCodeBase(),
"examples.folder1.child",null);          //line 2

where in windows OS
C:\aglets-2.0.2\public\examples\folder1

and "folder1" contains java files I am developing

Edited 6 Years Ago by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)

There must be reason why that error is thrown.

Please post relevant code and do not forget include stack trace of error

Thank you very much I found the error

AgletProxy p;  //line 1
p=getAgletContext().createAglet(getCodeBase(),"child",null); //line 2

line2 is the error and correction is

AgletProxy p;  //line 1
p=getAgletContext().createAglet(getCodeBase(),
"examples.folder1.child",null);          //line 2

where in windows OS
C:\aglets-2.0.2\public\examples\folder1

and "folder1" contains java files I am developing

Thank you very Much Peter you are so gentle
I have a problem in the package that the correct syntax is

Package examples.folder1;

examples is a folder appears after installation of Tahiti server
folder1 : the Folder I created to create java files inside it

This question has already been answered. Start a new discussion instead.