This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes about java web start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "about java web start" Watch "about java web start" New topic
Author

about java web start

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Sep 13, 2002
Posts: 331
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!


Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
"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!


Rob
SCJP 1.4
M.K.A. Monster
Ranch Hand

Joined: May 02, 2002
Posts: 130
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about java web start
 
Similar Threads
Problem in Signing the Jar Files
Socket Permissions Problem using Java applet on Windows but not on Mac
using bouncy castle jce provider??
applet security is a big pain
Java Policy file