Results 1 to 1 of 1
- 04-25-2009, 10:18 PM #1Member
- Join Date
- Apr 2009
- Rep Power
Help! trying to make JAR file for very large project
so i have this project with a kinda convoluted folder structure. there's like 50 .java files and a bunch of image files stored in the data/images folder, and some other configuration files in other folders. the main file is OverRun.java stored in the src/main folder. a link to a picture of all this is below.
it compiles fine in eclipse ganymede, and i can go to file -> export -> jar file and it successfully creates one, but i can't run it. it just gives the standard windows error sound and nothing else happens.
i'm thinking it may need some of the resources like the image files, so i tried placing it in different folders, but that doesnt seem to work.
also, i'm able to run the project without eclipse, using a .bat file using the command "java main/OverRun", but the .bat file has to be specifically placed in the src folder or it won't work, so i'm thinking that may have something to do with it.
(also, when importing to eclipse via "new java project" i have to specifically select the src folder to import from or it won't work.)
so, any ideas on how to get this jar file to work?
- By mahendra.athneria in forum New To JavaReplies: 0Last Post: 02-11-2009, 09:53 AM
- By arnab321 in forum CLDC and MIDPReplies: 4Last Post: 11-06-2008, 04:34 PM
- By rams in forum New To JavaReplies: 9Last Post: 10-24-2008, 08:16 AM
- By alex_cunningham in forum New To JavaReplies: 3Last Post: 07-15-2008, 03:56 AM
- By madhusudhangovindu in forum Advanced JavaReplies: 1Last Post: 08-02-2007, 03:58 PM