jnlp

Automate builds for Java RCP for deployment with JNLP

I've found many sources that talk about the automated Eclipse PDE process. I feel these sources don't do a good job explaining what's going on. I can create the deployable package, in a semi-manual process via the Feature Export. The automated process requires knowledge of how the org.eclipse.pde.build scripts work. I have gotten a...

How do I add a MIME type to .htaccess?

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...

How do I detect if a function is available during JNLP execution?

I have an application which really should be installed, but does work fine when deployed using JNLP. However, it would seem that some Java functions such as Runtime.exec don't work using the default security options. I would like to therefore disable UI functionality that relies upon such functions. So my question is, how do I detect a...

How can I access the classes loaded by Java Web Start when dynamically compiling code?

I am dynamically compiling code in my client application. When I start the application with Java Web Start I get an exception. The exception only occurs when it is run through Java Web Start. //The exception evolver.core.model.change.execution.ExecutionException: Compilation failed! DynamicComparator.java:2: package evolver.core.model....

Enabling https for Java Webstart

hi, I have a swing application deployed in HTTP Server. Users use the browser to point an URL and install the client using java webstart. Now I need to enable https access to my application deployed on HTTP server. I am using JDK 1.5 as default jdk supported in the jnlp file. For time being I use a self signed certificate to the sign ...

jar resources in jnlp are not signed by the same certificate

I've been working with web start for a couple years now and have experience with signing the jars and what not. I am taking my first attempt at deploying a RCP app with web start and though I have in fact signed all of the jars with the same certificate I keep getting this error: 'jar resources in jnlp are not signed by the same certific...

RCP + JNLP\WebStart App will not start

I've followed this example: RCP+JavaWS but the app just briefly comes up and goes away. I've turned the console on and it quickly goes away too. I've tried adding: -console, -consoleLog, and -noExit to my application-desc args and I have searched my Application Data dir to no avail. Does anyone have any ideas where I could look to find...

JavaFX won't load on my webpage

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 ...

Java Web Start - Popularity

I recently used a Java Web Start application. I launched it from my web browser using an embedded jnlp link in the page I was viewing. The application was downloaded, launched and worked just fine. It had access to my local file-system and remembered my preferences between restarting it. What I want to know is why are Java Web Start ap...

Java Image messes up when I run the .jnlp file

I have a method that gets called at the start of my program, and it works fine when I run the jar, but when I run the jnlp file it crashes. public void newImg(String i) { try { File file = new File(i); img = ImageIO.read(file); } } img is a bufferedImage, by the way. ...

How do you clear the Java Console?

I have output messages displayed on the Java console for an application that started using webstart. Instead of the user manually clearing message, is there a way of clearing console messages in code? These messages are printed at the rate of about 1000 per second and seem to end up using too much memory, i could have stopped the printi...

How can I debug applications under Java Web Start (JNLP) ?

I know how I can debug a remote Java VM with Eclipse. Bit how can I do it with a Java Web Start program. I have a problem that only occur in Java Web Start. It must be security related. I need a solution that work with a current Java VM like 1.6.0_12. ...

What are the possible causes of com.sun.deploy.net.JARSigningException : Could not verify signing in resource; while using a JNLP based program?

This is some of the stack trace for the exception : com.sun.deploy.net.JARSigningException: Could not verify signing in resource: .jar at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source) We ourselves are signing all the jars referred in...

Java WebStart: <property ...> ignored when using <extension>?

I have a problem modernizing a Java WebStart application under Java 6 u 13 (the latest at this moment) We desire to use the new mechanism to have several master configuration files each with their own configuration , which then "include" another jnlp file which is autogenerated to ensure that the jar list is accurate. After quite a...

How to embed Java Web Start (with jnlp) application on google?

Hey All. I have created some simple app in Java, and 'deployed' it using Java Web Start (and jnlp) on my local machine. Now I would like to put it on the web, to have some feedback from various people. I was thinking about embedding my app in Google infrastructure (pages.google.com/sites.google.com/blogger.com - whatever). Question: H...

Java WebStart and endorsed directories

How do I specify in java webstart .jnlp file, that some of my jars are overriding the JRE builtin implementations? Just like the endorsed lib property on a regular application. ...

Why does my Jnlp program not working with log4j ?

Hello there. I have the following problem: I've deployed in Tomcat a JNLP and an executable JAR files. JNLP file should automatically download the JAR file and execute it. The JAR file is signed and verified. This is done (the downloading part). But when to execute the JAR main class (specified in the JNLP file), a problem occurs: A part...

How to allow running only one instance of a Java program at a time?

I need to prevent users from starting my Java application (WebStart Swing app) multiple times. So if the application is already running it shouldn't be possible to start it again or show a warning / be closed again. Is there some convenient way to achieve this? I thought about blocking a port or write sth to a file. But hopefully you ca...

why do I get UnsupportedClassVersionError in jnlp?

I get an UnsupportedClassVersionError thrown when launching jnlp, however when I try to run the relevant jar files from command line everything works fine. I tried setting j2se versions to 1.5+, 1.6+, using signed/unsigned jar files, but all that doesn't help. I'm trying to launch my own jar file with two supporting jar files (mysql-con...

Dynamicly generate a JNLP file for a Java Web Start application?

I'm writing a servlet to return a JNLP file with several dynamically generated parameters to be passed to a web start program. Right now my code uses a stock template and token replacement, but I have to think there is a way to generate this file programmaticly within a servlet. Are there any tools available for this? ...