0

I have followed the steps illustrated in this link http://www.tutorialspoint.com/java/java_packages.htm but after I restart my system(Ubuntu 12.10) the classpath unsets itself. How can I make it more permanent?

Mestica
  • 147

2 Answers2

1

You have to export the path variable for every start again. This could be done in the file .bashrc or .profile in the home folder.

By the way: this is not the right site for asking such questions, do it here: http://unix.stackexchange.com

Have a look:

0

You can edit your home directory's .bash_profile file and set the classpath there like:

export CLASSPATH=...