CMPSC 56 Chapter Notes - Chapter 17: Manifest File, Javac

25 views2 pages
1 Nov 2017
School
Course
Professor

Document Summary

The entire application runs on the end-user"s computer, as a stand-alone program, deployed as an executable jar. The application is distributed with a client portion running on the user"s local system, connected to a server where other parts of the application are running. The entire java application runs on a server system, with the client accessing the system through some non-java means. Create separate directories for source code and class files. Compiling with the -d (directory) flag: javac -d myapp. java. Tells the compiler to put the compiled code (class files) into Then run the program from the directory where you keep all your classes. Jar refers to the archive file jar refers to the jar tool you use to create jar files. Make sure all of your class files are in the classes directory. Create a manifest. txt file that states which class has the main() method. Press the return key after typing the main-class line.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents