Hello,
I have a small question, I'm trying to build and application that run's on Tomcat 6.0.28. My application is a JNLP that has a swing frame.
The deployment works fine, was able to delopy the JNLP in Tomcat and to access it after that from a browser. The JFrame show's up when I execute the JAR.
But the problem is that I have a M...
Hi,
I'm trying to figure out how to include a reference to a external data file (in text form) that I want distributed along with my application via Web Start (JNLP). Sifting through the documentation for the JNLP structure, I see that you can include references to JAR, nativelib, and extensions - however, I don't see a means to include...
We use java webstart on the client side for a java swing based aplication. Recently we have been experiencing a weird "Cannot start java Virtual machine " error when clicking in the jnlp link.
We soon find out its because the max-heap-size setting in the jnlp file was set to 1024m whereas most of the clients PC only have 1 gb physical ...
I'm writing a Java application that needs to access several resources in a .jar file that is run over JNLP.
While the application works fine in my development environment (Eclipse) it doesn't work when executed through JNLP, apparently because it can't find the resource file in the jar. I've checked the resource file and the resources a...
I'm developing a rich Internet application that requires a Java 7 platform. How can its associated JNLP file ensure the installation of that platform?
I've tried several variations on the following in the JNLP file (mostly playing with the URL in the "href" attribute):
<jnlp ...>
...
<resources>
<java version="1.7+" href="http...
I have a working JNLP application which I need to distribute to various non-technical end users.
If the user's machine has a recent JVM installed, everything is fine. They just double-click the JNLP file I send them and Java Web Start does the rest.
Now I would like to distribute something that works with or without a JVM, e.g. a .exe...
I'm developing a game that I will distribute using Java Web Start / JNLP.
Currently the fully packaged .jar is around 11mb, which is not too bad, but I'd still like to get the application responsive as quickly as possible, i.e. before everything is downloaded - in particular I'd like a splash screen during loading, then allow other reso...
I am working on a web start application which uses two jnlp's- one main and the other auxillary. The codebase tag for the jnlp is set through the environment variables at the runtime.
But somehow when i run the application, the main jnlp has the correct codebase setup but the Auxillary one fails to replace the environment variables with ...
When I click on a link to "web start" my java application, browser downloads jnlp file which I should execute afterwards. Is there any way to force browser to execute jnlp right after the download completes, or event better, to make the whole process transparent, so user just confirms that he wants to launch the application? Thanks.
...
I'm trying to run a java (jnlp) applet from bash and get the PID of the created process.
Using this command :
javaws myapplet.jnlp > /dev/null & echo $!
This returns a pid of the first instance of java that loads the jnlp; i guess, but has nothing to do with the final java process running.
Any clues ?
Found out the original javaws...
I'm creating a Web Start application which would benefit from some of the newer JVM options (especially escape analysis, G1 garbage collector etc.)
At the same time, I would like the application to work gracefully on older JVMs that do not support these options.
Is there a good way of achieving this?
...
Hi,
I have an application that is being deployed via JNLP on Windows XP. I have created a shortcut on the user desktops pointing to http://myserver/myapp.jnlp. In the folder options on XP, I have set the jnlp extension to use javaws. Despite this, the desktop shortcut still appears as a web link (using the browser icon) and when clicked...
I only see one JOptionPane get spawned with the following implementation...:
public class DownloadServiceListenerImpl implements DownloadServiceListener {
static DownloadServiceWindow win;
/**
* This class must have a no-arg constructor per the API
*/
public DownloadServiceListenerImpl() {
}
@Override
public void downloadFa...
Hi,
I’m trying to figure out how to include a reference to a external data file (in text form) that I want distributed along with my application via Web Start (JNLP). Sifting through the documentation for the JNLP structure, I see that you can include references to JAR, nativelib, and extensions – however, I don’t see a means to include...
<property name="netbeans.user" value="${user.home}/.foo"/>
<property name="derby.system.home" value="netbeans.user">
I want derby.system.home property to be the same as the above one. How do I achieve that other than by expliciting the same CDATA (so by value)?
I guess what I'm asking is: how can I let the value of an element ...
When I bring my app to another computer the two buttons that should either open a file browser, or take in a file path to open a file both don't work. I don't understand why.
It works perfectly fine if I compile it within Netbeans.
package maxsublistsum;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
impor...
I have an application which is invoked via Java Webstart. Opening it via the Webstart link works without any issue.
I also have an application based on Excel that generates files (via vba) which can then be opened by the program that starts via Webstart.
What I would like to do is have a button that invokes the Webstart application and...
I want to configure my webstart app/jnlp so that if no internet connection is available, it would start from cache. Nevertheless, when I disconnect from the internet, I always get a NoRouteToHostException or UnknownHostException exception, despite the configuration below.
I've set the offline-allowed and update tags/attributes properly ...
I have a single application that I am deploying via Java web Start. I have several different jnlp files for different launch scenarios. I am using DownloadService2 to check for updates periodically. When an update is available, I prompt the user. If they elect to update, I launch a new instance of javaws using Runtime.getRuntime().ex...
I am deploying an application using Java Web Start and would like to provide in-app notification of update availability.
I'm using DownloadService2 to check for update availability, but the return value is always an empty array.
I'm doing something like:
{code}
Basic Service bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicSe...