I have a problem with Java Applet and JCo libraries to connect SAP R/3 and call some RFC. I've installed JCo following the tutorial, so the sapjco.jar is into the JAVA HOME/lib/ext folder and the dll (sapjcorf.dll and librfc32.dll) into the C:/WINDOWS/system32 folder. My JRE es 1.5.0_09.
When I test the applet within Eclipse Environment it works and retrieve data from RFC, but when I try to run it from an html page it throws the following exception:
<i>java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' access denied (java.lang.RuntimePermission loadLibrary.sapjcorfc)</i>
I try to reinstall JCo but it doesn't work.
So, anyone got an idea how I can fix it?
Thanks in advance.