How Do I Permanently Set Classpath in Ubuntu?
Contents How Do I Permanently Set My Classpath in Linux? to Set the Classpath Permanently, Set an Environment Variable: on the Windows Control Panel, Click...
Contents
How do I permanently set my classpath in Linux?
To set the CLASSPATH permanently, set an environment variable:
- On the Windows Control Panel, click System.
- Click Advanced or Advanced Systems Settings.
- Click Environment Variables.
- Under User variables, click New.
- In the Variable name box, type CLASSPATH .
- In the Variable value box, type the path to the Vertica JDBC .
Must Read
How do I permanently set environment variables in Ubuntu?
1 Answer
- Open a terminal window with Ctrl + Alt + T .
- Open the file for editing with gedit ~/.profile.
- Add the command to the bottom of the file.
- Save and close gedit.
- Log out and log in again.