How to Setup JDK 7 in ubuntu and compile JAVA code

Asked by Md. Jasim

Dear Sir,
I am a student of JAVA programming language. Now i use Ubuntu. But i don't know how to setup JDK7 and JRE on Ubuntu. When i install JDK and JRE on Ubuntu how i compile .java file and run the .class file. How i share JDK and JRE for all user and in any place i can run and compile the .java and .class file.
Please tell me the details if any screenshots of this JDK and JRE installation have please tell me the link.

Jasim

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Amal Bose (axatrikx) said :
#1

Can you help with this problem?

Provide an answer of your own, or ask Md. Jasim for more information if necessary.

To post a message you must log in.