• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do we .... please exaplain

 
Raghav Mathur
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i know how to create a jar file but is it possible foe us to open the applet directly by doublr clicking the jar file icon .
i've tried this but it doesn't work . It is possible cos i've just downloaded this jar file .
 
Tim Blommerde
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
For as far as I know, you can't run an applet by simply double clicking its .jar file. Because .jar files are zipped, you can associate the .jar extension with your favourite zip tool - Winzip for instance - and then double clicking the .jar file will open the package, showing all included files in your zip tool.
Hope this helped,
Tim
 
Raghav Mathur
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but by this method( which you just mentioned) i can only view the contents in the jar file
or in the zip file . My idea is to open the applet which is ziped in the jar file ( as you said) .

Originally posted by Tim Blommerde:
Hi,
For as far as I know, you can't run an applet by simply double clicking its .jar file. Because .jar files are zipped, you can associate the .jar extension with your favourite zip tool - Winzip for instance - and then double clicking the .jar file will open the package, showing all included files in your zip tool.
Hope this helped,
Tim

 
Tim Blommerde
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as I stated before, for as far as I know the thing you want, running an applet by double clicking on its .jar file, isn't possible. I guess you'll have to write a HTML file and use that together with a batch file that calls the appletviewer with the HTML as a parameter. That's about all I can think of. Sorry.
Best wishes,
Tim
 
Raghav Mathur
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell how do i create a bat file to run the jar file so that when i double click the bat file icon it opens the applet for me .
thanks and don't be sorry !
raghav mathur
Originally posted by Tim Blommerde:
Well, as I stated before, for as far as I know the thing you want, running an applet by double clicking on its .jar file, isn't possible. I guess you'll have to write a HTML file and use that together with a batch file that calls the appletviewer with the HTML as a parameter. That's about all I can think of. Sorry.
Best wishes,
Tim

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic