NetBeans Java Project Folder and Project Location
I'm new to Java and a little confused about how NetBeans manages the directory structure. I understand that there is a structure to the main project name directory
, then src
, build
, dist
etc.
But I don't understand why NetBeans creates a two-level directory in my case below:
What is the difference between directories and ? project
myapp
The folder project
contains only myapp
and myapp
contains src
, dist
, build
etc. Another picture:
What are directories and for? What's the difference between them? project
myapp
source to share
The directory project
is simply where you configured the netbeans project repository.
But the subdirectory myapp
is just one of the project name of your NetBeans projects, which should be kept inside the parent NetBeans projects directory . (D:\dev\java\project)
There may be similar multiple projects that will be stored in this directory by default (D:\dev\java\project)
--- NetBeans Projects as some: -
(D:\dev\java\project\myapp2)
(D:\dev\java\project\myapp3)
source to share