I installed Java using .bin file. The folder i installed is JDK(/usr/lib/jdk1.6.0_29) and JRE(/usr/lib/jre1.6.0_29). I googled to set classpath but that things didn't work for me. Can any one suggest me commands using the folders that i mentioned above, to set classpath to execute a sample java program.
ramanareddy438
0
Newbie Poster
Recommended Answers
Jump to PostTo set an environment variable you usually export it in your shell configuration file. For instance, in
bash
you would add an entry such asexport CLASSPATH="/path/to/add:${CLASSPATH}"
to your.bashrc
. Other shells may require a different syntax.It is hard to tell what problems you are having when …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.