java-web-start

Can I delete downloaded JNLP file (Java web start/JWS) from Java application?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 01:13:33
问题 Google Chrome does not launch JNLP file automatically, so I recommend for our users this solution. It works but the downloaded JNLP file remains in download folder. Deleting them manually is troublesome. I want to add a function to our Java application: Google Chrome downloads a JNLP file and open it. The JNLP file starts our Java application. The Java application deletes the JNLP file (<= I want this function!) Can I get the file path of the downloaded JNLP file which started the Java

How to distinguish 32 bit from 64 bit java version in jnlp files

一个人想着一个人 提交于 2019-11-27 23:42:42
To start our legacy application, we use java WebStart via a jnlp. We would like to support 64-bit Java clients but one of our libraries is architecture dependent. We thought of doing something like: <resources> <j2se version="1.6+" sun.arch.data.model="64"/> <jar href="/apps/swt-3.7M5-win32-win32-x86_64_s.jar" download="eager" /> </resources> <resources> <j2se version="1.6+" /> <jar href="/apps/swt-3.7M5-win32-win32-x86_s.jar" download="eager" /> </resources> This is not working because the parameter sun.arch.data.model="64" is used to set the parameter instead of testing on it. Any ideas?

Remote debugging java web start under JVM 1.8

拜拜、爱过 提交于 2019-11-27 23:40:50
I have a Java Web Start application, which I used to start through a shortcut: "C:\Program Files\Java\jdk1.7.0_67\bin\javaws.exe" -J-Dfile.encoding=UTF-8 -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=8200" http://xxx/yyy/zzz.jnlp But after installing JDK 1.8 it all stopped working, my javaws don't see any of additional X||D params. I tried this way: setenv JAVAWS_VM_ARGS "-Dfile.encoding=UTF-8 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=8200" "C:\Program Files\Java\jdk1.8.0_25\bin\javaws.exe" http://pont/dms/InstallDMS_debug

I am not able launch JNLP applications using “Java Web Start”?

…衆ロ難τιáo~ 提交于 2019-11-27 22:46:17
Up until recently, I was able to launch/open JNLP files in Firefox using Java web start . Don't know what happened all of a sudden JNLP files stopped launching, a splash screen appears saying Java Starting... and then nothing happens. Even the Java Console in the browser and javacpl.cpl applet doesn't open. Tried all possibilities: removed all older version and installed the latest JRE (java version "1.6.0_17"), still it doesn't work. Done some googling for this problem, people suggested to start javaws.exe with -viewer option but same behavior (a splash screen appears saying "Java Starting...

Troubleshooting a Java Web Start application and accessing log files

点点圈 提交于 2019-11-27 21:17:54
问题 I am launching a Java Web Start application which shuts down abruptly. Does anybody know how to access the logs for Java Web Start. Are there any known reasons for it to shut down abruptly? 回答1: You should enable detailed trace logging as explained on this page. The same page gives you the location of the log files; The trace file is saved into the log directory in the "Java Deployment Home" folder. That folder's location is specific to your operating system: Windows XP: %HOME%\Application

How to make a machine trust a self-signed Java application

天涯浪子 提交于 2019-11-27 20:16:20
问题 I'm deploying an application using JAWS, and it worked until late 2013 when I got a warning, and then this morning Java completely blocked it. The message in French is: Application bloquée par les paramètres de sécurité Vos paramètres de sécurité ont bloqué l'exécution d'une application auto-signée avec une version obsolete ou arrivée à expiration de Java. which would translate roughly as: Application blocked by the security settings Your security settings have blocked from running an

Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource

微笑、不失礼 提交于 2019-11-27 18:44:34
问题 Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource I can't launch any java webstart application on a 32-bit Windows 7 system. E.g. ArgoUML - http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp Everything works fine with Java 6, but with Java 7 I get this kind of errors: Unable to load resource: java.io.IOException: Error writing to server or java.net.SocketException: Connection reset Java version: Java Web Start 10.7.2.11 Using JRE version 1.7.0_07-b11 Java

What is the difference between runnable jar library handling options?

↘锁芯ラ 提交于 2019-11-27 17:09:27
So I will be using Java Web Start to deploy the java application. When exporting to a Runnable Jar, there are three options in eclipse Helios. Extract required libraries into JAR Package required libraries into JAR Copy required libraries into sub folder next to JAR. What are differences, and how will they affect my .jnlp file? If it's a single jar, isn't it easier because I wouldn't have to write all the different paths to all the libraries it uses? If there are changes in both the library and the application, a single jar would be a better solution? Or would I need <jar href=''> for each

Java 7u51 will not accept JNLP with self-signed certificate?

旧城冷巷雨未停 提交于 2019-11-27 11:53:58
I read on the web that Java version 7u51 (to be released in January 2014) will no longer accept Java Webstart applications that are self-signed by me. Is that true? In case it is true, do I have any chance to build a workaround for my JNLP application, so that I am able to start the application even after January 2014? I have seen that the option to suppress the security warnings because of the usage of a self-signed certificate was removed in 7u40. Matt McHenry Yes, this is true. This blog entry from Oracle has the details. As I understand it, you have three options for continuing to work:

Signing a jar file with trusted certificate for JWS deployment

你。 提交于 2019-11-27 11:41:45
问题 I've developed an open source program, WPCleaner, which is distributed through Java Web Start. Current version is available at http://site4145.mutu.sivit.org/WikiCleaner/WikiCleaner.jnlp With the recent updates in Java, it becomes more and more difficult to deploy Java applications through Java Web Start when you need the application to have a few permissions (writing in the preferences, accessing other web sites, ...) My application was self-signed, which was ok before but new updates