2

I am new to NetBeans and I can't create a "Java Application" project, like shown in all tutorials. I can only create a Java Free-Form Project, but this requires a build script, which I don't have either. Do I have to download a plugin for it and if so which plugin? Or did I download the wrong NetBeans version? I am using ubuntu version 15 and NetBeans IDE 8.1. https://i.sstatic.net/nAPJj.jpg screenshot.

8
  • 2
    What excactly do you mean with you can't create this project? Do you get any error message or what? Commented Jun 6, 2016 at 14:55
  • I can't/dont know how to add a build script and I can't create the "Java Application" project as shown in most tutorials. I can only create a java free-form project which requires a build script. Commented Jun 6, 2016 at 14:57
  • So you mean that you haven't any dialog for create Java Application right? Commented Jun 6, 2016 at 14:58
  • Never seen that, but there's a FAQ entry with some things you may want to check/try: wiki.netbeans.org/FaqMissingProjectCategories Commented Jun 6, 2016 at 14:59
  • Have you installed Java? Commented Jun 6, 2016 at 15:00

3 Answers 3

4

Just make sure you have JDK installed on your system. (I am pretty sure, it would be as Netbeans doesn't install if JDK is not found on your machine, but just to be sure about it). Also, You might have missed to select Java in Select Languages during installation. To activate a feature manually:

  1. Open the Tools > Plugins menu

  2. Go to the Installed tab.

  3. Select and activate the feature you need.

  4. Return to the New Project dialog.

Visit this link for more help:

http://wiki.netbeans.org/FaqMissingProjectCategories

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks I did a silent install and on first startup the netbeans_jdkhome was set incorrectly so all the Java stuff got deactivated but I couldn't figure out why it wasn't working after I fixed the jdkhome
1

Found the plugin: It was in the the "Ant" or the "Ant 1.9.4. Documentation 1.9.4" or Mobility plugin. I downloaded those 3 at the same time, but If I have to guess it was the Mobility plugin.

Comments

0

Not sure if this will help you. I've been working on Windows. I have Netbeans 8.1 and JDK 8 (version 1.8.0.73). When I first started with Netbeans and tried to create my first new Project it opened the New Project window with the Categories portion of the new Project screen focused on the Samples section. I also thought I couldn't create the type of project I wanted to create. If this is what is happening to you, see if you can scroll up in the Categories box. If you can, you should find Java at the top. If you click that, you should then be able to select Java Application in the Projects part of the window.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.