Saturday, June 9, 2012

Using Java on Debian Linux


To use Java, the environment variable should be set.

I issued commands in Terminal:

su
gedit /etc/profile

Then, I added the lines below at the end of the file and saved this file:

PATH=$PATH:/path/to/Java/bin/folder/jre1.6.0_32/bin

export PATH

Doing so allowed all users to use Java.


I restarted my computer to apply the changes.

No comments:

RSS