₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,130 members, 8,420,491 topics. Date: Thursday, 04 June 2026 at 09:53 PM

Toggle theme

Zeroandone's Posts

Nairaland ForumZeroandone's ProfileZeroandone's Posts

1 (of 1 pages)

Certification And Training AdvertsRe: Be A Java Programmer by zeroandone(m): 9:19am On Feb 16, 2011
for any further difficulty. email me to know my free times on skype so we can solve it togeda.
Certification And Training AdvertsRe: Be A Java Programmer by zeroandone(m): 9:04am On Feb 16, 2011
if u are using windows operating sys. and particulary, there are two enviroment variables to set before u can use the console to compile and run java programs. but with the netbean. am not sure it is necessary after installing the jdk and jre.
1. right click my computer->properties->advance tab and search for enviroment variable btn at the bottom side.
click it.
2. under the system variables, search for path and single click it.
click edit.
this is what my look like-%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\


just add semicolom(wink at the end


now from where ur program jdk installed files are- u will need to copy 2 things.
1. copy the library("lib"wink path
example-program files\java\jdk\lib
paste this path after the semicolom.
the new path will look like this-%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;program files\java\jdk\lib

press OK.

2.copy the path of the bin directory.
my looks like-program files\java\jdk\bin

now u hav to create a new system variable (not editing).
just beside the edit, click NEW btn.
enter what ever name u want for the "variable name"  textField.
paste the second directory ("program files\java\jdk\bin"wink into the "variable value" textBox and press OK.

continue to press OK to close all the open windows.

ur enviroment variables are now set for u to use the JAVAC word for compilation

1 (of 1 pages)