Pages

Wednesday, 27 February 2013

Announcement 1

For more concepts and knowledge, read the lecture slides, follow different books and online material related to java language. Do practice at home of whatever we have done so far. If you face any problem in doing programming, let me know about it through email (at   umairjameel321@gmail.com ) or in the university. You will be evaluated in Monday's class practice session. All the best :)

How to set the path of java compiler (JDK)?

First download and install the java compiler with default settings....

1).Click on C: drive >> program files >> java >> jdk >> and finally bin...


Copy this complete directory
e.g.      C:\Program Files (x86)\Java\jdk1.7.0\bin


NOW



 Right click on My Computer, click properties




Click on "Advanced system settings"


Click on "Advanced"



Click on "Environment Variables"



Single Click on "path" and than click "Edit"


Write "path" in "Variable name field"
paste the directory of compiler in "Variable value field"
Click OK.

Click OK again...

DONE   :)


Note: This is not the path of you program file, it is the path of java compiler. You can save your program any where in your computer and when you open command prompt in order to compile your program, you must be in that particular folder where your program exists...




Thursday, 21 February 2013

Monday, 18 February 2013

Week 2

Java Compiler (JDK)

CLICK HERE for 32-bit OS
CLICK HERE for 64-bit OS

Note: Download and install it in your PC

Friday, 15 February 2013