• Post Reply Bookmark Topic Watch Topic
  • New Topic

Packages  RSS feed

 
K Kiran Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a file called 'test.java' in d:\a\b\c\d\tesy.java.
test.java has code

package c.d;
import r.s.*; //if this statement is wrong please correct this.
public class test
{
//some code that uses ex.java method
}


I have one more file called ex.java in e:\p\q\r\s\ex.java.

ex.java has code

package r.s;
public class ex
{
// some code with a simple method
}

java bin dir is in f:\java1.4\bin

My question is how to compile those two files from g:\> drive
Please give me the commands to compile the two files. I had tried but I got the error unable to read file.

Regards,
Kiran.
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hardly appropriate for the Advanced forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!