File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "" Watch "" New topic

Marios Trypas

Joined: Jan 20, 2011
Posts: 2
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
I agree. Here's the link:
jQuery in Action, 3rd edition