Hello , I encountered a problem using javac compiler on the terminal , which is as follows.
I have a folder on my desktop named "JPro".
Inside the folder I have two folders named "One" and "two".
Inside folder "One" I have two
java files containing a simple class and a class containing the main method , both of them compiles fine.
Inside folder "two" I have another java file which too compile fine.
But when I try to import the file inside folder "two" from folder "one" , cannot compile because it do not recognize the file inside folder "two"
So , how can i compile java filed located in different folders from another folder.
My program is like this
/////// Inside Folder JPro //////////
//// Inside Folder One //////
Launcher.java
HelperOne.java
///////////////////////////////
//// Inside Folder Two //////
HelperTwo.java
///////////////////////////////
I am using ubuntu 14.04 and not using any
IDE .
Thank You.