How to set java PATH and CLASSPATH in ubuntu 11.10?
-
I am new to Linux. I am using Ubuntu 11.10. I want to do java programming. I've installed openjdk. But i have no idea about how to set java PATH and CLASSPATH. So Can you tell me how to set PATH and CLASSPATH. Pls help me...
-
Answer:
You can run the export commands in the command line every time you open up a console, or you can add them to your bash profile file. export PATH=$PATH:/home/myusername/directorywit… export CLASSPATH=$CLASSPATH:/home/myusername/di… Java and javac also have the option to put the classpath as a parameter. See help by running "java" or "javac" with no options.
SidNAniR... at Yahoo! Answers Visit the source
Related Q & A:
- How to get real path of an image in Java?Best solution by Stack Overflow
- Can I update directly from Ubuntu 9.10 to 10.10?Best solution by Ask Ubuntu
- How to get my wireless internet on Ubuntu 9.10 to work?Best solution by Yahoo! Answers
- How do I install flash player on ubuntu 9.10?Best solution by Yahoo! Answers
- Difference between Ubuntu 9.10 and 10.04?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.