I realize that there is not one answer to this question but I would like
some of you veteran java/linux developers to suggest what the optimal
directory structure and setup of the CLASSPATH variable is.
I am, frankly, a C++ programmer trying to learn java and I am
continually frustrated over the myriad ways I can be foobared by
CLASSPATH. And then packages on top of that.
I have been trying the different java tools that are out there, such as
Jacob and JDE. Every time I do, I seem to spend an inordinate amount of
time chasing down problems that are due to different ideas from the
developers of these packages of how and where CLASSPATH should be
defined.
In the environment? In the makefile? In the "project file"? How to
set it so that the setup that works for compilation also works for
running, debugging, etc.
I know it isn't rocket science, but it is annoying. What I am looking
for is a strategy. I want to be able to set it one way and forget about
it, at least until the next project.
Any advice would be appreciated.