Im having some new Java problems, while trying to export my project to a JAR file in Eclipse. When I run it from the IDE its OK, all roses and bourbon, but I get hit over the head this when I run it from cmd :
C:\Users\Joey\Desktop>java -jar FLIPMEMATEY.jar Exception in thread "main" java.lang.NullPointerException at henry.eats.cake(Hello.java:84) ..print stack
In line 84, I need to read some pics in a List that are located in "src\\PICS". By carefully examining the newly created JAR file Ive noticed that the folder PICS is now in root of the JAR.
Could that be the problem :?
Some directions please?
Thank you very much
Edited 4 Years Ago by Joey_Brown: n/a