[ Close ]
Username
Password


Forgotten your password?
 
Custom Search
Computer/IT Projects
 Projects Q A, Guidance for your projects Projects Forum Computer/IT Projects
Message Icon Topic: how to run java projects?? Post Reply Post New Topic
Found this useful? Give a +1   Add to Facebook: Add to Facebook
Free Project Downloads
CS / IT Project Downloads
.Net Project Downloads
JAVA Project Downloads
PHP Project Downloads
Networking Proj Downloads
Project Topics
Computer(CS/IT) Projects
Software Mini Project Topics
Android Project Topics
Networking Project Ideas
Dot Net Project Topics
Latest IEEE Projects List
IEEE JAVA Project Topics
Project Presentation Tips
How to choose Project Topic
Tips for Final Year Project
Steps for FYP, Mini Project
Preparing a Project Report
Problems faced in Projects
 
Get Free Software CS / IT Project Downloads:

Enter your email address:  

Author Message
cool
Newbie
Newbie


Joined: 30-Jul-2012
Online Status: Offline
Posts: 0
Quote cool Replybullet Topic: how to run java projects??
    Posted: 30-Jul-2012 at 8:09pm
i want to know that how to run java projects

 
IP IP Logged
Hariprasad
Senior Member
Senior Member
Avatar

Joined: 14-Feb-2011
Online Status: Offline
Posts: 0
Quote Hariprasad Replybullet Posted: 10-Aug-2012 at 5:32pm
Running JAVA Projects and Files

For Java projects, you typically set the project that contains the program's main class as the main project. For web projects, the main project is the project that is first deployed. To run a project, package, or file, choose one of the following:

    * In the main menu, choose Run > Run Main Project (F6) to run the main project. Alternatively, you can use the Run Main Project button in the toolbar.
    * In the Projects window, right-click the project and choose Run to run a project. Note that for Java projects, the project must have a main class.
    * In the Projects window, right-click the file and choose Run File (Shift+F6) to run a file. Alternatively, choose Run > Run File > Run filename (Shift+F6) in the main menu to run a runnable class.

When you run the project the IDE displays any compilation errors and output in the Output window.

Note: If Compile on Save is enabled for a project, the Run Project command operates on class files that have been created when you have saved those files. The Ant build script is not used. If you have defined custom steps in the build script, those steps are not followed. If you would like the full build process to occur when you use Run Project, Debug Project, and Profile Project, disable Compile on Save.

 
IP IP Logged
Avinash
Senior Member
Senior Member


Joined: 21-Sep-2008
Online Status: Offline
Posts: 0
Quote Avinash Replybullet Posted: 10-Aug-2012 at 5:36pm
cool, are you using eclipse for running java code or would you want to execute the java code from command line??
IP IP Logged
cool
Newbie
Newbie


Joined: 30-Jul-2012
Online Status: Offline
Posts: 0
Quote cool Replybullet Posted: 10-Aug-2012 at 11:13pm
thanks both of u
i am using netbeans ide
IP IP Logged
Avinash
Senior Member
Senior Member


Joined: 21-Sep-2008
Online Status: Offline
Posts: 0
Quote Avinash Replybullet Posted: 12-Aug-2012 at 7:37pm
Hey dude, this guide could help you to run the java project in netbeans IDE:

http://netbeans.org/kb/docs/java/quickstart.html
IP IP Logged

 
Post Reply Post New Topic

Free Programming Courses in JAVA, .Net and PHP (Register Now!)

Java Free Online Course

.Net Free Online Course

PHP Free Online Course


 
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.
© ProjectsQA.com   |   Privacy policy