blob: c62f977cd5948d5322d2bd60101766f25a62eda6 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Creating a new Java project
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Creating a new Java project
</h1>
<p>
You can organize Java projects in two different ways.
</p>
<ul>
<li>
Use the project as the container of packages. In this organization, all Java packages are created directly inside the project. This is the selected organization by
default. The generated CLASS files are stored along with the JAVA source files.
</li>
<li>
Use source folders as the container for packages. In this project organization, packages are not created directly inside the project but in source folders. You create
source folders as children of the project and create your packages inside these source folders.
</li>
</ul>
<p>
The default organization for new projects can be changed on the preference pages (<strong>Window</strong> &gt; <strong>Preferences</strong> &gt; <strong>Java &gt; New
Project</strong>).
</p>
<p>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159">
</p>
<p>
<a href="../concepts/concepts-3.htm">Java projects</a>
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159">
</p>
<p>
<a href="tasks-13.htm">Creating a Java project as its own source container</a><br>
<a href="tasks-14.htm">Creating a Java project with source folders</a><br>
<a href="tasks-17.htm">Creating a new Java class</a><br>
<a href="tasks-21.htm">Creating a new Java interface</a><br>
<a href="tasks-26.htm">Creating a new source folder</a><br>
<a href="tasks-11.htm">Creating Java elements</a><br>
<a href="tasks-110.htm">Working with build paths</a>
</p>
<p>
<img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159">
</p>
<p>
<a href="../reference/ref-121.htm">New Java Project wizard</a><br>
<a href="../reference/ref-preferences-new-project.htm">New Project preference page</a>
</p>
<p>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width="324"></a>
</p>
</body>
</html>