Results 1 to 1 of 1
- 04-25-2009, 10:18 PM #1
Member
- Join Date
- Apr 2009
- Posts
- 1
- Rep Power
- 0
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?
pic:
s3.amazonaws.com/img0/ov.png
Similar Threads
-
how to read openproj(Projity) file i.e. ,POD file(Project Management file)
By mahendra.athneria in forum New To JavaReplies: 0Last Post: 02-11-2009, 09:53 AM -
"request entity too large" when downloading a 2mb file
By arnab321 in forum CLDC and MIDPReplies: 4Last Post: 11-06-2008, 04:34 PM -
how to make header file?
By rams in forum New To JavaReplies: 9Last Post: 10-24-2008, 08:16 AM -
How do you make a jar file
By alex_cunningham in forum New To JavaReplies: 3Last Post: 07-15-2008, 03:56 AM -
How to make a web application as .exe file
By madhusudhangovindu in forum Advanced JavaReplies: 1Last Post: 08-02-2007, 03:58 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks