posted 16 years ago
Hi Abhi,
As stated above, if you want to access java or javac from other than bin folder, the "bin" folder should be added in the "path" variable. So, before using javac for the first time, use the following command in your command prompt:
C:\Program Files\Java\jdk1.6.0_04\bin\Myproject\Source>set path=%path%;C:\Program Files\Java\jdk1.6.0_04\bin;
C:\Program Files\Java\jdk1.6.0_04\bin\Myproject\Source>javac <<your java program name>>
Please note, your project folder need not to be inside java installation folder under bin. You can have your project folder somewhere in any of your valid drives (for example c:\Myproject) to make it simple to access.
Hope this helps.
Mourougan
[ December 01, 2008: Message edited by: Mourouganandame Arunachalam ]
Mourougan
Open Source leads to Open Mind