Sunday, 17 May 2015

Make Parents Understand N Accept Love (Realize the truth)

One of the major issues that a lot of young girls are facing today is their parents not accepting their choice of partner when it comes to marriage. There are tons of young women who are in desperate need for their parents to acknowledge their love and soul partner. Parents who do not acknowledge their daughters choice of partner have their reasons and some of these reasons should be understood by the child. However, if their daughter is making the right choice in terms of selecting her partner, parents should find it in their hearts to agree and count on her their blessings in abundance. Women who have been in a relationship with a man for more than a year by now understands that it is this man who she wants to spend her life with. Parents who do not understand the concept of their little girl's feelings should make it a point and make room in their hearts to understand her feelings too. Make Parents Understand N Accept Love Take a look at some of the ways in which you can make your parents understand your selection of a partner is the perfect one for you.

Talk to them :
The best way to make parents understand and accept your love is to talk to them. Throw in all the good sides of your partner and explain to them that he is the one who can keep you happy. Talking to your parents is ideally the best way for them to accept your love.

Listen to them :
At this point of time, parents seem way too hurt for you to have not gone by their selection of a partner. However, to make them understand and accept your love is for you to listen to them vent out their feelings. By you listening to what they have to say makes them feel a little lighter in their heart. So give them the opportunity to vent out. 
 
Be respectful :
There are times when women who are desperately trying for their parents to understand and accept their love that they fail to give them respect. Giving your parents all the respect during this time is very important. When you give them respect, they will give you respect in return. 
 
Be patient :
Patience is all you need when it comes to making your parents understand and accept your love. You need to give them patience to learn this whole new side of your life and thus with time they will accept you and your choice of marriage. 
 
Do not force them :
Applying too much pressure on them will only make them angry. If they are ignoring you, take the treatment and bear with it for a couple of days. Do not force them to act and think according to your will and wish. This is one of the things to keep in mind when you need your parents to understand and accept your love. 
 
These are some of the things which women who are seeking their parents blessings for their choice of partner should keep in mind.

LAST BUT NOT LEAST, If your parents show the other side of your partner as a bad one;Simply ignore him from your life without any compromise because nothing is important than your parents

Friday, 15 May 2015

Human getting emotion and stress

Generally the human get frustrated and emotion without any reason. That may be by feeling a lone,getting stress,having the feeling of nobody is their to take care at that time.

These are all the simple matter of illution so to overcome that keep doing any of these things to keep yourself happy and better.

Taking Control

Here are some things you can do that might make those bad moods a bit easier to handle:

Recognize you're not alone. Although not every teen experiences mood changes to the same degree, they are common.

Catch your breath. Or count to 10. Or do something that lets you settle down for a few moments, especially if you're feeling angry or irritable. Try to look at the situation from the point of view of a wise observer.

Talk to people you trust. Friends can help each other by realizing that they're not alone in their feelings. Talking to parents is important, too. Parents can share their own experiences dealing with bad moods. Plus, they'll appreciate it if you try to explain how you feel instead of just slamming a door. Teachers and counselors are often good resources, and a doctor can help sort through questions about development. Keeping feelings inside can make them seem much worse.

Exercise. Regular exercise produces more beta-endorphin, a hormone that controls stress and improves mood. Go for a run, play some tennis, ride your bike, or punch a punching bag.

Get enough sleep. Though it can be hard to find enough time, getting adequate rest is very important. Being tired can lead to more sadness and irritability.

Create. Get involved in some sort of project, like starting a journal or diary, building something out of wood, or starting an art or music piece. Writing can help you organize and express your thoughts and feelings and will make things more manageable. Don't worry about grammar, spelling, or punctuation; the important thing is just to get your thoughts on paper. Do the same thing with paint, sculpture, music, or other art forms. Put your feelings into your artwork.

Cry. There's nothing wrong with crying; in fact, it often makes a person feel better. However, if you find that you are sad, irritable, bored, or hopeless much of the time, or if you just can't seem to shake the blues, you might be depressed and need help from a counselor or doctor. If you're feeling stressed or angry a lot of the time, getting help could be very useful for you.

Wait. Just as you can get into a bad mood for what seems like no reason at times, that mood can also pass. If your negative mood sticks around too long, though — or if it's interfering with the way you deal with friends, parents, school, or activities — then you may want to talk to a school counselor, parent, or therapist about what you can do to feel better.

SIMPLE WAYS TO BE COOL AND RELAX


SIMPLE WAYS TO BE COOL AND 

RELAX

