1 Attachment(s)
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.
Attachment 3773
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
Re: Make a single Runnable JAR file out of multiple packages
When you run the jar via the command prompt, what happens?
Re: Make a single Runnable JAR file out of multiple packages
Quote:
Originally Posted by
KevinWorkman
When you run the jar via the command prompt, what happens?
I've never run any jar via cp. I just double click on the icon and it runs.
With this project, nothing happens when I double click it.
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.