19. Development.pdf - JAVA Means DURGA SIR 127 DURGASOFT...

This preview shows page 1 - 7 out of 20 pages.

JAVA Means DURGA SIR 127 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038,
Image of page 1

Subscribe to view the full document.

JAVA Means DURGA SIR 128 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 |
Image of page 2
JAVA Means DURGA SIR 129 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 | Development Agenda 1. Introduction 2. Javac 3. Java 4. Classpath 5. Jar file 6. What is the difference between Jar, War and Ear ? 7. Various Commands o To create a jar file o To extract a jar file 8. System properties 9. How to set system property from the command prompt 10. What is the difference between path and classpath ? 11. What is the difference between JDK, JRE and JVM ? 12. Shortcut way to place a jar files 13. Web Applications Vs Enterprise Applications 14. Web Server Vs Application Server 15. Creation of executable jar file 16. In how many ways we can run a java program
Image of page 3

Subscribe to view the full document.

JAVA Means DURGA SIR 130 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, Introduction Javac: we can use Javac to compile a single or group of ".java files". Syntax:
Image of page 4
JAVA Means DURGA SIR 131 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, Java: we can use java command to run a single ".class file". Syntax:
Image of page 5

Subscribe to view the full document.

JAVA Means DURGA SIR 132 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, Note : We can compile any number of source files at a time but we can run only one .class file. Classpath: Class path describes the location where the required ".class files" are available. Java compiler & JVM will use classpath to locate required class files. We can set the class path in the following 3 ways. 1. Permanently by using environment variable "classpath". This class path will be preserved after system restart also. 2. Temporary for a particular command prompt level by using "set" command. Example: Once if you close the command prompt automatically this class path will be lost. 3. We can set the class path for a particular command level by using "–cp" (or) "–class path". This class path is applicable only for that command execution. After executing the command this classpath will be lost. Among the 3 ways of setting the class path the most common way is setting class path at command level by using "–cp". Note : Bydefault java compiler & JVM will search in current working directory for the required .class files If we set the classpath explicitly then JVM will search only in our specified location for .class file and it won't the search in current working directory.
Image of page 6
Image of page 7
You've reached the end of this preview.
  • Winter '19
  • Santhosh Danalakota
  • Java platform, JavaServer Pages

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern