I am in the process of debugging and want to make it so that the environment path includes all paths in a folder because a program that I am trying to get running is NOT cooperating and is giving extremely vague errors like:
Uncaught error fetching image: java.lang.NullPointerException at
sun.awt.image.URLImageSource.getConnection(Unknown Source) at
sun.awt.image.URLImageSource.getDecoder(Unknown Source) at
sun.awt.image.InputStreamImageSource.doFetch(Unknown Source) at
sun.awt.image.ImageFetcher.fetchloop(Unknown Source) at
sun.awt.image.ImageFetcher.run(Unknown Source)
This folder has many subfolders and subfolders of subfolders — is there an easy way to put all these paths into the PATH environment variable? I believe environment variables do not include subfolders, am I correct? I am using Windows XP, if that helps.
Thank you very much for your time.
I found the answer to my problems and just wanted to share with you want happened, in case it helps out a poor soul in the future.
The
Uncaught error fetching image: java.lang.NullPointerExceptionis super vague. It suggests that an image is missing. In executing the program, I had to add 2 classpaths but forgot a comma at the end of the last one. Thus, when I added the comma back, the program seems to run happily.For example:
java -cp “/path/to/binfile”;”/path/to/anotherbinfile” name.name1.name2.name2
gave me the error.
java -cp “/path/to/binfile”;”/path/to/anotherbinfile”; name.name1.name2.name2
fixed it.