| Author |
help with dos
|
joey whitewolfe
Greenhorn
Joined: Sep 07, 2002
Posts: 11
|
|
I've never had operating systems, I don't know how to compile a java file that is in a dfferent directory and have another file call upon it and use it. Basically what I'm getting at is - I need my source file created in the root dir and when compiled the class will be directed to respective package. then the program will be compiled and run from the root dir. OK! I can compile java files but not in this way. Setting up dir and then extending out from that dir .I set it up but it doesn't follow out right.mainly it can't read it.javascript: x() Eek!
|
 |
Arun Boraiah
Ranch Hand
Joined: Nov 28, 2001
Posts: 233
|
|
Hi, check out the -d option in javac to place the complied file in diffrent location with the package specifed in the source. set the classpath at the time of exection for other file locate your class file. -arun
|
Sharing is learning
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: help with dos
|
|
|