Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

how do we .... please exaplain

 
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 .
 
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


 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic