Can't create java application project in netbeans8.1.(ubuntu)

19,900

Solution 1

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

Solution 2

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.

Share:
19,900
LifeisHard
Author by

LifeisHard

Just some guy asking questions and getting bashed upon them.

Updated on June 15, 2022

Comments

  • LifeisHard
    LifeisHard almost 2 years

    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. http://imgur.com/90AeiDG screenshot.

    • Blobonat
      Blobonat almost 8 years
      What excactly do you mean with you can't create this project? Do you get any error message or what?
    • LifeisHard
      LifeisHard almost 8 years
      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.
    • Blobonat
      Blobonat almost 8 years
      So you mean that you haven't any dialog for create Java Application right?
    • fvu
      fvu almost 8 years
      Never seen that, but there's a FAQ entry with some things you may want to check/try: wiki.netbeans.org/FaqMissingProjectCategories
    • LifeisHard
      LifeisHard almost 8 years
      Uploaded a screenshot with the screen.
    • Blobonat
      Blobonat almost 8 years
      Have you installed Java?
    • LifeisHard
      LifeisHard almost 8 years
      I have java jdk 8 installed. You couldn't install netbeans without specifying where java was installed.
    • fvu
      fvu almost 8 years
      See stackoverflow.com/questions/9480499/… , looks very similar. Did you already remove your userdir and/or had a look at the netbeans log as I suggested before?
  • Hiro2k
    Hiro2k over 6 years
    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