Results 1 to 3 of 3
- 10-27-2009, 01:09 AM #1
Member
- Join Date
- Sep 2009
- Posts
- 41
- Rep Power
- 0
How to make a runnable jar with necessary libraries
So i want to export an application i made to use on any Mac. It is a swing application that i made with Netbeans, so it uses the extra swing libraries that netbeans provides. When I build my project how do i know which libraries to build with it?
This is assuming that the computer Im running it on will not have the netbeans libraries, or any java libraries at all
thanks
- 10-27-2009, 03:06 AM #2
In netbeans, when you build your project it will create a folder called "dist". That folder will contain the jar and all non-standard libraries included. As long as the client has the version of java installed that you build your code in or something greater, they will be able to run your app. You could zip it and distrubte it that way, or make and installer for it:
Java Application Installer: izPackMy Hobby Project: LegacyClone
- 10-27-2009, 10:36 PM #3
Member
- Join Date
- Sep 2009
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
Java: Make runnable java-file
By MrBambey in forum New To JavaReplies: 4Last Post: 08-10-2009, 06:40 AM -
what is SwingUtilities.invokeLater(new Runnable())
By sivakumar_sakam in forum AWT / SwingReplies: 3Last Post: 05-06-2009, 04:47 AM -
Creating a Thread using the Runnable interface
By Java Tip in forum java.langReplies: 0Last Post: 04-09-2008, 06:31 PM -
Error : Runnable did not complete within 10000ms
By piyushgpt1 in forum Advanced JavaReplies: 1Last Post: 02-05-2008, 07:04 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks