Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic  RSS feed

Marios Trypas
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to make my first RMI application using Netbeans. The application uses a jdbc database to keep "customer's information". When I try to run the application i get this access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkPackageAccess(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
Also i use a system.policy file located in .../src file.
The file contains:grant
Could anyone tell me what's wrong? thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!