Lecture 4More concepts in OOP            Object Oriented Programming             Eastern University, Dhaka                ...
Classpath   Classpath is a reference which needs to be    provided to JRE/JVM to run classes   The reference indicates t...
Examplejava -cp c:temp B This means the class B is to be found   under c:temp folder The above command can be issued fro...
Example   B.java was under c:tempcom folder.   The package declaration for B.java was    like: package com;
Installing and using JDKwww.oracle.com/technetwork/java/javase/dow nloads/index.htmlInstall by clicking the exe.  Check i...
Installing and using JDKCommon issues: java command not found: check that  jdk/bin is referenced to under path
Tools that make you productive   IDE: Integrated development envionment   Example:      –   Eclipse, Netbeans, IntelliJ
Strengths and Advantages   Summarize the special features and    advantages of the product being introduced
Upcoming SlideShare
Loading in …5
×

Oop lecture4

172 views
143 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
172
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Oop lecture4

  1. 1. Lecture 4More concepts in OOP Object Oriented Programming Eastern University, Dhaka Md. Raihan Kibria
  2. 2. Classpath Classpath is a reference which needs to be provided to JRE/JVM to run classes The reference indicates the location where the classes are to be found Classpath is to be given as a switch to “java” command
  3. 3. Examplejava -cp c:temp B This means the class B is to be found under c:temp folder The above command can be issued from any folder Suppose B is under com package and com folder is under c:temp To run B, issue command: java -cp c:temp com.B
  4. 4. Example B.java was under c:tempcom folder. The package declaration for B.java was like: package com;
  5. 5. Installing and using JDKwww.oracle.com/technetwork/java/javase/dow nloads/index.htmlInstall by clicking the exe. Check if java command works in command line:java -version
  6. 6. Installing and using JDKCommon issues: java command not found: check that jdk/bin is referenced to under path
  7. 7. Tools that make you productive IDE: Integrated development envionment Example: – Eclipse, Netbeans, IntelliJ
  8. 8. Strengths and Advantages Summarize the special features and advantages of the product being introduced

×