Re: Package does not exsist
Could you show your file/folder structure?
And the classpath you are using when you compile the program.
The classpath should point to the folder containing the folder that starts the package, in your case the Algebra folder should be in the folder at the end of the classpath.
Re: Package does not exsist
folder structure is this: src>Algebra (contains Calculator)>Functions (Contains onestep, and twostep)
idk if thats what u were asking for or not
Re: Package does not exsist
What is the value of the classpath when you compile the program?
The full path consisting of the classpath concatenated with the package path should point to the class file.
C:/test/java/Algebra/Functions/<function classes>
classpath = C:/test/java
package = Algebra/Functions
Re: Package does not exsist
Code :
"C:\Program Files\Java\jdk1.6.0_22\bin\javac.exe" -cp . -d ../bin/ ../src./Algebra/*.java
Re: Package does not exsist
i get what u are saying now. i fixed it thank you!
Re: Package does not exsist
classpath is tough. It took me months to master it.