wood burning stoves 2.0*
The moose likes Java in General and the fly likes java application and its supporting files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java application and its supporting files" Watch "java application and its supporting files" New topic
Author

java application and its supporting files

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
When a Java application it need many supporting files such as jars, some application,etc.
My intention here is I want to get copy of all such files and pack with Java application ,so that java application in any computers .
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Kind of like an executable Jar file? Or a Java Web Start application?

What's your question?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
it is executable JAR but the idea is explained as follow

consider I have written java class which needs open office

to run my java application , openoffice to be intalled on my computer(say machine 1),for that ,I have to download Openoffice and install on my machine 1.If i want to run the same java class in some other machine(say Machine 2) ,there also I have to install Open office .I do not prefer this approach.

But I want to pack all files(open office files) used my java class in to a package,say package A ,so If I want to run my java class on other machine ,just I place my java class with package-A.so my java class run without installing open office
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java application and its supporting files