Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
16Activity
0 of .
Results for:
No results containing your search query
P. 1
Notepad++ - Tutorial Compile and Run Java Program

Notepad++ - Tutorial Compile and Run Java Program

Ratings: (0)|Views: 4,509 |Likes:
Published by Jorge Junior.
Tutorial - Compilando e Executando programas em java - Notepad++!!!
Tutorial - Compilando e Executando programas em java - Notepad++!!!

More info:

Published by: Jorge Junior. on Apr 04, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/22/2013

pdf

text

original

 
Notepad++configurationinstructionsPage1
 
Notepad++
TheCOMPSCI101TextEditorforWindows
ThetexteditorthatwewillbeusingintheComputerSciencelabsforcreatingourJavaprogramsiscalledNotepad++andisfreelyavailablefortheWindowsoperatingsystem.Ifyouplantodoworkoutsideofthelabs,perhapsathome,youmaylike
http://notepad-plus.sourceforge.net
tousethesamesoftwarethatwehaveavailableinthelabs.ThisdocumentdescribeshowtoinstallandconfigureNotepad++usingthesamesettingsavailableinthelabs.
Whatisatexteditor?
Atexteditorisaprogramthatenablesyoutowriteplaintextfiles(a
textfile
isafilethatconsistsoflinesoftextcomprisedmainlyofthecharactersthatyoucantypeonakeyboard).Acommonextensionfortextfilesis
.txt 
,althoughtheJavasourcefilesthatwearecreatinginthiscoursearealsoexamplesoftextfilesandusetheextension
.java
.Therearemanytexteditorsthatarefreelyavailableforyoutouse.Forexample,WindowsprovidesaverysimpletexteditorcalledNotepad(thatyoucanfindunderthe
 Accessories
menu).However,thisisnotaverygoodeditorforwritingsourcecodebecauseitdoesn’tsupportusefulfeaturessuchassyntax-colouring,auto-indentationandbracehighlighting.Notepad++isafreelyavailabletexteditorforWindows,andistheeditorwewillbeusinginthelabstowriteourJavasourcecode.
InstallJava(JDK)
BeforeinstallingandconfiguringNotepad++makesurethatyouhaveinstalledtheJavaDevelopmentKit(JDK).Youcandownloadandinstallthemostrecentversionfrom:http://java.sun.com/javase/downloads/index.jspMakesureyouareabletocompileandrunprogramsusingtheCommandPrompt
before
youinstallandconfigureNotepad++.
 
Notepad++configurationinstructionsPage2
 
InstallingNotepad++
GototheResourcespageoftheCompSci101website:
http://www.cs.auckland.ac.nz/courses/compsci101s1c/resources/
anddownloadthezipfile,
Notepad++.zip, to your desktop
.Unzipthefileandyoushouldseethefollowingfolderonyourdesktop:Right-clicktheinstaller.exefileandandselect"runasadministrator".Notepad++willnowbeinstalledonyourcomputer.TocheckthatyouhaveinstalledNotepad++correctly,runtheapplication(a linkshouldappearonyourdesktop)andyoushouldseeaneditorwindowlikethefollowingappear:
 
Notepad++configurationinstructionsPage3
 
ConfiguringNotepad++
Inthelabs,certaincommandsandshort-cutkeyshavebeendefinedtomakeiteasierforyoutocompileandrunyourJavaapplications.ThissectionwilldescribehowtoconfigureNotepad++sothatthesamecommandsandshort-cutkeysareavailabletoyou.
DisplayFont
Ifyouwouldliketosetthedisplayfonttobeidenticaltothesettingsusedinthelabs,goto:
Settings>StyleConfigurator...SetFonttoCourier,andFontsizeto12forLanguage:GlobalStylesandStyle:Globaloverride
NppExecPlugin
Openthe
Plugins
menu.Youwillneedanoptioncalled
NppExec
inthismenuanditmaynotbepresentbydefault(asintheexamplescreenshotbelow):

Activity (16)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
netoeellen liked this
claudio.ftr liked this
Spandi Rauf liked this
Douglas Roaden liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->