Relaxing is all about getting your mind off of the stresses of life. Anything that will accomplish this can be helpful in making you feel calm and at peace. Here are some easy ways to feel more relaxed in your daily life.

MEDITATE(YOGA)
Meditation can be a great way to relax, especially if you are under a lot of stress. Research has shown that meditation can be helpful in lowering heart rate and blood pressure, and even improving cognitive performance.

And meditation is pretty simple to do: just find a comfortable place, close your eyes, relax your muscles, and focus on ONE thing, whether it's your breathing, an object (a flower, or a painting) — or even a picture in your mind — perhaps you are sitting on a beach in the Caribbean. You can do this for as little as 10 minutes to experience benefits. The key is staying focused and not letting any distractions or thoughts enter your mind — being mindful is key. If you have a bit more time, take a yoga or tai chi class — both incorporate mediation, along with physical movements.

DRINK GREEN TEA, AVOID CAFFEINATED BEVERAGES
Green tea is very soothing — it contains theanine, an amino acid that gives flavor to green tea and also promotes relaxation. It is also thought that theanine is a caffeine antagonist, meaning it counters the stimulating effects of caffeine. So, drink green tea, and avoid caffeinated beverages, since caffeine can worsen the stress response.

CREATE A RELAXATION ROOM AT HOME
Many spas have relaxation rooms to sit in before and after treatments, and it's a great thing to create at home too. A relaxation room doesn't have to be a "room" per se — it can be a space in your bedroom, for example, but the key is having an area or room at home, solely devoted to relaxing. You can have a really comfortable chair or daybed, with dim lights, or candles nearby — whatever it is that you enjoy and find relaxing. This will give you an opportunity to decompress, with very little stimulus — this is key. Forget the blackberry, cell phone and laptop — this is a time to kick back and relax. You might want to read a book or magazine, but the idea is to clear your mind of distractions and stressors.

LISTEN TO YOUR FAVORITE MUSIC
Listening to soothing music can be very relaxing — and slow tempos in particular can induce a calm state of mind. (It can also slow down breathing and heart rate, lower blood pressure, and relax tense muscles too). This can be particularly beneficial when you're getting ready for a tough day at work, or if you're in your car stuck in traffic, or, if you're lying in bed trying to free your mind of stressful thoughts. Interestingly, music therapy has been shown to be helpful in decreasing anxiety associated with medical procedures: one recent study found that heart rate and blood pressure decreased significantly among individuals who listened to music during a colonoscopy (the control group did not experience any changes). The music intervention group also required less sedation during the procedure.

ENJOY AN pleasane smell MASSAGE
Getting a massage is a great way to free yourself of tension and relax, and adding aromatherapy oils such as chamomile or lavender can be particularly beneficial: one recent study found that emergency room nurses experienced reduced stress levels with aromatherapy massage: The study, published in the Journal of Clinical Nursing, found that 54 percent of the emergency room staff in summer and 65 percent in winter suffered moderate to extreme anxiety. However, this fell to 8 percent, regardless of the season, once staff received 15-minute aromatherapy massages while listening to music. If you don't have a lot of spare time, you can get aromatherapy oils and massage tools to use at home.

TAKE A HOT BATH
Heat relaxes muscles — and taking a long bath can be soothing for the mind as well. Stock up on your favorite bath salts and soaps, get a bath pillow, and decorate the room with candles. You can even create an in-home spa, by incorporating spa treatments like facials.

ENGAGE IN MODERATE EXERCISE DAILY
Exercise helps to boost endorphins and reduce stress — and research shows that 20 minutes each day is all that is needed to experience benefits.

Thursday, 14 May 2015

Human rights- Declaration

The Universal Declaration of Human

 Rights:



1. We are all free and equal. We are all born free. We all have our own thoughts and ideas. We should all be treated in the same way.

2. Don’t discriminate. These rights belong to everybody, whatever our differences.

3. The right to life. We all have the right to life, and to live in freedom and safety.

4. No slavery – past and present. Nobody has any right to make us a slave. We cannot make anyone our slave.

5. No Torture. Nobody has any right to hurt us or to torture us.

6. We all have the same right to use the law. I am a person just like you!

7. We are all protected by the law. The law is the same for everyone. It must treat us all fairly.

8. Fair treatment by fair courts. We can all ask for the law to help us when we are not treated fairly.

9. No unfair detainment. Nobody has the right to put us in prison without a good reason and keep us there, or to send us away from our country.

