【问题标题】:JavaFX applications are not Running it on browser, its Throwing error?JavaFX 应用程序没有在浏览器上运行它,它的抛出错误?
【发布时间】:2012-10-19 08:45:47
【问题描述】:

我已经安装了 JDK 附带的 JDK7 和 JavaFX。当我尝试在浏览器上运行 JavaFX 应用程序时,我收到以下显示此错误的弹出窗口:-

Java Plug-in 10.7.2.10
Using JRE version 1.7.0_07-b10 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\376819
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
    Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
    platform is: 1.7
    product is: 1.7.0_07
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files\Java\jre7\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    JavaFX runtime is: JavaFX 2.2.0 found at C:\Program Files\Java\jre7\
    enabled is: true
    registered is: true
    system is: true

    Match: ignoring maxHeap: -1
    Match: ignoring InitHeap: -1
    Match: digesting vmargs: null
    Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
    Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
    Match: digest LaunchDesc: http://download.oracle.com/otndocs/products/javafx/2.2/samples/Ensemble/Ensemble.jnlp
    Match: digest properties: []
    Match: JVM args: [JVMParameters: isSecure: true, args: ]
    Match: endTraversal ..
    Match: JVM args final: 
    Match: Running JREInfo Version    match: 1.7.0.07 == 1.7.0.07
     Match: Running JVM args match: have:<>  satisfy want:<>

请告诉我出了什么问题??

我正在使用带有 JavaFX 的 Windows XP 和 JDK7

【问题讨论】:

    标签: java swing javafx-2


    【解决方案1】:

    看看这个oracle线程:

    https://forums.oracle.com/forums/thread.jspa?threadID=2427666

    在这种情况下,JNLP 中没有设置主类,但它也显示了如何输出错误消息。

    【讨论】:

      猜你喜欢
      • 2018-03-16
      • 1970-01-01
      • 1970-01-01
      • 2017-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多