Forums Register Login

Runtime permission in JDBC

+Pie Number of slices to send: Send
I have made a class and a method to fetch the data from Excel thru JDBC:ODBC and it is working fine. When I want to get data from another class I am getting an Exception like
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
Please tell me how to grant the runtime permission in the programme.
Thanks
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 606 times.
Similar Threads
Composite Unique Key problem in Hibernate.
Pointbase : How can I create a stored procedures with Pointbase database?
Unlocking Android: Regarding Dynamic Class Loading
Socket Permission in JavaPolicy file..
Running exe files with java
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:54:09.