

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to configuring Java Environment on Linux?
Assuming you have installed Java in \usr\local\java\jdk directory −
if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export JAVA_HOME=\usr\local\java\jdk'
Assuming you have stored your Java programs in \usr\local\myprograms\ directory −
if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export CLASSPATH=\usr\local\myprograms\'.
- Related Questions & Answers
- How to configuring Java Environment on Windows?
- Setting MySQL Environment Variables on Linux
- How to set python environment variable PYTHONPATH on Linux?
- How to substitute an environment variable using sed on Linux?
- How to set JAVA_HOME environment variables on Windows OS in Java?
- How to setup MongoDB Java environment?
- Creating Python Virtual Environment in Windows and Linux
- How to Install Git on Linux
- How to activate virtualenv on Linux?
- How to set python environment variable PYTHONPATH on Mac?
- How to set python environment variable PYTHONPATH on Windows?
- How to set the GOPATH environment variable on Ubuntu?
- How to Install C++ Compiler on Linux?
- How to Join Several Partitions on Linux
- How to limit network bandwidth on linux
Advertisements