Hi Dukascopy Support:
When i try to execute this simple line:
private static String strPath = System.getProperty("user.home");
e get the following error in console log:
<record>
<date>2012-03-23T19:37:09</date>
<millis>1332531429521</millis>
<sequence>70</sequence>
<logger>com.sun.deploy</logger>
<level>FINE</level>
<class>com.sun.deploy.trace.LoggerTraceListener</class>
<method>print</method>
<thread>9</thread>
<message>23.03.2012 19:37:09.521 SEVERE a.f ] null
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.dukascopy.dds2.greed.agent.a.f.az(Unknown Source)
at com.dukascopy.dds2.greed.agent.a.e.a(Unknown Source)
at com.dukascopy.dds2.greed.util.d.a(Unknown Source)
at com.dukascopy.dds2.greed.actions.CompileAndRunAction.yw(Unknown Source)
at com.dukascopy.dds2.greed.actions.c.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "user.home" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at JForex.JLMH.<clinit>(JLMH.java:20)
... 10 more
</message>
</record>
I think this error occurs because jfx file not signed in compilation as a usual applet or jws application needs to access System.Properties.
TIA
JL