Skip to main content

Thread: Make CLASSPATH persistent in Ubuntu


hi all. noticed turning computer off removes classpath variable set, i.e., on next session, running java programs importing non native apis throws classnotfoundexceptions. i'm following instructions jdbc mysql connector documentation:

code:
export set classpath=/usr/import/jdbc-mysql-connector.jar:$classpath
how make setting "persistent", i.e., remains if turn computer off? (doing while in su doesn't as, exiting su, library unavailable non-su users).

thanks!

putting export line in ~/.bashrc of user needs extended classpath should trick.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Make CLASSPATH persistent in Ubuntu


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support