NetBeansUserFAQ

(Difference between revisions)
(FaqMavenProxySettings)
m (Subversion)
(33 intermediate revisions not shown)
Line 25: Line 25:
* [[FaqZipDistro| Is there a platform-independent NetBeans installer? ]]  
* [[FaqZipDistro| Is there a platform-independent NetBeans installer? ]]  
* [[FaqOrderCD| I cannot download NetBeans. Is the NetBeans installer available on CD-ROM/DVD too?]]  
* [[FaqOrderCD| I cannot download NetBeans. Is the NetBeans installer available on CD-ROM/DVD too?]]  
-
* [[FaqSuitableJvmNotFound| Why does the NetBeans installer fail saying "No Java Development Kit (JDK) was found on this system"? ]]
+
<!-- * [[FaqInstallationDefaultTomcatPassword| What is the admin username/password of the built-in Tomcat? ]] -->
-
* [[FaqInstallJavahome| I do have a suitable JDK installed correctly. How can I make the installer use it? ]]
+
-
* [[FaqInstallationDefaultTomcatPassword| What is the admin username/password of the built-in Tomcat? ]]  
+
* [[FaqJavaDoc| The JavaDoc popup in the editor remains empty, how do I install documentation? ]]  
* [[FaqJavaDoc| The JavaDoc popup in the editor remains empty, how do I install documentation? ]]  
-
* [[NetBeansInstallationPack200Troubleshooting| How to solve problems with exceptions in unpack200 during NetBeans 6.x installation? ]]  
+
* [[NetBeansInstallationPack200Troubleshooting| How to solve problems with exceptions in unpack200 during NetBeans installation? ]]  
-
* [[FaqNetBeansSilentInstallation| How do I perform a silent installation of NetBeans IDE? ]]  
+
* [[FaqSilentInstallationNB61| How do I perform a silent installation of NetBeans IDE? ]]  
* [[NetBeansMultipleInstancesInstallation| How to install the IDE of the same version several times ? ]]  
* [[NetBeansMultipleInstancesInstallation| How to install the IDE of the same version several times ? ]]  
* [http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report. How can I access installation log files]?
* [http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report. How can I access installation log files]?
* [[FaqUpgradeInstallation|Is it possible to upgrade from one release to another?]]
* [[FaqUpgradeInstallation|Is it possible to upgrade from one release to another?]]
* [[FaqJUnitUCInstallation|Do I need to install the JUnit plugin?]]
* [[FaqJUnitUCInstallation|Do I need to install the JUnit plugin?]]
 +
* [[FaqHideSampleProjects|How to make sample project templates unreachable in the installation?]]
   
   
MS Windows:  
MS Windows:  
Line 53: Line 52:
   
   
Mac OS  
Mac OS  
-
* [[FaqInstallCantInstallAppServerOnMac| What to do if installation of AppServer fails on Mac OS X 10.4. w/ JDK 1.5.x? ]]  
+
<!-- * [[FaqInstallCantInstallAppServerOnMac| What to do if installation of AppServer fails on Mac OS X 10.4. w/ JDK 1.5.x? ]] -->
* [[FaqUninstallMac | How do I uninstall NetBeans in Mac OS X? ]]
* [[FaqUninstallMac | How do I uninstall NetBeans in Mac OS X? ]]
-
* [http://mackeeper.zeobit.com/mac-recovery-software Mac recovery software]
+
<!-- * [http://mackeeper.zeobit.com/mac-recovery-software Mac recovery software] -->
===Configuration ===
===Configuration ===
Line 64: Line 63:
* [[FaqMultipleIdeInstances| How can I run multiple instances of the IDE simultaneously? ]]  
* [[FaqMultipleIdeInstances| How can I run multiple instances of the IDE simultaneously? ]]  
* [[FaqStartupParameters| What are the NetBeans startup parameters (a.k.a. command-line options)? ]]  
* [[FaqStartupParameters| What are the NetBeans startup parameters (a.k.a. command-line options)? ]]  
 +
* [[FaqPropertyOptions| What are the NetBeans command-line properties and options? ]]
* [[FaqNetbeansConf| How do I make my custom startup parameters permanent? ]]  
* [[FaqNetbeansConf| How do I make my custom startup parameters permanent? ]]  
   
   
Line 69: Line 69:
* [[FaqJdkHome| Can I specify which Java Development Kit (JDK) NetBeans uses? ]]  
* [[FaqJdkHome| Can I specify which Java Development Kit (JDK) NetBeans uses? ]]  
* [[FaqRunningOnJre| Can I run NetBeans using only the Java Runtime (JRE)? ]]  
* [[FaqRunningOnJre| Can I run NetBeans using only the Java Runtime (JRE)? ]]  
-
* [[FaqGcj| Can I use GCJ instead of the Sun JDK for a project? ]]
 
-
* [[FaqJdk11| Can I use JDK 1.1 for my project? ]]
 
   
   
Look and Feel  
Look and Feel  
Line 83: Line 81:
Templates  
Templates  
* [[FaqTemplates| How do I use Templates? What substitutions can be made in Templates?]]  
* [[FaqTemplates| How do I use Templates? What substitutions can be made in Templates?]]  
-
* [[FaqUsingFreemarkerSaveAsTemplates| How can I do FreeMarker substitution in 'Save As Template' templates?]]
 
   
   
Mac OS  
Mac OS  
Line 93: Line 90:
* [[FaqMultipleMonitors| I have multiple monitors, why are context menus displayed on the wrong screen? ]]  
* [[FaqMultipleMonitors| I have multiple monitors, why are context menus displayed on the wrong screen? ]]  
* [[FaqApt| Can I run an annotation processor from my project? ]]  
* [[FaqApt| Can I run an annotation processor from my project? ]]  
-
* [[FaqRegisterOracleApplicationServer| Can I register Oracle's Application Server with this IDE? ]]
 
* [[FaqPortableWorkingEnvironments| How can I setup the NetBeans working environment to be completely portable? (e.g. on a USB drive)]]  
* [[FaqPortableWorkingEnvironments| How can I setup the NetBeans working environment to be completely portable? (e.g. on a USB drive)]]  
* [[FaqSolvingEditorGarbledText| When scrolling large files under Linux the text becomes garbled, how to solve this?]]  
* [[FaqSolvingEditorGarbledText| When scrolling large files under Linux the text becomes garbled, how to solve this?]]  
Line 149: Line 145:
* [[FaqAntClasspathHacks| ...but the script is not even mine, I just want to run it.]]  
* [[FaqAntClasspathHacks| ...but the script is not even mine, I just want to run it.]]  
* [[FaqAntEntityIncludes| My entity includes do not work. I just get a red "X" on the build script.]]  
* [[FaqAntEntityIncludes| My entity includes do not work. I just get a red "X" on the build script.]]  
-
* [[FaqAntNbjpdaconnect| Can I start the NetBeans debugger from an Ant script?]]
 
* [[FaqAntNbbrowse| Can I open a web browser on an HTML page generated by an Ant script?]]  
* [[FaqAntNbbrowse| Can I open a web browser on an HTML page generated by an Ant script?]]  
-
* [[FaqAntBuildXmlGenerate| Can NetBeans write my build script for me?]]
 
* [[AntIDEPerformance| Does NetBeans improve the performance of Ant in any respect?]]
* [[AntIDEPerformance| Does NetBeans improve the performance of Ant in any respect?]]
Line 200: Line 194:
* [[FaqChangeUserGlobal| How to globally change the user name that is used in file templates?]]  
* [[FaqChangeUserGlobal| How to globally change the user name that is used in file templates?]]  
* [[FaqPluginFileTemplates| How can I distribute my file templates to my users?]]
* [[FaqPluginFileTemplates| How can I distribute my file templates to my users?]]
 +
* [[FaqFontRendering| I want to fine-tune font rendering settings.]]
===Database Connectivity ===
===Database Connectivity ===
Line 205: Line 200:
* [[FaqDatabaseConnectivityWhereAreMyTables| When I connect to my database, I can't see my tables, but if I use another tool, I can see them fine. Where are they?]]  
* [[FaqDatabaseConnectivityWhereAreMyTables| When I connect to my database, I can't see my tables, but if I use another tool, I can see them fine. Where are they?]]  
* [[FaqDatabaseConnectivityEmbddedDbTablesMissing| I built a database application using an embedded database (Java DB or HSQL), but when I run it, none of the tables or data I created are there!]]  
* [[FaqDatabaseConnectivityEmbddedDbTablesMissing| I built a database application using an embedded database (Java DB or HSQL), but when I run it, none of the tables or data I created are there!]]  
-
* [[FaqDatabaseConnectivityOracle10|  "Unable to read the data structure, connection is broken: Unsupported feature". What do I do? ]]  
+
<!-- * [[FaqDatabaseConnectivityOracle10|  "Unable to read the data structure, connection is broken: Unsupported feature". What do I do? ]] -->
* [[NetbeansDerbyDir| "What is .netbeans-derby dir, what does it store, and how can I change its location? ]]   
* [[NetbeansDerbyDir| "What is .netbeans-derby dir, what does it store, and how can I change its location? ]]   
-
* [[FaqDatabaseConnectivityTravelDb| How do I install the NetBeans sample databases or the Sakila sample database for MySQL? ]]   
+
* [[SakilaSampleDatabasePlugin| How do I install the NetBeans sample databases or the Sakila sample database for MySQL? ]]   
* [[FaqUsingMySQLFromNetBeans| How do I start/stop the MySQL Server from NetBeans IDE? ]]  
* [[FaqUsingMySQLFromNetBeans| How do I start/stop the MySQL Server from NetBeans IDE? ]]  
* [[FaqSecuringDBConnectionPasswords| How do I secure my database password? ]]  
* [[FaqSecuringDBConnectionPasswords| How do I secure my database password? ]]  
* [[FaqSecuringMySQLPassword| How do I secure my MySQL password? ]]  
* [[FaqSecuringMySQLPassword| How do I secure my MySQL password? ]]  
-
* [[FaqDatabaseConnectivityDatabaseDriver| My database driver is in WEB-INF/lib but I still can't access the database. What do I do? ]]  
+
<!-- * [[FaqDatabaseConnectivityDatabaseDriver| My database driver is in WEB-INF/lib but I still can't access the database. What do I do? ]]
* [[HowDoIConnectATableElement| How do I connect to a table element? ]]  
* [[HowDoIConnectATableElement| How do I connect to a table element? ]]  
-
* [[CannotSelectTablesFromMsSql2000BecauseItSays(noPrimaryKey)NextToEachTableButTheTablesDOHaveAPrimaryKey!WhatDoIDo | Cannot select tables from ms sql 2000 because it says (no primary key) next to each table but the tables DO have a primary key! What do i do?]]
+
* [[CannotSelectTablesFromMsSql2000BecauseItSays(noPrimaryKey)NextToEachTableButTheTablesDOHaveAPrimaryKey!WhatDoIDo | Cannot select tables from ms sql 2000 because it says (no primary key) next to each table but the tables DO have a primary key! What do i do?]] -->
===Compiling and Building Projects ===
===Compiling and Building Projects ===
Line 247: Line 242:
* [[FaqDebuggerLog| Debugger log ]]  
* [[FaqDebuggerLog| Debugger log ]]  
   
   
-
===JavaScript Debugger ===
+
 
-
+
-
* [[WhatsMDM| Why am I asked to shut down mdm.exe? ]]
+
-
* [[IE8JsDebug| Do you support IE8 in JavaScript Debugging? ]]
+
-
* [[IE8HttpCMonitor| If I use Attach Debugger Web Page Debugger with Internet Explorer, nothing appears in the Http Client Monitor ]]
+
-
* [[IEJsDebugRError| I get this Error dialog "Runtime Error has occurred. Do you wish to Debug?" when I visit web pages after I use JavaScript Debugger. How can I avoid it? ]]
+
-
* [[JSToolbarDeactivated| I switched my session, did some debugging, but my debugging toolbar became deactivated ]]
+
-
* [[JsFFrun| Why do I sometimes get the dialog "Client side already running, restart?" ? ]]
+
-
* [[HttpFFcache| Using the Http Client Monitor with Firefox, I sometimes find response headers empty. ]]
+
-
+
-
+
===GUI Editor (Matisse) ===
===GUI Editor (Matisse) ===
   
   
Line 291: Line 276:
===Java EE Development ===
===Java EE Development ===
   
   
-
* [[FaqJ2EEError404| Why do I get the 404 error message "The requested resource is not available"? ]]
 
* [[FaqJ2EEChangingBrowser| How do I change the web browser for JSP and web module execution? ]]  
* [[FaqJ2EEChangingBrowser| How do I change the web browser for JSP and web module execution? ]]  
* [[FaqJ2EEJSPWizards| Are the Enterprise Resource Wizards (e.g., Call EJB), available from JSPs as well as servlets? ]]  
* [[FaqJ2EEJSPWizards| Are the Enterprise Resource Wizards (e.g., Call EJB), available from JSPs as well as servlets? ]]  
-
* [[FaqJ2EEGeneratePK| EJB 2.1: How do I create CMP bean that uses automaticaly PK generation feature ]]
+
* [[FaqTaglibrary| Is there support for using a tag library in a web application? ]]
-
* [[FaqTaglibrary| Is there support for using a tag library in a web application? ]]  
+
 
-
+
===Web Services Development ===
===Web Services Development ===
   
   
Line 306: Line 289:
* [[FaqWebServiceLocation| How to change Web Service location at runtime]]  
* [[FaqWebServiceLocation| How to change Web Service location at runtime]]  
* [[FaqEndorsedDirTomcat| How to set up endorsed dir for Tomcat]]  
* [[FaqEndorsedDirTomcat| How to set up endorsed dir for Tomcat]]  
-
* [[FaqAddingWebServiceClient | Getting Error Cannot Resolve the name 's:schema' to an element declaration component?]]
 
See also   
See also   
-
* [[FaqJaxb| JAXB Wizard FAQ]]  
+
* [[FaqJaxb| JAXB Wizard FAQ]]
-
+
 
-
+
-
===SOA ===
+
-
+
-
* [[SoaFaqJbiOpenESBSoaTooling| What are JBI, OpenESB, and NetBeans SOA? ]]
+
-
* [[SoaFaqWhatDoesCompAppDo| What does the Composite Applicaiton project do? ]]
+
-
* [[SoaFaqWhatDoesCasaDo| What does the CASA editor do? ]]
+
-
* [[SoaFaqCustomSUProjectType| How do I create a custom SE Service Unit project type? ]]
+
-
* [[SoaFaqWhatIsBpelDesigner| What is the BPEL Designer? ]]
+
-
* [[SoaFaqMapperAndDiagram| How can I have both the BPEL Mapper and the Diagram displayed on the screen at the same moment? ]]
+
-
* [[SoaFaqSwimlanes|  What do the left and right swimlanes of the Design View stand for? ]]
+
-
* [[SoaFaqErrorMarks| Why the warning and/or error marks are still displayed on the diagram even after corrections are made and the document is valid? ]]
+
-
* [[SoaFaqSample| Can I see how a sample BPEL process works? ]]
+
-
* [[SoaFaqDynamicPL| What are dynamic partner link used for? ]]
+
-
* [[SoaFaqMapper| What is the BPEL Mapper used for? ]]
+
-
+
===Version Control Systems ===
===Version Control Systems ===
   
   
Line 362: Line 329:
* [[FaqSubversionCharEncMac| Character encoding problem with Netbeans Subversion on Mac ]]  
* [[FaqSubversionCharEncMac| Character encoding problem with Netbeans Subversion on Mac ]]  
* [[FaqSvnJavahl | How to use the Subversion support with JavaHL? ]]  
* [[FaqSvnJavahl | How to use the Subversion support with JavaHL? ]]  
-
* [[FaqSvnCli | How to force the Subversion support to use the command line client? ]]  
+
* [[FaqSvnCli | How to force the Subversion support to use the command line client? ]]
-
+
* [[FaqSubversionCliVersions | What versions of Subversion commandline client are supported? ]]
 +
* [[FaqSubversion1_7 | Is Subversion client in version 1.7 supported? ]]
 +
 
====ClearCase ====
====ClearCase ====
   
   
Line 383: Line 352:
===Issue Tracking Integration===
===Issue Tracking Integration===
* [[FaqIssueTrackingWhatSystems | What Issue Tracking systems are supported by NetBeans? ]]
* [[FaqIssueTrackingWhatSystems | What Issue Tracking systems are supported by NetBeans? ]]
-
* [[FaqIssueTrackingWithoutKenai | Does the NetBeans Issue Tracking work with any repository, or only with repositories from kenai.com?]]
+
* [[FaqIssueTrackingWithoutKenai | Does the NetBeans Issue Tracking work with any repository, or only with repositories from java.net or kenai.com?]]
* [[FaqIssueTrackingNetbeansBugzilla | Does the Issue Tracking support in NetBeans also work with netbeans.org Bugzilla? ]]
* [[FaqIssueTrackingNetbeansBugzilla | Does the Issue Tracking support in NetBeans also work with netbeans.org Bugzilla? ]]
* [[FaqIssueTrackingRemoveRepository | How do I edit or remove an Issue Tracking repository from NetBeans?]]
* [[FaqIssueTrackingRemoveRepository | How do I edit or remove an Issue Tracking repository from NetBeans?]]
Line 407: Line 376:
* [[FaqProfilerCantAttach| I can't attach the Profiler to a running application. What did I do wrong? ]]  
* [[FaqProfilerCantAttach| I can't attach the Profiler to a running application. What did I do wrong? ]]  
* [[FaqProfilerDynamicAttach| Can I use dynamic attach for standard JDK? ]]  
* [[FaqProfilerDynamicAttach| Can I use dynamic attach for standard JDK? ]]  
-
* [[FaqProfilerWorkingDirectory| If I want to attach the Profiler to a running application, why do I need to give the Profiler the "working directory" for this application? ]]
 
-
* [[FaqProfilerDetachAttachFail| On Windows, if I attach to the running application using its PID, and then detach from it, my subsequent attempts to attach to it fail. What's the problem? ]]
 
* [[FaqProfilerAttachingToRunningApp| When I attach to a running application, and want to do "Analyze Performance - Entire Application", why does it say it can give me profiling results only for threads started after I attached the Profiler to the application? ]]  
* [[FaqProfilerAttachingToRunningApp| When I attach to a running application, and want to do "Analyze Performance - Entire Application", why does it say it can give me profiling results only for threads started after I attached the Profiler to the application? ]]  
* [[FaqProfilerFilter| When selecting part of an application to profile, is it possible to set the filter at the package level (rather than at the method level)? ]]  
* [[FaqProfilerFilter| When selecting part of an application to profile, is it possible to set the filter at the package level (rather than at the method level)? ]]  
Line 419: Line 386:
* [[FaqProfilerSingleAndMultiThreaded| How can I profile all threads in a multi-threaded application? ]]  
* [[FaqProfilerSingleAndMultiThreaded| How can I profile all threads in a multi-threaded application? ]]  
* [[FaqProfilerInstrumentSpecialJavaMethods| How do I instrument/not instrument special Java methods? ]]  
* [[FaqProfilerInstrumentSpecialJavaMethods| How do I instrument/not instrument special Java methods? ]]  
-
* [[FaqProfilerSampledInstrumentation| Which method of tracking methods should I use, exact or sampled? ]]  
+
* [[FaqProfilerSampledInstrumentation| Which method of tracking methods should I use, exact or sampled? ]]
-
+
 
===Java ME/Mobility ===
===Java ME/Mobility ===
   
   
Line 499: Line 466:
* [[HowToConfigureXDebug | How do I configure XDebug?]]  
* [[HowToConfigureXDebug | How do I configure XDebug?]]  
* [[HowToDebugPHPProjects | How do I debug PHP projects?]]  
* [[HowToDebugPHPProjects | How do I debug PHP projects?]]  
-
* [[WhatAreAllInInePackages | What are all-in-one packages?]]  
+
* [[WhatAreAllInOnePackages | What are all-in-one packages?]]
* [[WhichEncodingDoIUseForNamingPHPSourceFilesAndFolders | Which encoding do I use for naming PHP source files and folders?]]
* [[WhichEncodingDoIUseForNamingPHPSourceFilesAndFolders | Which encoding do I use for naming PHP source files and folders?]]
Line 628: Line 595:
* [[FaqCanIFileByEmail| Can I file my completed CA by e-mail? ]]  
* [[FaqCanIFileByEmail| Can I file my completed CA by e-mail? ]]  
* [[FaqJCAAndCA| I've already signed a JCA; do I still have to sign the CA? ]]  
* [[FaqJCAAndCA| I've already signed a JCA; do I still have to sign the CA? ]]  
-
* [[FaqOtherSunCA| I've already signed a CA for another Sun project, do I need to sign another one for NetBeans? ]]  
+
* [[FaqOtherSunCA| I've already signed a CA for another Oracle project, do I need to sign another one for NetBeans? ]]  
* [[FaqWhichVersionCA| I've already signed a recent version of the CA, do I need to sign the newest version?]]  
* [[FaqWhichVersionCA| I've already signed a recent version of the CA, do I need to sign the newest version?]]  
* [[FaqCAForEveryContribution| Do I have to file a CA for every contribution? ]]  
* [[FaqCAForEveryContribution| Do I have to file a CA for every contribution? ]]  
Line 636: Line 603:
* [[FaqListedOnCopyright| I have a CA or JCA on file and I have made a code contribution to netbeans.org. Can I get listed on the copyright notice? ]]  
* [[FaqListedOnCopyright| I have a CA or JCA on file and I have made a code contribution to netbeans.org. Can I get listed on the copyright notice? ]]  
* [[FaqCompanyOrIndividualCA| If my company wants me to contribute changes, who should sign the CA, me or my company? ]]  
* [[FaqCompanyOrIndividualCA| If my company wants me to contribute changes, who should sign the CA, me or my company? ]]  
-
* [[FaqBlanketJCAForEmployees| Can my company sign a blanket JCA for all its employees? ]]  
+
* [[FaqBlanketJCAForEmployees| Can my company sign a blanket JCA for all its employees? ]]
-
+
 
===Docs, Support, Training ===
===Docs, Support, Training ===

Revision as of 14:03, 2 February 2012


Here you find answers to frequently asked questions relating to the use of the NetBeans IDE. Don't see what you need here? Check the FAQ Index for a list of all available FAQs.

How To Add FAQ Entries? Only post a question if you also have an answer! If you have a question without an answer, send your question to a NetBeans Mailing List, such as nbusers@netbeans.org or nbdev@netbeans.org, or check the NetBeans Support Resources, and then share your new-found wisdom with the rest of the community here.

IMPORTANT, If you're a Community Member: Once, you're done adding a FAQ as per the above guidelines, please notify NetBeans Community Docs Team by Email

Contents



Installation

General

MS Windows:

Linux

Mac OS

Configuration

The NetBeans userdir (.netbeans)

JDK/JRE settings

Look and Feel

Arguments and Properties

Templates

Mac OS

Miscellaneous

Migration -- Moving to NetBeans

Performance

Project System (General)

Ant

Do not forget the Apache Ant FAQ for questions not specific to NetBeans.

Freeform Projects

You may also be interested in trying AutomaticProjects.

Maven

Navigation

Editing

Database Connectivity

Compiling and Building Projects

Debugging


GUI Editor (Matisse)

Java EE Development

Web Services Development

See also

Version Control Systems

CVS

Subversion

ClearCase

Mercurial

Issue Tracking Integration

Bugzilla

JIRA

Profiler

Java ME/Mobility

Installation, SDKs, Emulators

General Development

Libraries and Build Scripts

Visual Mobile Designer

Device-Dependent

Web Services and Connectivity


Obfuscation

Supported Operating Systems

NetBeans C/C++ Development Pack

NetBeans C/C++ Plugin FAQ and HOW-TOs

New Features

General

Projects, Building and Running your code

Debugging

Code assistance

Remote Development (Introduced in NetBeans IDE 6.5)

Run Monitor profiling tools (Introduced in NetBeans IDE 6.7)

Qt Support (Introduced in NetBeans IDE 6.7)

Unit Tests Support (Introduced in NetBeans IDE 6.9)


PHP

UML

Bug Reporting

NetBeans Community

Joining the Community

Contributing, This FAQ

Community, Chat

Blogs

Mailing Lists

Update Center (Plugin Manager)


Plugin Portal


License and Legal Questions

Contributor Agreement

Docs, Support, Training

Other Languages

Hudson


For older versions of NetBeans see the FaqArchive

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo