jnlp « Development « Java I/O Q&A





1. Java WebStart and endorsed directories    stackoverflow.com

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.

2. How to get updated jnlp file when using shortcuts?    stackoverflow.com

If my jnlp descriptor on the server changes and I start my application from the browser, a new jnlp file will be created in the cache and my desktop shortcuts will ...

3. Local alternative to JNLP file?    stackoverflow.com

Try as I might, I can't get a JNLP file to run locally (via a double-click). It seems to be an issue of locating a jar file, even when I specify ...

4. Specify temporary directory in .jnlp    stackoverflow.com

I'm accessing a java applet that is running on a website (which i can't access/modify the content) you can find the applet here : xxx I want to be able to specify ...

5. How to specify a JRE range in jnlp file?    stackoverflow.com

We have a java app which uses Java Web Start. The jnlp file is configured with [j2se version="1.5+"]. So if JRE 1.5 and 1.6 are installed, the app is run ...

6. Passing arguments on a jnlp file    stackoverflow.com

Is it possible to pass maven-like arguments on a JNLP file?

   <jnlp spec="1.0+" codebase="${javafxCodebase}" href="Foo.jnlp">
   <information>
      <title>${javafxTitle}</title>
      ...

7. Generate java JNLP files?    stackoverflow.com

I have a java application that reads a resource folder containing a bunch of .jar files. For some of these .jar files corresponding JNLP files must be created based on default ...

8. Launch File Error in Java Web Start    stackoverflow.com

I'm trying to launch a java app via web start and I'm getting the following error which I can't seem to figure out. Any hints, tips or tricks to resolve this ...

9. creating a JAVA jnlp file    stackoverflow.com

Hi this is my xml file to create a JNLP all I get is a Navigation to webpage cancelled even though I am specifying that my jar is already located in ...





10. Any Java IDE which can quickly establish a local project based on a remote JNLP file for instant debugging?    stackoverflow.com

Given a remote JNLP which works (all jars are available etc) but you need to run a debug session on the code. Is there any facility that easily allows you to create ...

11. Get JNLP file name from the launched program    stackoverflow.com

Is it possible to determine JNLP file name from the launched thru Web Start java program?

12. Invoke JNLP file from java code    stackoverflow.com

is it possible to invoke .jnlp file from java code? Example:

Process p = Runtime.getRuntime().exec(...)
Thanx!

13. The following required field is missing from the launch file:     stackoverflow.com

I have a web page containing an applet. This references a JNLP file. The web app is served by Tomcat. I've verified that the JNLP is valid using JaNeLA. To test this locally, ...

14. Java Web Start: How to make the system download the file every time the file changes    stackoverflow.com

I've just implemented a Java Web Start application, and I noticed one problem during the programming process: If I distribute a version and use the JNLP file to download it, I cannot ...

15. Downloading a JNLP File in Java    stackoverflow.com

I want to download a JNLP file from a given link. I already know how to go through the authentication process. How can I download that file? Eventually I want to ...

16. How to restrict Java Web Start to run only a set of known .jnlp files?    stackoverflow.com

Is there a way to restrict the .jnlp files Web Start is allowed to load to a known set of URLs? Company policy prohibits users to install any software and Java Web ...





17. Why do we need JNLP File in Java and Applet?    stackoverflow.com

  1. Why do we need JNLP file?
  2. What is the advantage of it?
  3. Can we run applet without signing it on browser?

18. Browser showing content of jnlp file    stackoverflow.com

I made small sample example in jws that is running on local machine. I have tested in mozilla browser. But when I put this example on server then and trying to ...

19. Prevent Firefox from downloading endless JNLP files?    stackoverflow.com

Every time I click a Java Webstart button, Firefox downloads the JNLP file and puts it in my Downloads folder. I have over 500 JNLP files from my JWS app called ...

20. Max file size for JNLP PersistenceService?    stackoverflow.com

