Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

compile java using netbeans

Thread view: 
snowy - 21 Jan 2006 15:35 GMT
i downloaded netbeans with java sdk. i am a newbie to netbeans. pls
tell me how to compile a java program (basic programs) in netbeans. i
know how to compile using the commandline. i dont know how to compile
using netbeans.

any help would be appreciated.
Thomas Kellerer - 21 Jan 2006 15:38 GMT
snowy wrote on 21.01.2006 16:35:
> i downloaded netbeans with java sdk. i am a newbie to netbeans. pls
> tell me how to compile a java program (basic programs) in netbeans. i
> know how to compile using the commandline. i dont know how to compile
> using netbeans.

F9 compiles the Java class currently open in the Editor
F11 builds the entire project

More information here:

http://www.netbeans.org/kb/41/using-netbeans/compiling.html

Thomas
snowy - 21 Jan 2006 16:17 GMT
but F9 and F11 does not work / disabled in my program in netbeans. pls
help.
Thomas Kellerer - 21 Jan 2006 16:28 GMT
snowy wrote on 21.01.2006 17:17:
> but F9 and F11 does not work / disabled in my program in netbeans. pls
> help.

Without more detailed information no one can help you. Which NetBeans
version? Which type of project? How did you setup your project? Which
JDK are you using?

Thomas
snowy - 21 Jan 2006 16:34 GMT
netbeans ide 4.1
i did not specify any project because i want to test my java programs
only. i dont know about projects. i know only java programs. i use john
smiley's java book. i did not setup my project. if i shud setup a
project and only then it will compile then pls tell me how to setup a
project for compiling simple java programs. i am using the latest jdk
that comes with netbeans . because i downloaded from java.sun.com only
yesterday.
Thomas Kellerer - 21 Jan 2006 16:59 GMT
snowy wrote on 21.01.2006 17:34:
> netbeans ide 4.1
> i did not specify any project because i want to test my java programs
[quoted text clipped - 4 lines]
> that comes with netbeans . because i downloaded from java.sun.com only
> yesterday.

You need a project. Without a project you cannot compile or build your
Java classes. Please read the help file and the tutorial on the NetBeans
web site.

Thomas
snowy - 21 Jan 2006 17:04 GMT
Yes it works. i created a dummy project and compiled my programs.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.