0

I have been working with Java a longtime, but my main problem is this. Everytime i try to set my classpath, set my path variables, all works well, until i think of adding a new package from elsewhere. Disaster breaksout, such that i have to recode the entire package for it to be added into my Windows projects.

this is in Windows
set %classpath% =.
Where am i going wrong????

2
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by edensigauke
0

What's the rest of your classpath? It should be a ilst of all the directories where Java needs to look to find packages/classes

0

That is why I am crying. Right I have since discovered that the pple who say that they are elaborating the whole truth are not. Its like a very very very big little lie, without the finer details.

For example when you define a classpath = "C:\AddedPackages\"

It would work fine, until you decide to call on the package from any other location of a class. Java does not go directly to this part on compilation, it would want the Class File to be developed within the same folder as the package. So wrong so very very very wrong.

My errors are now cleared. But my query lies on calling other Classes found in the poi package, like WordExtracter and HeaderStories for example

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.