January 30, 2014

how to install java on windows computer

What is java?




Java is a cross platform, object oriented, concurrent computer programming language.It was designed by Sun microsystems in 1995.Now it maintain by Oracle corporations.

What should know before install java?

We can find e types of packages in java.[ java ME(micro edition) ,java SE(standard edition) , java EE(enterprise edition)].
Generally  we use java SE for software development.
When you downlaod java  there are 2 types you can find.
                   jdk-java development kit
                   jre-java runtime environment

Above diagram show you jdk is  a all inclusive package.I use java SE jdk package for installation.

1st Step


Go to this link and download jdk package which is matching to your system.Consider Operating system,bit version and jdk version.

2nd Step


Install application and reboot your computer.Now you can open command prompt by typing cmd in run place.Now type javac and press enter.It shows  you an error message.That is why you cant run any java code in any place without changing  environmental variables.You can run java codes in bin folder in your java installed place.

3rd Step


Now go to
My Computer ->Properties ->Advanced ->Environment Variables.
Then go to user variables and find path variable.Select it and then select edit.Now you can see variable name and variable value.there can be already value but some time free text box.Now go to java bin folder and copy and paste  it in field of value.
Ex-   ;C:\Program Files\Java\jdk1.7.0\bin .Now put a semicoalan before C if only pre values there.
Do same thing to the system variables.



After all press ok and reboot your computer.
Now get command prompt and type javac and press enter.If your java is working properly you can see this list.Now you can compile your java programmes at any place you want.


See you again next time.







January 28, 2014

how to install PHP,Mysql & Apache on windows computer

how to install PHP,Mysql & Apache on windows computer



In this post i simply explain you how to install php,mysql and apache on your windows computer.If you going to start learning php first you want to install this to see outputs of your php codes because php is only interpret in servers.Follow these steps.

1st Step
First go to one of these below link and download software package which match with you Os (XP,7or 8)and bit version(32bit or 64bit).These are free packages.

          1.WAMP server-Click on this link

         2.EasyPhpDeveloper - Click on this link

2nd Step

Install software and reboot your computer.Then run the application.Go to the task bar and right click on application icon.There you can find options call Administration, Localhost, Restart server and etc.

3rd Step

If server is always offline or local host is not working,there can be several reasons.

    1.Software package may not match with your system.

    2.ERROR-Not Found
HTTP Error 404. The requested resource is not found.
reason-Your port 80 is actually used by:
Server: Microsoft-HTTPAPI/2.0To overcome or resolve this error 
  • Type RegEdit on run or search place of your os and run that small programme.
  • Then in opened window go HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> HTTP
  • Then change the value 3 in start text field to value 4. (3 means enable 4 means disabled.you want to disable that start.)
  • Reboot system and try to make your server online again.



    3. Some files may have lost on your System32 directory.( like msvcr110.dll )

Directly search missing file name on google and you can find that easily.download and place it in system32 directory.

Tips


  • Open a notepad file and code <?php phpinfo(); ?> and save it  as MyFirstPhpFile.php in my computer D:/testbox/. 
  • Turn on your server and go to local host. Then type clear path for your php code (ex- D:/testbox/MyFirstPhpFile.php) and hit enter.
  • If it show you a huge window with php logo, It means your php,mysql and apachy is working properly.

Thank you .See again soon.

January 5, 2013

How To Calculate GPA and CGPA



THIS IS HOW CALCULATE YOUR GPA

Grading System                              GRADE Pts                                                                                                                                            
        A+        90-100 4.0
A 80-89 4.0
A- 75-79 3.7
B+        70-74 3.3
B          65-69 3.0
B-         60-64 2.7
C+ 55-59 2.3
C 45-54 2.0
C-         40-44 1.7
D+         35-39 1.3
D           30-34 1.0
E 00-29 0.0

some time this structure may changes according to your university considerations.

think you have 5 subjects for this semester.university announce you that how many credits they gives for each subject.
I imagine like this.

SUBJECT                     CREDITS
subject1 4
subject2 4
subject3 4
subject4 5
subject5 4
TOTAL 21
Now I think i have got below marks at the end of the semester.

SUBJECT                          MARKS
subject1 74 (3.3)
subject2 65 (3.0)
subject3 82 (4.0)
subject4 70 (3.3)
subject5 57 (2.3)

SO YOU CAN CALCULATE YOUR GPA  NOW.First get the Grade Pts  for above marks.then multiply  Grade Pts of the marks  with the CREDITS involve to each subject.Then take the sum of all and devide it by the number of total credits.

GPA= {(3.3*4)+(3.0*4)+(4.0*4)+(3.3*5)+(2.3*4)}/21
      = {13.2+12+16+16.5+9.2}/21
      =3.1857

WHAT IS CGPA (Cumulative Grade Point Average)

CGPA=(1ST YEAR GPA+2ND YEAR GPA+3RD YEAR GPA+4TH YEAR GPA)/4

if
 CGPA>=3.7 -FIRST CLASS HONOURS
 3.3=<CGPA<3.7 -SECOND CLASS HONOURS UPPER DIVISION
 3.0=<CGPA<3.3 -SECOND CLASS HONOURS LOWER DIVISION
 2.0<CGPA<3.0 -PASS

resourced by www.velozit.blogspot.com



December 30, 2012

how dualboot fedora 17 with windows 7(not enough disk space)

how dualboot fedora 17 with windows 7





how dualboot fedora 17 with windows 7
when you goin to install fedora with windows 7 you may meet with several problems.when i am trying to install fedora 17 with windows 7 an error came showing " no enough free space".this is the solution.fedora can't identify if there are more than 3 drivers on your hard drive(C: / D: / E: / F: / etc).

1.first log on to windows 7 and select a drive.then empty it by moving data to another  drive.Then note the size of drive for a future thing.then insert fedora cd and restart your machine.

how dualboot fedora 17 with windows 7
how dualboot fedora 17 with windows 72.run the cd and install fedora to hard drive.after some procedure you will come to this stage.now select "create custom layout" .in next window you can see the drives in your hard drive.in fedora we cant find C: drive or D: drive .......as usual.It was converted to (sdb1,sdb2,sdb3) like this.now you can select drives using tab key and enter key.

3.you can find your emptied drive  by it size.then select "delete drive".then select free space and select "create".in next small window type /  as the name of the drive.you can set any size as you think.but minimum size 5GB.After creating new drive select it and click NEXT.after few steps reboot machine and get the experience of fedora 17.finally log in to windows 7 and search  'create and format hard disk parititions'.now you can make your deleted drive again using free space.now  you have both windows 7 and fedora 17.thank you.