how to compile and run package programs in Java
807606May 8 2007 — edited May 9 2007Hi,
I want to know how to compile and run the package programs in Java using -d. instead of creating the package folder manually.
eg:
package Test;
class test1
{
public void disp()
{
//Any code;
}
}
I want to compile this without creating the folder ' Test ' manually. that is if we use -d with javac the Test folder will be created automatically. I need the format of -d
could anyone please help me.
Thanks in Advance ,
Ambika