Wrox Programmer Forums
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 21st, 2008, 04:43 AM
Friend of Wrox
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default create Exec File

hi expert
i'm new to java programming
I write a simple desktop application in nethbean 6.0
when i run my app via F6 Key, my app work normally
but i don't found any executable file in app directory.
how can i create a exec file for my applications.
and i need a resource for learning java programming.
which book is suitable for me?
Old January 21st, 2008, 08:26 AM
Registered User
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

 Once you build your project in netbeans.. You can find the class file (java executable) in the build folder. When you compile java, you get a byte class that is executed by java command. So if you want to run a java program named Sample.class.. you use java Sample.

Enjoy java programming.


Old January 21st, 2008, 09:47 AM
Friend of Wrox
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts

where can i write java commands?
what are the java commands for compile and running java class?
with this case, the end user had to use java commands for running my app?
i wanna the end user run my java program just by clicking on the exec file...
Old January 22nd, 2008, 02:37 AM
Posts: n/a


please check this link


Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
Old January 23rd, 2008, 03:10 AM
Authorized User
Join Date: Sep 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts


I hope you have solved your problem; you may also run your application by creating a desktop shortcut of yourproject\dist\yourproject.jar file. This file is executeable on all plateforms with JRE. This file is automatically created by NetBeans when you compile your project.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get value with EXEC Javierera SQL Server 2005 6 November 3rd, 2008 04:28 PM
Copy a image file using exec function foka PHP How-To 1 May 29th, 2005 04:46 PM
Exec a .bat file in PHP on XP freddo Beginning PHP 2 October 12th, 2004 03:27 PM
EXEC function ajutla Beginning PHP 0 August 19th, 2004 09:18 AM
EXEC problem. pankaj_daga SQL Server 2000 8 October 4th, 2003 05:39 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.