Advanced Internet Programming How to run the exercise ...

idiotdiscΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 4 χρόνια και 10 μήνες)

222 εμφανίσεις

Advanced Internet Programming

How to run the exercise:


In the exercise you have two directories:

1)

src



the sources directory.

2)

C
lasses



the target directory (empty at start).

Also you have the *.jar files you need in order to connect to the SQL Server:

1)

ms
base.jar

2)

msutil.jar

3)

mssqlserver.jar


So, what to do with
them?

How to create project?

1)

Start the NetBeans IDE.


2)

Create new project:

Project > Project Manager > New … > enter new project name

or you could just use shortcut keys Ctrl+Shift+N



3)

Add the project

directories, in file system right click:

Mount > Local Directory >
src

and
classes

directories.


4)

Add the *.jar files, in file system right click:

Mount > archive files >
*.jar files


5)

Now we will ch
o
ose the interna
l

and external compilation target, this
o
peration
separates

the source file
s from the compiled files
:

Tools > Options >Building >Compiler Types > External Compilation > target
set for

classes
directory.

Tools > Options >Building >Compiler Types > Internal Compilation > target
set for

classes
dire
ctory.



Now you're ready for work!