Hey all,
After having pretty successfully used what I consider to be some fairly advanced
java concepts in my current project, I was distraught to find, after having created a few self-executable JAR's, that my education contained an obvious hole. Allow me to explain...
Some of the objects I use read static text files, which inform the creation of other objects. The problem is that after I JAR my files (which I do using Eclipse, so the process is little more than a click or two), the text files are no longer read correctly. Having researched the issue a bit I have determined that this is probably due to the fact that they cannot be found, due to their CLASSPATH being unknown or incorrect. However, I do not understand what the nature of CLASSPATH is to an extent that I can troubleshoot the issue further.
Additionally, my project originally used RMI as part of the architecture. However I ended up dropping RMI in favor of simple socket input and output streams, at least partly due to more CLASSPATH troubles, this time in respect to stub/skeleton setup.
Any tutorial recommendations on filling in this unfortunate knowledge gap?
Oh, and I fear also that my reliance on Eclipse belies an additional misunderstanding of JAR mechanics...