Fresh Information, Great Ideas, Latest Product Review & Specification » Computer & Gadget

Fresh Information, Great Ideas, Latest Product Review & Specification » Home and Appliances

Fresh Information, Great Ideas, Latest Product Review & Specification » Camera & Photography

Sunday, June 20, 2010

Setting set path to compile java program using command promt

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2010 Microsoft Corp.

On command promt!

type

set path="C:\Program Files\Java\jdk1.5.0_07\bin"

looks like this

C:\Documents and Settings\anarchy - 01>set path="C:\Program Files\Java\jdk1.5.0_07\bin"

press ENTER!

and look like this

C:\Documents and Settings\anarchy - 01>

type

cd\

press ENTER

and result look like this

C:\>

then type

cd "Documents and Settings\anarchy - 01\Desktop\java files"

and it's look like this

C:\Documents and Settings\anarchy - 01>cd "Documents and Settings\anarchy - 01\Desktop\java files"

press ENTER

and result look like this!

C:\Documents and Settings\anarchy - 01\Desktop\java files>

you can now compile your java program anywhere you like!!!

No comments:

Post a Comment