Code compiles in/runs in IDE but not on UNIX system
I'm new here and hopefully I'm posting this in the proper section. If not, please let me know. I've searched this forum as well as others and have not been able to find a working solution.
I have a program I've been working on in Eclipse that compiles and runs just fine on my laptop. The problem I'm having is that I need to run the program on a UNIX system as well, but for some reason when I try and compile on the UNIX system I get the "cannot find symbol" error when making instantiations of objects that are defined in seperate java files from the main file.
My first thought was that the files are not being seen as being in the same package. I'm not that familiar with how packages would work on a UNIX system, but my understanding is that placing all java files of a certain package within a directory with the same package name is the proper method.
Can anyone enlighten me on how this works or how I can get my program to compile? Thanks!