syntax_analyzer/
src/ // this will contain java sources, subfolders in here denote packages
package1/
package2/
bin/ // use this to hold the compiled `.class` files, but do not upload them!
Compilation
Follow the above folder stucture. For compilation use javac.
Some help regarding the project structure, java packages, and compilation.
Oracle references: here.
Structure
Compilation
Follow the above folder stucture. For compilation use
javac
.I use the following command:
Note the
utf-8
encoding.Running
Use the
java
command. Link the compiled binaries in the classpath. Refer to classes by their fully qualified package name before the class name.