ttciws
المساهمات : 347 تاريخ التسجيل : 20/03/2012 العمر : 42 الموقع : www.ttciws.skyblog.com
| موضوع: الجافا للمبتدئيين (2) Java الخميس أبريل 25, 2013 11:35 pm | |
| هدا الموضوع لم أتمكن من نقله الى الصفخة لهدا وضعت رابطه هنا:
http://almobile.maktoob.com/vb/thread40217.html -------------------------------------------------------------- ENGLISH
Creating a .jar file
A .jar file is a single file that contains other files (similar to .zip or .tar
files), it can be used for running java applications on other machines that have
the JRE (Java Runtime Environment) installed. In order to create a .jar
containing the source code for your project, please follow these steps:
In the Dr. Java perspective, select your project in the "Package Explorer" (
upper left pane)
Select File->Export from the pull-down menu
Select "JAR file" from the list of options and press the Next button
Examine the checked items to make sure the files you want included in the .jar
file are correct. You should almost never have to change anything here, but you
can check this to have confidence that you are including what you want. Note
that you will have to click on the small "plus" sign just to the left of your
project name to see the sub-directories that will be included. For example,
opening the 'hw8' project will show a 'hangman' package that you can then click
on to see in the right pane which files will be included from that package.
Make sure the box is checked next to "Export generated class files and
resources"
Optionally make sure the box is checked next to "Export java source files and resources"
In the text box near the bottom where it says "JAR file", enter the full path to
a .jar file that you want to create (i.e., "c:\temp\hw8.jar")
Click the Finish button
*/
-------------------------------------------- SITE http://arabteam2000-forum.com/index.php/topic/210957/ | |
|