And by noob, I mean myself.
I have this project in Eclipse that is depending on the framework of another project. File structure is:
~Documents/Eclipse Workspace/
________
MakiSearch/ (main project, contains a src, bin and images folder).
piccolo/ (depending framework).
I need to make the main project into an executable .jar file that can be run on other computers.
Basically I have tried Eclipse's way of making jars, and also through the terminal by: jar cf MakiSearch.jar * in the MakiSearch folder. I do get a .jar out if but it cannot be executed, gives me an error:
"5/22/08 2:53:16 PM [0x0-0x16c16c].com.apple.JarLauncher[35243] Failed to load Main-Class manifest attribute from ~/Documents/Eclipse workspace/MakiSearch/MakiSearch.jar "
Do I need to somehow specify the .class file which contains the main method? How?
Do I need to jar both the main project and the depending project?
I have this project in Eclipse that is depending on the framework of another project. File structure is:
~Documents/Eclipse Workspace/
________
MakiSearch/ (main project, contains a src, bin and images folder).
piccolo/ (depending framework).
I need to make the main project into an executable .jar file that can be run on other computers.
Basically I have tried Eclipse's way of making jars, and also through the terminal by: jar cf MakiSearch.jar * in the MakiSearch folder. I do get a .jar out if but it cannot be executed, gives me an error:
"5/22/08 2:53:16 PM [0x0-0x16c16c].com.apple.JarLauncher[35243] Failed to load Main-Class manifest attribute from ~/Documents/Eclipse workspace/MakiSearch/MakiSearch.jar "
Do I need to somehow specify the .class file which contains the main method? How?
Do I need to jar both the main project and the depending project?