wiktor-obrebski / SublimeJavaCompiler

Java compiler package for Sublime 2 Text and Sublime 3 Text.
31 stars 12 forks source link

Help compiling project #5

Closed HectorFP closed 9 years ago

HectorFP commented 9 years ago

Hi

I have this structure.. src src / file1.java src / file2.java

File settings.sublime-javac { "project_name": "Example", "output_dir" : "bin", "sources_dir" : "src", "resources" : [ "src/*" ], "libs" : [], "encoding" : "utf-8", "entry_file" : "file1.java", "entry_point" : "file1" }

And file1.java refers to file2.java.

When I try to compile the project, I receive this message... ------------Compiling project------------ file1.java:48: error: cannot find symbol private file2 engine = null; symbol: class file2 location: class file1 ...

What am i doing wrong?

HectorFP commented 9 years ago

Works!!! ;) I have solved the problem.

I put .java files into src folder but also i had to put them into a folder with the same name that the package specified in each class. The issue can be closed.