I developed a javafx(2.2) application that link to a certain site. The app is running fine in netbeans 7.3 but when I deploy it the following error will occur.
java.lang.UnsatisfiedLinkError: com.sun.deploy.config.WinPlatform.getPlatformUserHome()Ljava/lang/String;
at com.sun.deploy.config.WinPlatform.getPlatformUserHome(Native Method)
at com.sun.deploy.config.WinPlatform.getUserHome(Unknown Source)
at com.sun.deploy.config.WinPlatform.getLocalStorageDir(Unknown Source)
at com.sun.deploy.config.Config.getLocalStorageDir(Unknown Source)
at com.sun.deploy.config.Config.getDefaultCacheDirectory(Unknown Source)
at com.sun.deploy.config.DefaultConfig.init(Unknown Source)
at com.sun.deploy.config.DefaultConfig.<init>(Unknown Source)
at com.sun.deploy.config.DefaultConfig.getDefaultConfig(Unknown Source)
at com.sun.deploy.config.Config.get(Unknown Source)
at com.sun.deploy.net.proxy.UserDefinedProxyConfig.getBrowserProxyInfo(Unknown Source)
at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.javafx.main.Main.tryToSetProxy(Main.java:572)
at com.javafx.main.Main.launchApp(Main.java:640)
at com.javafx.main.Main.main(Main.java:805)
I really don't know what is the cause of the problem. Is it my proxy or platform I used? I am using java 1.7 32bit Hope someone will help me. Thanks.