Chat Tutorial in NetBeans/Text Client: Difference between revisions

Content deleted Content added
imported>SimonSmall
Tidy up
imported>SimonSmall
Build the Project: Added log4j.jar library
Line 257:
== Build the Project ==
 
If there are no errors in the package, selectthere '''Run''',is '''Buildone Mainlast Project'''thing fromto thedo. NetBeansAlthough menuthis bar.does Thisnot create a compile error it will create '''client.jar'''an error when you inrun the '''dist'''Text directoryClient.
 
Copy the '''log4j.jar''' file from the downloaded source files to the '''libs''' directory (created above). Right click the '''Libraries''' branch of the server Project tree, and select '''Add Jar/Folder'''. Browse to the the libs directory for this project and select the log4j.jar file.
 
Finally, select '''Run''', '''Build Main Project''' from the NetBeans menu bar. This will create '''client.jar''' in the '''dist''' directory, and copy the jar files from the libs directory to the '''lib''' sub-directory of dist.
 
== Completion ==