This week's book giveaway is in the Testing forum.
We're giving away four copies of Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples and have Jeremy Kubica on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Packages

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hardly appropriate for the Advanced forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic