0
我更新我的jdk/jre后,确实面临奇怪的行为。安装后,我尝试执行的任何小程序都运行到相同的IllegalArgumentException中。我已经启用Java控制台调试功能,并发现了一个奇怪的条目,我认为这是造成这个问题。请看下图:Applet执行失败,在线参数
basic: LaunchDesc.selectJRE(false, false) returning selected jre: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_51
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files (x86)\Java\jre7\bin\javaw.exe
args is: -agentpath:"D:\progz\NetBeans 7.2.1\profiler\lib\deployed\jdk15\windows-amd64\profilerinterface.dll=D:\progz\NetBeans 7.2.1\profiler\lib",5140
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.51 found at C:\Program Files (x86)\Java\jre7\
enabled is: true
registered is: true
system is: true
basic: LaunchDesc location: https://java.com/en/download/JavaDetection_applet.jnlp
basic: exception: Syntax Error: Unbalanced quotes in command line arguments.
ExitException[ 3]java.lang.IllegalArgumentException: Syntax Error: Unbalanced quotes in command line arguments
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
的-agentpath参数传递的,不幸的是我也不知道它的设置也不知道为什么我的旧的jre/JDK并没有导致此问题。
感谢您的帮助。 亲切的问候。