I'm looking at JNLP to see if it's a better way to package an applet that saves data to a local file. Does anyone have any data on what limits browsers (or ...

21. jnlp file args    coderanch.com

hi Ronnie this is the same question as in ur earlier post, right? i dont think there is way. i dont understand why u want to have "file.jnlp arg1 arg2"?? because that is applicable for command line programs and u don't expect to run jnlp files from command line, do u?? regards maulin

22. problem with loading .jnlp files    coderanch.com

Hi, i have a file called try.jnlp.It works fine when i copy it to the desktop and open it with java web start,but it doesn't work if i run it from the web.My web server is apache and i altered my .mime.types file by adding the line applications/x-java-jnlp-files jnlp I also restarted my server.What could be wrong?here is my .jnlp file

23. passing parameters in a jnlp file    coderanch.com

24. A problem of JNLP file    coderanch.com

Hi , everyone , I have a question when edit My JNLP file . The value of description element I declared are some Chinese characters.when I launch the Application by JWS ,I found the charater appear not correctly in JWS presention windows. Is there some wrong in my JNLP file? How should I encode my characters in THe file so that ...

25. System tries to download .jnlp file through SSL    coderanch.com

Hi, This is an IE Explorer bug. What is happening is that in Tools/Internet Options/Advanced/Security you have the "Do not save encrypted pages on the disk" checked or in the http response sent back to the broser there is some "Pragma" - "No-cache" or "Cache-control" "No-cache" or "No-store" for http1.1. If one of the above happens IE will not be able ...

26. JNLP file on local PC    coderanch.com

Hi, I think that JWS will always check for the jnlp version on the server and will use that. Here is a partial of an example jnlp file which work like that although I don't think it has anything special. Please update the jnlp version on the server and check if that's not used although the users have an older version. ...

27. missing from the launch file: jnlp    coderanch.com

I simply cant find the mistake. Any advise is appreciated. I got this working previously without the security element. Removed the securiy element, restart tomcat remove webstart cache i still get the same exception. tried changing the codebase but still get the same exception after tomcat restart. codebase="http://localhost:8080/war/app" or codebase="$$codebase" tried the unofficial guide in JNLP - http://www.vamphq.com/jwsfaqp.html but to no ...

28. how to create Dynamic jnlp files    coderanch.com

29. 2 jnlp files using the same extensions    coderanch.com

Hello, I launch in a very fast succession 2 jnlp files which have the same component extensions inside. Every now and then I receive errors pointing to concurrent access problems relative to the extension jnlp file (extension jnlp file not found in cache, file locked by other process, file not found). Any ideas how to solve that? Regards, Cristian

30. jnlp file error    coderanch.com

When you will run the above JNLP, you will get the following Web Start exception: JAR resources in JNLP file are not signed by same certificate The reason for this is simple - one of the jar files that you are using was already signed by another party. Here is the way to find it: jarsigner -certs -verbose -verify activation.jar You ...

31. jnlp file error    coderanch.com

our jnlp file occours error when launching the jnlp file through java web start.the error is "JAR resources in JNLP file are not signed by same certificate". our jnlp file is given below: --------------------------------------------------------------- ReloadEditor ...

32. auto open jnlp file on IE5 without open/save prompt    coderanch.com

How do you automatically download/open a JNLP file on an IE5 browser and some versions of IE6. The browser prompts me to Open Save or Cancel, and then after that prompts me to choose which program to run the JNLP file. I already have javaws with j2se 1.5, and there is already an entry for the JNLP file opened by javaws ...

33. Error while launching jnlp file    coderanch.com

Friends, I have a simple SWT application (helloworld appln). I tried to make use of Java Web start for that application. I wrote a .jnlp file and when i execute it, it throws the following error: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Composite at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown ...

34. JNLP : Launch File Error - Could not find main-class    coderanch.com

Hi All, am unable find the file.. (Could not find main-class) am using J2se 1.4 and Jboss 4.0 i have created all my class file and make it as JMSconsumer.jar then i create JMSClient.war ==>MANIFEST.MF web.xml , all .Jar files and JmsClient.JNLP while am creating .war(JMSClient.war) file I have mention my Main method class in side Manifest.mf file as Main-class: MYMainMethod.Class ...

35. Java WebStart 1.6.0 always cache jnlp files    coderanch.com

We generate jnlp files by our servlet. As far as I can see Java WebStart 1.6.0 move jnlp to cache and if I try to call the same jnlp then Java WebStart 1.6.0 get this jnlp file from cache not from my servlet. I tried to set next headers in order to force not to cache jnlp files: public void doPost(HttpServletRequest ...

36. Problem changing JNLP file association    coderanch.com

I installed SUN JRE 1.5 Update 7 in a fresh Windows XP machine and found the registry recongizes the JNLP file extension is associatied with it. Then I installed an application that downloads IBM WebSphere Application Client 6 which actually uses IBM JRE 1.4.2 . After this installation IBM JRE changes the .jnlp file association from Sun JRE 1.5.0_07 to its ...

37. stray jnlp files gets downloaded onto the desktop when using Safari on MAC.    coderanch.com

We are using jdk 1.4 webstart and safari browser on a mac machine. Once the web start begins a jnlp file gets downloaded on to the desktop but does not get deleted. This happens each time the webstart begins thus the desktop is cluttered with stray .jnlp files each time web start is used. Is there any workaround such that these ...

38. Permission denied jnlp file    coderanch.com

i make a application and want to run through java web start.in my system (server) running fine when clint access my system they may create a problem. the launching problem is occered and exception given below. "permission denied of jnlp file".my jnlp file given below. Brihaspati2 Reload Editor Brihaspti software solutions,Learning Commons

39. jnlp launch file error    coderanch.com

Opt

40. jnlp launch file error    coderanch.com

hi i m new to jnlp.i run the jnlp file using web start.that shows the error message like: launch file error: "The Field href has an invalid value.." Time Check Java Developer Connection Demonstration of JNLP

41. setting system property -D option in JNLP file    coderanch.com

The suggested approach (to add the property to the resources section in the JNLP file) in Java 6 only works for "secure" properties. Properties are considered secure in this context if they start with "javaws." or "jnlp." -- so the example doesn't work -- at least not in Java 6. In Java 5, I think it does work, but if your ...

43. Regarding JNLP I am new to this and JWS I am getting the File not found Exception    coderanch.com

HI All, Can any body tell me while executing JNLP programe i am getting the File NOt Found exception. i gave correct path only, i was checked all the files in severs ROOT folder can any body tell how to resove this , from last 4 day's i am facing this problem.

44. Is editing of client copy of jnlp file possible when using JWS?    coderanch.com

Hi! I have one problem there...I am trying to use JWS and JNLP on non standard way.. Idea is that JNLP file can hold some data for mine Java application. This textual data can be stored in property nodes of jnlp file and then provided to application through command line ... It works fine, application is started as JWS application and ...

45. javax.jnlp.FileSaveService not save file with default name.    coderanch.com

Hi, I am using javax.jnlp.FileSaveService class to save a file to local disc. But even though the save dialog box popup comes, it is not showing the default name in the filed to enter the name. But by giving a filename, its possible to save the file. code snippent *************************************** FileContents fileContents = null; ByteArrayInputStream is = new ByteArrayInputStream( (new String("Saved ...

46. How to specify a JRE range in jnlp file?    coderanch.com

We have a java app which uses Java Web Start. The jnlp file is configured with [j2se version="1.5+"]. So if JRE 1.5 and 1.6 are installed, the app is run on 1.6. Now, we have requirement where the app should be restricted to run only within the range - JRE 1.5.0_07 through JRE 1.5.0_17 [j2se version="1.5*"] will not work - it ...

47. Embed Username and Password into .JNLP file    coderanch.com

You don't control the JNLP file -- it comes from the server where the network managers control it -- so no. If you could track down the copy in the Java cache you could possibly hack that copy -- but the people who designed the JNLP file wouldn't have designed in a place to put a user ID and password, so ...

48. java.io.IOException: There is not enough space on the disk JNLP    coderanch.com

In the Exception i am getting com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://150.236.9.70:8080/JavaWebStartTest/Test.jnlp at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source) at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) In ...

49. find out the variables' value in the jnlp file    coderanch.com

${com.prod.my.myapp.common.client.title} I ${com.prod.my.myapp.common.client.description} ${com.prod.my.myapp.common.client.short_description}

50. Do jnlp file updates itself    coderanch.com

Hi, I have a problem, I have an jws application. It is deployed on web-server. When client first time run application by running it's jnlp file, on his desktop will be created one shortcut. If I edit jnlp on server by adding some resources(jar files) and changing codebase, can client just start app by double click on shortcut to update both ...

51. Signing JNLP - Where does JNLP-INF directory go?    coderanch.com

I am pursuing trying to launch a Java Webstart JNLP program without striking fear into the hearts of those that use it. I have a valid certificate and keystore, and launching the JNLP confirms that the certificate side is all OK. However, like many I seem to be getting the message "Althought the application has a digital signature, the application's associated ...

52. Error message when trying to run a JNLP file    java-forums.org

JNLPException[category: System Configuration : Exception: null : LaunchDesc: PageData Application Rogers Cadenhead ] at com.sun.javaws.Launcher.downloadJREResource(Unknown Source) at com.sun.javaws.Launcher.prepareResources(Unknown Source) at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at ...

53. How do you set a parameter value in a jnlp file?    forums.oracle.com

I am trying to figure out how to assign a value to a parameter within a jnlp file and then call that into the main class file. My main class file is below. I want to set firstName inside of the JNLP config file, but am convinced it is impossible. Any thoughts? public class Greeting { private String firstName; public Greeting() ...

54. Creating java runnable single file (like jnlp)    forums.oracle.com

Hi newark, I would actually prefer an answer rather then documentation. but documentation says that java after 1.4 can run a jar directly without anything. So via jnlp the application runs and if I run the jar directly I get: MissingFieldException[ The following required field is missing from the launch file: ] 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) ...

55. cant run jnlp files to install whatever from java.sun.com like jwtoolkit    forums.oracle.com

i wanna installa the java wireless toolkit but when downloading from java sun it download a jnlp file and when executing the file it just displays a windows that says "java starting" and thats all neve do nothing... im using linux and already have installed jse and netbeans with movility pack and all works well...

56. chaining off an auxiliary jnlp file from the main one    forums.oracle.com

I am new to Java codeing and hope to find assistance in figuring out how to chain load an auxiliary JNLP file from the main JNLP file I am working with. I am tring to get a Cisco Nexus 5020 Device Manager installer JNLP file to load correctly. When running the program I recieve the following error: "JAR resources in JNLP ...

57. writing jnlp file...    forums.oracle.com

58. Creating .jnlp files from .java files    forums.oracle.com

Last resort: Ask on the forums. I'm having a lot of trouble creating .jnlp files with only a .java file. For some reason if I do create project, the project does not run correctly, but when I make the file and run the file alone, it works perfectly fine. Most of the tutorials that I have read online ask me to ...

59. Calling a java3D application from .jnlp file     forums.oracle.com

60. Dynamic JNLP file problem    forums.oracle.com