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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.