How can I easily set Java Path?

Asked by joseMaestro

Hello,

I have just downloaded the last bundle there is for the Java Development toolkit, and unpacked it successfully.
I need to know if there's a way to easily set the path for it. By this I mean, without having to edit config. files. because this process is error-prone.

I need Java Path to be directed to> /home/jose/java/jdk1.6.0_16/bin

I know there's a way.
Please let me know How you would do it.

SIncerely,

Jose

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
joseMaestro
Solved:
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

On Ubuntu Linux the common way to install the JDK is to use the built-in packet management system.
Just go into the terminal and type:
sudo apt-get install sun-java6-jdk
You should will it a try.

Revision history for this message
joseMaestro (etherealhost) said :
#2

I have this problem on my own,
I think I'm marking this one as solved.

Thanks for your time.

Jose

Revision history for this message
joseMaestro (etherealhost) said :
#3

I have solved this problem on my own,
I think I'm marking this one as solved.

Thanks for your time.

Jose