cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
437251
Views
2550
Helpful
153
Replies

ASDM "this app can't run on your PC" - Windows 10

patrick.hurley
Level 3
Level 3

I am getting this error when trying to launch ASDM.   New install of Windows 10 Professional.  I have been running this successfully on other Windows 10 PCs.  Has anyone seen this and know the fix?

153 Replies 153

Hi Hazif,

I’m glad it helped>

Regards,
Rich

Awesome solution! thank you for the effort and the post. 

Your solution fixed our case

I'm in the same condition as Patrick

I was check release note ASDM 7.10 on website cisco.com

Now, apps setup on my laptop : ASDM 7.10 version Java 8 update 291 windows 10 pro 20H2

I do not know 2 files hidden.vbs run.bat where this file is located to move to system32. Can you help me?

thanks very much you helped me solve my problem

Hi Scott,

Thank you for the fix. ASDM launched after changing the target. Looks like its not connecting to the ASA. The status displays as  "connecting to the device. Please wait: Any idea?

 

java.lang.ExceptionInInitializerError
at jdk.nashorn.internal.parser.Parser.parse(Parser.java:275)
at jdk.nashorn.internal.parser.Parser.parse(Parser.java:249)
at jdk.nashorn.internal.runtime.Context.compile(Context.java:1284)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1251)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:627)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:535)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:524)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
at javax.script.AbstractScriptEngine.eval(Unknown Source)
at com.sun.deploy.net.proxy.SunAutoProxyHandler.jsGetProxyInfo(Unknown Source)
at com.sun.deploy.net.proxy.SunAutoProxyHandler.access$100(Unknown Source)
at com.sun.deploy.net.proxy.SunAutoProxyHandler$2.run(Unknown Source)
at com.sun.deploy.net.proxy.SunAutoProxyHandler$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.net.proxy.SunAutoProxyHandler.jsGetProxyInfo(Unknown Source)
at com.sun.deploy.net.proxy.SunAutoProxyHandler.getProxyInfo(Unknown Source)
at com.sun.deploy.net.proxy.DynamicProxyManager.getProxyList(Unknown Source)
at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.HttpURLConnection.getHeaderFieldDate(Unknown Source)
at java.net.URLConnection.getLastModified(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getLastModified(Unknown Source)
at com.sun.deploy.util.SecurityBaseline.checkForUpdate(Unknown Source)
at com.sun.deploy.util.SecurityBaseline.access$100(Unknown Source)
at com.sun.deploy.util.SecurityBaseline$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\Program Files\Java\jre1.8.0_301\lib\ext\nashorn.jar" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at com.sun.deploy.security.SelectableSecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.isDirectory(Unknown Source)
at sun.net.www.ParseUtil.fileToEncodedURL(Unknown Source)
at sun.security.provider.PolicyFile.canonicalizeCodebase(Unknown Source)
at sun.security.provider.PolicyFile.access$700(Unknown Source)
at sun.security.provider.PolicyFile$5.run(Unknown Source)
at sun.security.provider.PolicyFile$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.PolicyFile.getPermissions(Unknown Source)
at sun.security.provider.PolicyFile.getPermissions(Unknown Source)
at sun.security.provider.PolicyFile.implies(Unknown Source)
at java.security.ProtectionDomain.implies(Unknown Source)
at java.security.ProtectionDomain.impliesCreateAccessControlContext(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at jdk.nashorn.internal.runtime.options.Options.getBooleanProperty(Options.java:154)
at jdk.nashorn.internal.runtime.options.Options.getBooleanProperty(Options.java:179)
at jdk.nashorn.internal.parser.Lexer.<clinit>(Lexer.java:67)
... 32 more

This turned out to be a JAVA error. I didn't have permission to uninstall the old java version running. So I took a laptop with a clean install, update java, and launched ASDM; it worked. Thanks, fo the help guys. 

Thanks was useful for me.

Glad it helped.

Just came here to say THANK YOU

16372426607583340955235829475514.jpg

That was the fix I was looking for, thank you Sir!

 

Hi Scott,

 

Thanks very much for taking the time to post that solution. It worked for me and saved me a load of time trying to troubleshoot Windows 10.

 

Jezz

Thank you. it helps

Fixed - thanks for the post!

Review Cisco Networking products for a $25 gift card