java-web-start

Java 7 update 25 makes our java web start application fail with no logging

蹲街弑〆低调 提交于 2019-11-29 07:07:58
问题 Since the java 7 update 25 launched by Oracle our application no longer functions. Initially we got some warning about codebase & sercurity tags missing in the Manifest file, which we fixed. The problem we now end up with is that in the Console we only get the following lines: #### Java Web Start Error: #### null We also get an application Error dialog with the message: Unable to launch the application . The details button gives the following details in the Exception: java.lang

How to use JNLP to pass command line arguments to the application?

我的未来我决定 提交于 2019-11-29 06:44:52
I have a JNLP package for my application. Now I have the need to pass command line arguments to my application. How do I extend my JNLP file to list the command line arguments? For instance, I need to say java main.class arg1 arg2 and the arg1 and arg2 need to be mentioned as part of JNLP file. Look to the description of the application-desc Element for further details of the argument element. The application element indicates that the JNLP file is launching an application (as opposed to an applet). .. Arguments can be specified to the application by including one or more nested argument

Java Web Start vs Embedded Java Applet

元气小坏坏 提交于 2019-11-29 05:16:04
问题 I'm going to deploy my Java game to show it to my friends and whatnot, but I'm having trouble deciding between Java Web Start and applets. Under what conditions is one preferable over another and what advantages/disadvantages are there? 回答1: If your game is going to consume a lot of cpu and memory resources I recommend deploying it as Java Web Start since applets run slower. If you have some java-javascript interaction you'd better use applets Here you can find a table with advantages

Is it possible to use Java webstart execute .exe or dll?

假如想象 提交于 2019-11-29 05:08:49
I know java webstart is running under a secure sandbox. Is it possible to include a .dll/.exe in the jar (or have the webstart download it to the local machine) and then execute it (using Runtime.exec or process,etc) Please Advise. Any suggestion/comment is welcome! Yes. You have to wrap the .dll in a .jar file, and reference it in your .jnlp file using <nativelib> See here for a more detailed description. If you want to run an executable, then your best bet is to package it up in your .jar as a resource, explode it to (say) a temporary directory, and then run it using the normal Process

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

半城伤御伤魂 提交于 2019-11-29 04:52:08
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 HotSpot(TM) Client VM Here is the trace log: Log started: pe, 21 syys 2012 21:04:19 +0300 basic: Java

Java Web Start: Unable to tunnel through proxy since Java 8 Update 111

北慕城南 提交于 2019-11-29 03:30:48
Some of our customers cannot run our Java Web Start client anymore since Java 8 Update 111. They get: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required Looks like it has to do with this change : Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removing Basic from the jdk.http.auth.tunneling.disabledSchemes networking property, or by setting a system property of the same name to "" ( empty ) on the command

Connection details & timeouts in a java web service client

我只是一个虾纸丫 提交于 2019-11-29 01:37:18
问题 I have to implement a webservice client to a given WSDL file. I used the SDK's 'wsimport' tool to create Java classes from the WSDL as well as a class that wrap's the webservice's only method ( enhanceAddress(auth, param, address) ) into a simple java method. So far, so good. The webservice is functional and returning results correcty. The code looks like this: try { EnhancedAddressList uniservResponse = getWebservicePort().enhanceAddress(m_auth, m_param, uniservAddress); //Where the Port^ is

Troubleshooting a Java Web Start application and accessing log files

大城市里の小女人 提交于 2019-11-28 23:21:47
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? assylias 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 Data\Sun\Java\Deployment Windows 7/Vista: %APPDATA%\..\LocalLow\Sun\Java\Deployment Linux/Solaris:

Java Web Start broken since JDK 1.7

心已入冬 提交于 2019-11-28 21:50:05
HERES THE ANSWER: It appears (through our testing) that Java 7 Web Start requires you to host your resources on a server using an SSL certificate. Your cert does NOT have to be signed, but unsigned certs will prompt the client with a trust message that they can ignore. See the below answer for more details We have an internal application which we have been using for many years now. In order to make maintenance easier for this application we have not provided an installable version of the application to our employees, we simply give them a link to a .jnlp and use JWS to launch it on their box.

Opening JNLP File in Java 6 JRE instead of JRE 7

眉间皱痕 提交于 2019-11-28 21:27:37
I have Java 6-based Java Web Start application that I need to open on a Windows machine. The machine has JRE 7 installed, with JRE 6 copied manually to the Program Files folder. The problem is that whenever I want to open the JWS application, it opens using Java 7. Even if I use the javaws executable from JRE 6, some properties still refer to JRE 7 files (I verified this by using javaws -verbose app.jnlp . How can I force JRE 6 just for this application? I have Java 6-based Java Web Start application ..How can I force JRE 6 just for this application? Use an appropriate version attribute in the