jnlp

During Java applet startup, what does “Running JVM args match the secure subset” mean?

房东的猫 提交于 2019-12-11 01:50:00
问题 I am trying to run remote debugging on a Java applet, but cannot get the applet to connect to the debugger (Eclipse) nor will it suspend. During startup, I get the following: ... Match: digesting vmargs: -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,address=8088,server=y,suspend=y Match: digested vmargs: [JVMParameters: isSecure: false, args: -Xdebug -Xrunjdwp:transport=dt_socket,address=8088,server=y,suspend=y -Djava.compiler=NONE] Match: JVM args after accumulation:

Unable to launch the applications

匆匆过客 提交于 2019-12-11 01:23:43
问题 Hi, I have a java swing application, I want to start it via jnlp , I configured my project web start configuration but when I push the launch button doesn't work. Do you know why? Here is the error Java.lang.NumberFormatException: For input string: "\Users\Administrator\Documents\NetBeansProjects\LoginPage\dist" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.sun.deploy

How SingleInstanceService of Jnlp Api works?

感情迁移 提交于 2019-12-10 23:39:12
问题 As it is mentioned that SingleInstanceService allow applications launched under Java Web Start to register themselves as singletons, and to be passed in new parameter sets when user attempts to launch new instances of them. How it works ? We register listners to the service once and it won't allow it to create another instance.but basiclly how it works that i am not getting. SingleInstanceService sis; ... try { sis = (SingleInstanceService)ServiceManager.lookup("javax.jnlp

JNLParseException [ Could not parse launch file. Error at line 56.]

删除回忆录丶 提交于 2019-12-10 21:06:26
问题 I am trying to load an applet using jnlp and deployjava.js but I could not get my head around this problem .Stacktrace as follows: JNLParseException[ Could not parse launch file. Error at line 56.] at com.sun.javaws.jnl.XMLFormat.throwNewException(Unknown Source) at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl

JNLP as a Applet in HTML page

▼魔方 西西 提交于 2019-12-10 21:03:05
问题 I'm trying to run my JNLP within an HTML page, but the java plugin does not run the JNLP, runs only the Applet. Here is my code: <applet width="800" height="500" codebase="http://127.0.0.1:8888/applets/" code="br.com.app.server.utils.CompatibilityApplet" archive="CompatibilityApplet.jar"> <param name="jnlp_ref" value="http://127.0.0.1:8888/applets/testehellojws.jnlp"> </applet> Thanks. [EDIT] An example: http://java.sun.com/javase/ja/6/ea/6u10/plugin2/jnlp/CompatibilityApplet.java <?xml

JVM class loader tracing options in JNLP

我的梦境 提交于 2019-12-10 18:28:44
问题 I'm trying to debug class loading issue in a java clied that is being run via JNLP. But -XX:+TraceClassLoading only prints 'Loaded' events and only for core classes. The other option, -verbose:class does nothing. I tried to prefix it with D and X without effect. When I use -verbose:class in a desktop java application, it prints all events just fine, but the bug does not occur here. Am I missing something or is there another way to trace class loading in JNLP? Edit : Examples of what I tried

Where is JnlpDownloadServlet in JDK 7?

淺唱寂寞╮ 提交于 2019-12-10 16:37:45
问题 According to Oracle's online documentation, JnlpDownloadServlet is still a part of Java 7: http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/downloadservletguide.html But I just installed JDK 1.7.0, and neither jnlp-servlet.jar nor jardiff.jar appear anywhere in my Java home, at least on Windows. I ran a search through every jar in the directory (using the excellent ack command-line utility) and none of them contain JnlpDownloadServlet. 回答1: Starting with Java 7

Avoid security alert “Do you want to run this application?” for a JWS app

早过忘川 提交于 2019-12-10 15:35:18
问题 We have a Java application that uses RxTx to update the firmware of our game console. To avoid security alerts when the users starts the Java application on our website through WebStart we have bought a trusted certificate and signed the application with that. All checks indicate that it is successfully signed and if I launch the application via Safari on my Mac(OS X 10.6.8) with Java 1.6.0_41 it starts without any complains. But if I launch it using IE9 on a Windows 8 machine I get an alert

How do I add a MIME type to .htaccess?

岁酱吖の 提交于 2019-12-10 12:43:46
问题 I would like to add the following MIME type to a site run by Apache : <mime-mapping> <extension>jnlp</extension> <mime-type>application/x-java-jnlp-file</mime-type> </mime-mapping> That is the Tomcat format. I'm on a shared host, so I can only create an .htaccess file. Would someone please specify the complete contents of such a file? 回答1: AddType application/x-java-jnlp-file .jnlp Note that you might not actually be allowed to do that. See also the documentation of the AddType directive and

JavaFX won't load on my webpage

寵の児 提交于 2019-12-10 11:45:42
问题 I realize this is a very vague question, so I'm not looking for specifics, just suggestions... I wrote a JavaFX application in NetBeans, which automagically builds it into a jar, jnlp, and html page. After uploading these files onto my webserver, I can navigate to the page and everything works, on the computer I developed it on . On any other computer, it just hangs at the loading screen (spinning animation). Things I've tried: Made sure these computers have most up to date JRE Tried it in