From: Takayuki K. <t-k...@ni...> - 2006-09-07 08:29:08
|
Hi everyone: I am interested in using joelib.jar (downloaded binary edition) as an applet. However JOEMol joemol = new JOEMol(); (a part of chempropapp.java) makes following errors. (chempropapp.class is called by JavaScript) [ERROR] wsi.ra.PropertyHolder - Propertyfile joelib.properties not found. java.lang.ExceptionInInitializerError Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM) java.lang.Exception: java.lang.ExceptionInInitializerError On the other hand when I use joelib.jar at "http://www-ra.informatik.uni-tuebingen.de/software/joelib/webstart/", [INFO ] joelib.io.IOTypeHolder - 0 input/output types loaded. [INFO ] joelib.data.JOEPhModel - Using pH value correction model: joelib/data/plain/phmodel.txt [ERROR] joelib.data.JOEGlobalDataBase - Unable to open data file 'joelib/data/plain/phmodel.txt' java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM) java.lang.Exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM) I am using JavaScript to call applet. <applet code="chempropapp.class" codebase="." id="chemprop" archive="joelib.jar, log4j.jar" width=300 height=220> </applet> Is joelib required some modification to use as an applet? Regards. Takayuki KOTANI |