 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
RaW Guest
|
Posted: Tue Dec 27, 2005 3:20 pm Post subject: Sun Wireless Toolkit gives SecurityException - please help. |
|
|
I have a midlet (not written by me), and I would like to analyze how it
works. Unfortunately I am not able to run this midlet. Everything compiles
fine but I receive an runtime exception during running sun WTK emulator.
Incorrect domain name, switching to 'untrusted'
java.lang.SecurityException: untrusted domain is not configured
at com.sun.midp.security.Permissions.forDomain(+9
at com.sun.midp.dev.DevMIDletSuitImpl.create(+39)
at com.sun.midp.dev.DevMIDletSuitImpl.create(+62)
at com.sun.midp.main.Main.runLocalClass(+20)
at com.sun.midp.main.Main.main(+116)
Exception completed.
14945 bytecodes executed
0 thread switches
738 classes in the system (including system classes)
229 dynamic objects allocated (14588 bytes)
1 garbage collections (0 bytes coolected)
I am not able to fing any solution via google. I hav e found only some not
clear instruction to delete MIDP_HOME environment variable. But I have not
any MIDP_HOME on my system.
I have also found some advices to change something in
java.security and java.policy files.
Unforunately I don't know what to change. Anyone has any idea how to fix my
problem ??
I will be appreciate for any advice. Thanks in advance.
--
RaW
Please fill free to correct my English.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|