10. The right to trial. If we are put on trial this should be in public. The people who try us should not let anyone tell them what to do.

11. Innocent until proven guilty. Nobody should be blamed for doing something until it is proven. When people say we did a bad thing we have the right to show it is not true.

12. The right to privacy. Nobody should try to harm our good name. Nobody has the right to come into our home, open our letters or bother us or our family without a good reason.

13. Freedom to move. We all have the right to go where we want in our own country and to travel as we wish.

14. The right to asylum. If we are frightened of being badly treated in our own country, we all have the right to run away to another country to be safe.

15. The right to a nationality. We all have the right to belong to a country.

16. Marriage and family. Every grown-up has the right to marry and have a family if they want to. Men and women have the same rights when they are married, and when they are separated.

17. Your own things. Everyone has the right to own things or share them. Nobody should take our things from us without a good reason.

18. Freedom of thought. We all have the right to believe in what we want to believe, to have a religion, or to change it if we want.

19. Free to say what you want. We all have the right to make up our own minds, to think what we like, to say what we think, and to share our ideas with other people.

20. Meet where you like. We all have the right to meet our friends and to work together in peace to defend our rights. Nobody can make us join a group if we don’t want to.

21. The right to democracy. We all have the right to take part in the government of our country. Every grown-up should be allowed to choose their own leaders.

22. The right to social security. We all have the right to affordable housing, medicine, education, and child care, enough money to live on and medical help if we are ill or old.

23. Workers’ rights. Every grown-up has the right to do a job, to a fair wage for their work, and to join a trade union.

24. The right to play. We all have the right to rest from work and to relax.

25. A bed and some food. We all have the right to a good life. Mothers and children, people who are old, unemployed or disabled, and all people have the right to be cared for.

26. The right to education. Education is a right. Primary school should be free. We should learn about the United Nations and how to get on with others. Our parents can choose what we learn.

27. Culture and copyright. Copyright is a special law that protects one’s own artistic creations and writings; others cannot make copies without permission. We all have the right to our own way of life and to enjoy the good things that “art,” science and learning bring.

28. A free and fair world. There must be proper order so we can all enjoy rights and freedoms in our own country and all over the world.

29. Our responsibilities. We have a duty to other people, and we should protect their rights and freedoms.

30. Nobody can take away these rights and freedoms from us.

Blood group match....


MATCHING BLOOD GROUPS

BLOOD GROUPS THAT DO NOT MATCH FOR MARRIAGE

You agree that you have read our Disclaimer by visiting this page. We strongly advise you to read disclaimer page before continue.

Boy:A = Girl:O&B
Boy:B = Girl:O&A
Boy:AB = Girl:O,A& B
Boy:Rh+ve = Girl:Rh-ve

Matching blood groups for marriage

Boy:A = Girl:A&AB
Boy:B = Girl:B& AB
Boy:O = Girl:O,A,B & AB
Boy:AB = Girl:AB
Boy:Rh+ve = Girl:Rh+ve
Boy:Rh-ve = Girl:Rh+ve & Rh-ve


http://www.medindia.net/patients/calculators/images/blood-group-details.jpg

Why it is suggested to match blood group before marriage.

Matching blood group before marriage is important. This is to prevent Rh incompatibility. Rh incompatibility can lead to erythroblastosis fetalis (Hemolytic disease of the newborn-HDN). Fetal RBC get destroyed & newborn may get severe anaemia, jaundice. This jaundice is more severe than Physiological jaundice ( which is the most common and will usually resolve on its own).
In very severe form, fetus may die due to heart failure. This is mediated by antigen-antibodies reaction. Transfer of maternal antibodies across the placenta occurs.
This happens when Rh +ve man marries Rh-ve lady. So Rh +ve man should try to avoid marrying Rh-ve lady.
Newborn with erythroblastosis fetalis may need exchange transfusion.
Complete blood count, bilirubin levels are done. High levels of bilirubin may lead to kernicterus. Kernicterus means deposition of bilirubin in basal ganglia region & can cause severe brain damage (bilirubin encephalopathy). In kernicterus, baby will be lethargic,slowly responding when breast-feeding is tried. Bulging fontanelles may be seen
In 1st pregnancy problem is less severe but in subsequent pregnancies problem becomes more severe. Hemolytic disease of the newborn can be treated before birth by intrauterine transfusion.Incompatibilities of ABO blood types do not cause erythroblastosis fetalis.
Erythroblastosis fetalis can be prevented by giving the mother Rh0(D) immune globulin at 28 wk gestation and within 72 h of pregnancy termination. Due to preventive treatments given to the mother, erythroblastosis fetalis is less common nowadays Direct antiglobulin test (DAT, Direct Coomb's test ) is used to diagnose HDN.

Rhesus factor

Rh incompatibility

There are mainly four types of major blood groups in humans - A, B, AB and O. The Rhesus factor is a substance in blood by which human blood may be divided by its presence into (Rh +ve) or (Rh -ve) groups. The final identification of a blood group is thus O +ve, B -ve etc.

There is some misconception that the same blood group in both partners may be detrimental. This is not true. The actual problem may occur when the mother is Rh -ve and the husband is Rh +ve irrespectiveoftheirabogrouping

The baby of such a union could be Rh -ve or Rh +ve. For an Rh -ve baby there will be no problems and no precautions need to be taken. For an Rh +ve baby on the other hand complications of varying severity may take place.

Rhin compatability reasons

Mixing of some blood of the baby and mother occurs through every pregnancy but more so at the time of delivery. The mixing of Rh +ve blood (from the baby) in a Rh -ve mother causes the mother to build up some negative factors (antibodies) in her blood over time against the Rh +ve blood cells. These negative factors may then cross over to the baby through the placenta (afterbirth) and destroy the blood cells of the baby. the first pregnancy is spared, as a few months are needed for the negative factors to be built in the mother's body. In the subsequent pregnancies Rh +ve babies are likely to be affected by the antibodies from the mother.

Symptoms of rhesus incompatability

Tests may be done to estimate the amount of-ve factors in the mothers blood. (Indirect Coombs test). This gives us an idea of the chances the baby may be affected. If the chances of the baby being affected are high - serial tests of amniotic fluid or blood directly from the baby in the womb are done. If the condition is mild, early delivery and treatment of the baby is done after birth. If severe, blood transfusions for the baby need to be carried out in the womb. These methods are done in selected places by specialists and carry a high rate of complication.

Precautions

Injections are given both during pregnancy and soon after delivery to prevent an Rh -ve mother carrying an Rh +ve baby from developing the negative factors. The same injection needs to be given after a miscarriage to neutralize the mixing of blood which occurs in those cases.

General treatment

Treatment as explained above essentially depends on the severity of the condition. For severely affected babies, the risk of death is high. Precautions include early identification of the high-risk pregnancies by checking blood groups with Rh factor for all pregnant women.

Someone's experience

I am not a doctor but I can answer your question as I am RH-ve. My mother is rh-ve and my father is rh+ve. In my parents case, luckily my blood group was rh-ve.
If a girl has RH-ve & boy has RH+ve Blood Group factor (irrespective of A, B, AB, O), then there is about 50% chance that the child will be rh+ve. I such case, complication may occur. Dring pregnancy if child's blood and mother's blood mixes, mother's immune system starts to develop antibodies against RH factor. This may result in destruction in RBC as mentioned by dr.sachin.
But even in that case, it is possible to prevent such complications and the pregnancy is possible. This is because of the developments in the field of Science.

Blood Group Chart

Blood Types

Although all blood is made of the same basic elements, not all blood is alike. In fact, there are eight different common blood types, which are determined by the presence or absence of certain antigens – substances that can trigger an immune response if they are foreign to the body. Since some antigens can trigger a patient's immune system to attack the transfused blood, safe blood transfusions depend on careful blood typing and cross-matching.

The ABO Blood Group System

There are four major blood groups determined by the presence or absence of two antigens – A and B – on the surface of red blood cells:
  • Group A – has only the A antigen on red cells (and B antibody in the plasma)
  • Group B – has only the B antigen on red cells (and A antibody in the plasma)
  • Group AB – has both A and B antigens on red cells (but neither A nor B antibody in the plasma)
  • Group O – has neither A nor B antigens on red cells (but both A and B antibody are in the plasma)
There are very specific ways in which blood types must be matched for a safe transfusion. See the chart below: 
Blood type chart
Group O O Blood Type diagram linking blood types O Blood Type
A can donate red blood cells to A's and AB's A Blood Type A Blood Type
B can donate red blood cells to B's and AB's B Blood Type B Blood Type
Group AB can donate to other AB's but can receive from all others AB Blood Type AB Blood Type
In addition to the A and B antigens, there is a third antigen called the Rh factor, which can be either present (+) or absent ( – ). In general, Rh negative blood is given to Rh-negative patients, and Rh positive blood or Rh negative blood may be given to Rh positive patients.
  • The universal red cell donor has Type O negative blood type.
  • The universal plasma donor has Type AB positive blood type.

Blood Types and the Population

O positive is the most common blood type. Not all ethnic groups have the same mix of these blood types. Hispanic people, for example, have a relatively high number of O’s, while Asian people have a relatively high number of B’s. The mix of the different blood types in the U.S. population is:
Caucasians
African American
Hispanic
Asian
O +
37%
47%
53%
39%
O -
8%
4%
4%
1%
A +
33%
24%
29%
27%
A -
7%
2%
2%
0.5%
B +
9%
18%
9%
25%
B -
2%
1%
1%
0.4%
AB +
3%
4%
2%
7%
AB -
1%
0.3%
0.2%
0.1%
Some patients require a closer blood match than that provided by the ABO positive/negative blood typing. For example, sometimes if the donor and recipient are from the same ethnic background the chance of a reaction can be reduced. That’s why an African-American blood donation may be the best hope for the needs of patients with sickle cell disease, 98 percent of whom are of African-American descent.

How Is My Blood Type Determined?

It’s inherited. Like eye color, blood type is passed genetically from your parents. Whether your blood group is type A, B, AB or O is based on the blood types of your mother and father.
This chart shows the potential blood types you may inherit. 
Parent 1 AB AB AB AB B A A O O O
Parent 2 AB B A O B B A B A O
Possible
blood
type
of
child
O X X X X X X
A X X X X X X X
B X X X X X X X
AB X X X X

Wednesday, 13 May 2015

Introduction to JVM

What is JVM?

Java virtual Machine(JVM) is a virtual Machine that provides runtime environment to execute java byte code. The JVM doesn't understand Java typo, that's why you compile your *.java files to obtain *.class files that contain the bytecodes understandable by the JVM.
JVM control execution of every Java program. It enables features such as automated exception handling, Garbage-collected heap.

JVM Architecture

JVM architecture in Java
Class Loader : Class loader loads the Class for execution.
Method area : Stores pre-class structure as constant pool.
Heap : Heap is in which objects are allocated.
Stack : Local variables and partial results are store here. Each thread has a private JVM stack created when the thread is created.
Program register : Program register holds the address of JVM instruction currently being executed.
Native method stack : It contains all native used in application.
Executive Engine : Execution engine controls the execute of instructions contained in the methods of the classes.
Native Method Interface : Native method interface gives an interface between java code and native code during execution.
Native Method Libraries : Native Libraries consist of files required for the execution of native code.

Difference between JDK and JRE

JRE : The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. JRE does not contain tools and utilities such as compilers or debuggers for developing applets and applications.
What is JRE

JDK : The JDK also called Java Development Kit is a superset of the JRE, and contains everything that is in the JRE, plus tools such as the compilers and debuggers necessary for developing applets and applications.
What is JDK

java - Getting Started

Getting Started - JAVA
Getting Java Basics quickly has become easy with Javabeginner.com. This site is for the java programmers who want to use the Java programming language to create applications using the Java basics. This site is for absolute beginners to advanced java programmers who do not require any prerequisite Java knowledge. For getting started with Java you’ll have to have some basic understanding of the concepts of programming.
After going through all the tutorials in this site, you would have learnt the essential concepts and features of the Java Programming Language which include exceptions, Swing GUI programming, Collections framework etc. A lot of code examples are used through out tutorial to make you understand the language better.
All the listings and programs in the website are compiled and run using the JDK 1.5.
Download : JDK and JRE 1.5

Java Architecture

The Java environment is composed of a number of system components. You use these components at compile time to create the Java program and at run time to execute the program. Java achieves its independence by creating programs designed to run on the Java Virtual Machine rather than any specific computer system.
  • After you write a Java program, you use a compiler that reads the statements in the program and translates them into a machine independent format called bytecode.
  • Bytecode files, which are very compact, are easily transported through a distributed system like the Internet.
  • The compiled Java code (resulting byte code) will be executed at run time.
Java programs can be written and executed in two ways:
  • Stand-alone application (A Java Swing Application)
  • Applet which runs on a web browser (Example: Internet Explorer)

Java source code

A Java program is a collection of one or more java classes. A Java source file can contain more than one class definition and has a .java extension. Each class definition in a source file is compiled into a separate class file. The name of this compiled file is comprised of the name of the class with .class as an extension. Before we proceed further in this section, I would recommend you to go through the ‘Basic Language Elements’.
Below is a java sample code for the traditional Hello World program. Basically, the idea behind this Hello World program is to learn how to create a program, compile and run it. To create your java source code you can use any editor( Text pad/Edit plus are my favorites) or you can use an IDE like Eclipse.
public class HelloWorld {
 public static void main(String[] args) {
  System.out.println("Hello World");
 }//End of main
}//End of HelloWorld Class

Output
Hello World
ABOUT THE PROGRAM
I created a class named “HelloWorld” containing a simple main function within it. The keyword class specifies that we are defining a class. The name of a public class is spelled exactly as the name of the file (Case Sensitive). All java programs begin execution with the method named main(). main method that gets executed has the following signature : public static void main(String args[]).Declaring this method as public means that it is accessible from outside the class so that the JVM can find it when it looks for the program to start it. It is necessary that the method is declared with return type void (i.e. no arguments are returned from the method). The main method contains a String argument array that can contain the command line arguments. The brackets { and } mark the beginning and ending of the class. The program contains a line ‘System.out.println(“Hello World”);’ that tells the computer to print out on one line of text namely ‘Hello World’. The semi-colon ‘;’ ends the line of code. The double slashes ‘//’ are used for comments that can be used to describe what a source code is doing. Everything to the right of the slashes on the same line does not get compiled, as they are simply the comments in a program.
Java Main method Declarations
class MainExample1 {public static void main(String[] args) {}}
class MainExample2 {public static void main(String []args) {}}
class MainExample3 {public static void main(String args[]) {}}
All the 3 valid main method’s shown above accepts a single String array argument.

Compiling and Running an Application

To compile and run the program you need the JDK distributed by Sun Microsystems. The JDK contains documentation, examples, installation instructions, class libraries and packages, and tools. Download an editor like Textpad/EditPlus to type your code. You must save your source code with a .java extension. The name of the file must be the name of the public class contained in the file.
Steps for Saving, compiling and Running a Java
Step 1:Save the program With .java Extension.
Step 2:Compile the file from DOS prompt by typing javac .
Step 3:Successful Compilation, results in creation of .class containing byte code
Step 4:Execute the file by typing java

Java Development Kit

The Java Developer’s Kit is distributed by Sun Microsystems. The JDK contains documentation, examples, installation instructions, class libraries and packages, and tools

javadoc

The javadoc tool provided by Sun is used to produce documentation for an application or program,

Jar Files

A jar file is used to group together related class files into a single file for more compact storage, distribution, and transmission.

PATH and CLASSPATH

The following are the general programming errors, which I think every beginning java programmer would come across. Here is a solution on how to solve the problems when running on a Microsoft Windows Machine.
1. ‘javac’ is not recognized as an internal or external command, operable program or batch file
When you get this error, you should conclude that your operating system cannot find the compiler (javac). To solve this error you need to set the PATH variable.
How to set the PATH Variable?
Firstly the PATH variable is set so that we can compile and execute programs from any directory without having to type the full path of the command. To set the PATH of jdk on your system (Windows XP), add the full path of the jdk\bin directory to the PATH variable. Set the PATH as follows on a Windows machine:
a. Click Start > Right Click “My Computer” and click on “Properties”
b. Click Advanced > Environment Variables.
c. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
C:\jdk\bin (jdk If there are already some entries in the PATH variable then you must add a semicolon and then add the above value (Version being replaced with the version of JDK). The new path takes effect in each new command prompt window you open after setting the PATH variable.
2. Exception in thread “main” java.lang.NoClassDefFoundError: HelloWorld
If you receive this error, java cannot find your compiled byte code file, HelloWorld.class.If both your class files and source code are in the same working directory and if you try running your program from the current working directory than, your program must get executed without any problems as, java tries to find your .class file is your current directory. If your class files are present in some other directory other than that of the java files we must set the CLASSPATH pointing to the directory that contain your compiled class files.CLASSPATH can be set as follows on a Windows machine:
a. Click Start > Right Click “My Computer” and click on “Properties”
b. Click Advanced > Environment Variables.
Add the location of classes’ folder containing all your java classes in User Variables.
If there are already some entries in the CLASSPATH variable then you must add a semicolon and then add the new value . The new class path takes effect in each new command prompt window you open after setting the CLASSPATH variable.

Java 1.5

The Java 1.5 released in September 2004.
Goals
Less code complexity
Better readability
More compile-time type safety
Some new functionality (generics, scanner)
New Features
Enhanced for loop
Enumerated types
Autoboxing & unboxing
Generic types
Scanner
Variable number of arguments (varargs)
Static imports
Annotations