• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

about java web start

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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----
 
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic