Henry Wong wrote:Question: in the orignal location. Does it work if the image.jar isn't there? Something tells me that you were using the images based on their file location, instead of the classpath location.
Henry
yes!
i was just checking if there's something wrong with paths within the img jar
i tried this:
java -cp .;img.jar Teste
and indeed the image does not load too...
in the meanwhile i lost the link where i read (in sun java tuts too) about this "-" in order to make relative paths inside the jar like: "/img/myImage", but i cant find it
at this point as you can imagine i'm quite confused and i'd like to start over again from scratch: what do you recomend?
- deleting the environment varialble with classpath?
- looking for the "-" command to alter the making of the ing.jar?
thaks in advance and thanks for all the help