Results 1 to 6 of 6
Thread: Publish project from NetBeans
- 07-22-2009, 07:15 PM #1
Member
- Join Date
- Jul 2009
- Location
- Rolesville, North Carolina
- Posts
- 16
- Rep Power
- 0
Publish project from NetBeans
Hello Forum-Frequenters,
I need a little bit of help getting started with NetBeans 6.7.
My problem is with publishing a project that I build. How do I actually get that project out of netbeans and make it usable by any computer with the JRE installed on it?
Thanks, I really appreciate your help.:)if (ichwar == offline) {
System.out.println("ichwar is busy");}
-
Have you tried clicking on "Build" then "Build Main Project"? or F11 for a single key press?
- 07-22-2009, 07:44 PM #3
Member
- Join Date
- Jul 2009
- Location
- Rolesville, North Carolina
- Posts
- 16
- Rep Power
- 0
Ok, so I hit f11, it says it built it, but where did it put all the class files?
if (ichwar == offline) {
System.out.println("ichwar is busy");}
-
have you searched your netbeans working directory for a Jar file named for the project?
- 07-22-2009, 08:59 PM #5
Member
- Join Date
- Jul 2009
- Location
- Rolesville, North Carolina
- Posts
- 16
- Rep Power
- 0
Perfect. That worked. Now, I'm running Ubuntu linux. Is there a way for me to make this application runnable by Windows users? And by runnable, I mean, for them to be able to just click on an icon and have the application start up. It won't work for me to tell everyone I distribute this to a long string of letters they need to type into CMD to start it up. ;)
if (ichwar == offline) {
System.out.println("ichwar is busy");}
- 08-19-2009, 03:28 PM #6
Netbeans automatically creates a jar file stored in dist folder in your projects home directory. Open the dist folder and you will find your jar file over there. Double click it and your program will start.
You can also run it in the command prompt by typingAll the bestjava -jar <YouProgram>.javaWe Learn Through Mistakes..,
Manfizy:rolleyes:
Similar Threads
-
importing a netbeans project in Eclipse
By javanoob#1 in forum EclipseReplies: 0Last Post: 02-10-2009, 11:20 PM -
Netbeans java bsased student project
By jagadish_321 in forum NetBeansReplies: 1Last Post: 02-04-2009, 04:28 AM -
How to publish jms topic on server
By pankaj_salwan in forum Advanced JavaReplies: 0Last Post: 10-06-2008, 09:59 AM -
Generating JavaDoc For a Project In NetBeans IDE
By JavaForums in forum NetBeansReplies: 0Last Post: 08-02-2007, 12:11 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks