Results 1 to 4 of 4
- 05-07-2012, 06:26 PM #1
Member
- Join Date
- Sep 2011
- Posts
- 10
- Rep Power
- 0
Make a single Runnable JAR file out of multiple packages
I am trying to make a Runnable jar file for my application.
The application runs when I right-click on "u_college_book_desktop" and choose RunAs -> Java Application.
The problem is I have never made a Runnable jar file with multiples packages in the Project.
Here is the setup for the project.
Here is what I am doing. I am Exporting "u_college_book_desktop" to and choosing Runnable Jar File under Java. In the Launch Configuration I am getting "EntryPoint - u_college_book_desktop". It then makes a Jar file and when I click, it does nothing.
I also tried putting all the java classes under 1 package but I am getting some package and import errors.
So is there anyway to make a Runable Jar File for my GUI.
Thanks
- 05-07-2012, 06:43 PM #2
Re: Make a single Runnable JAR file out of multiple packages
When you run the jar via the command prompt, what happens?
How to Ask Questions the Smart Way
Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
Static Void Games forum - Come say hello!
- 05-07-2012, 06:53 PM #3
Member
- Join Date
- Sep 2011
- Posts
- 10
- Rep Power
- 0
- 05-07-2012, 07:07 PM #4
Re: Make a single Runnable JAR file out of multiple packages
Right. Try running it through the command prompt so you can see any errors it spits out when you try to run it.
How to Ask Questions the Smart Way
Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
Static Void Games forum - Come say hello!
Similar Threads
-
Trying to make runnable jars
By mwr1976 in forum New To JavaReplies: 18Last Post: 04-16-2012, 03:24 PM -
Serialization and Deserialization of multiple objects from single file
By hanx in forum Advanced JavaReplies: 3Last Post: 02-28-2011, 06:09 PM -
How to make a runnable jar with necessary libraries
By Atriamax in forum New To JavaReplies: 2Last Post: 10-27-2009, 11:36 PM -
Java: Make runnable java-file
By MrBambey in forum New To JavaReplies: 4Last Post: 08-10-2009, 07:40 AM
Bookmarks