• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I call any jar file from Browser?

 
Parshuram Walunjkar
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I trying to developed a small swing application which is embeded in executable jar file.
But I want to run that jar file on local machine with local browser.How can I do that thing's? Please tell me.
Regards from
Parshuram Walunjkar
 
Robert Ziel
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
if you are planning to use webstart you have to make use of a webserver so the url you type
must be something like http:\\localhost:8080\webstartTest.jnlp
you can use tomcat for example..
otherwise just use a applet
Robert
 
Hema Menon
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create the jar with the manifest file indicating the main class name. Create a jnlp file with the application details and the application can then be launched thru webstart. Webstart will launch an application thru the browser.
Hema
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic