I have fedora linux installed in my pc and I tried to work with java by installing java6 but I was not able to perform the task so what should I do for working with java or to check whether jdk is installed properly.
Welcome to the Javaranch. You must have missed our naming policy on the way in. In short, we require everyone to use a real-sounding first and last name, separated by a space. You can change your display name here. You should have a look at our FAQ, How To Ask Questions On JavaRanch. Your question is very light on details. What did you try? What problems did you have? Are you sure the JDK did not install? Why? I did a Google search for "fedora java" and the first hit is the Fedora Java FAQ. Have you looked at that document?