Hi,
I am trying to run the application on a commandline. I am able to run it fine in JDeveloper as the application is created in JDeveloper. But I need to run it on a commandline. I need some help how to make it work. Here is the scenario:
I have two packages i.e.
com.test1.test2.all
com.test1.test2.util
I have four classes in each of the package.
My main class is in package com.test1.test2.all
When I try to compile the program, gets errors that say can't find the classes from package
com.test1.test2.util. As I have added import com.test1.test2.util.*; in classes of com.test1.test2.all.
here is what I am doing:
C:\test\com\test1\test2\all\javac MainClass.java
I get compilation errors: i.e.
can't find class com.test1.test2.util.Test2 and so on...
So can anyone help me what is the right way to do. Thanks for the help.
I am trying to run the application on a commandline. I am able to run it fine in JDeveloper as the application is created in JDeveloper. But I need to run it on a commandline. I need some help how to make it work. Here is the scenario:
I have two packages i.e.
com.test1.test2.all
com.test1.test2.util
I have four classes in each of the package.
My main class is in package com.test1.test2.all
When I try to compile the program, gets errors that say can't find the classes from package
com.test1.test2.util. As I have added import com.test1.test2.util.*; in classes of com.test1.test2.all.
here is what I am doing:
C:\test\com\test1\test2\all\javac MainClass.java
I get compilation errors: i.e.
can't find class com.test1.test2.util.Test2 and so on...
So can anyone help me what is the right way to do. Thanks for the help.