• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about java web start

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai , i wrote a one java program using in swings, i complied it. the file name is TheTimei.java, after that i put it into .jnlp file
after that
1.First, create the JAR file:
jar cf JNLPTime.jar TheTime.class
2.Second, create a key in the keystore (or use one you already have). You'll be prompted for information like first name and last. You should at least fill in that information.
keytool -genkey -keystore myKeys -alias jdc
3.Third, sign the JAR. Be sure to remember your password from the previous step.
jarsigner -keystore myKeys JNLPTime.jar jdc
after that how to run javawebstart.... please tell to me
----madhu----
 
Blake Minghelli
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you haven't already, you should check out the Web Start Home Page at java.sun.com, especially the Developers' Section. It has all of the necessary info to get a program successfully launched. I used it as a guide to launching my first web start app.
Once you have everything set up, all you have to do to launch it is to type the URL to your .jnlp file in a browser. Just a warning... you have to add a new MIME type to your web server so it knows how to handle .jnlp requests.
Good luck!
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kanikanti",
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name
here:

You can also find the naming policy
here:
Thank You!
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kanikanti:
hai , i wrote a one java program using in swings, i complied it. the file name is TheTimei.java, after that i put it into .jnlp file
after that
1.First, create the JAR file:
jar cf JNLPTime.jar TheTime.class
2.Second, create a key in the keystore (or use one you already have). You'll be prompted for information like first name and last. You should at least fill in that information.
keytool -genkey -keystore myKeys -alias jdc
3.Third, sign the JAR. Be sure to remember your password from the previous step.
jarsigner -keystore myKeys JNLPTime.jar jdc
after that how to run javawebstart.... please tell to me
----madhu----


You need to create a JNLP file (XML syntax), by calling the file from your webserver the JavaWebStart client will lounce the program.
You still have to add a contenttype to the webservers mimitypes. How to do this, is all on the page described above.
Yours,
Mark Monster
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic