Welcome to the Field2 development repository. This codebase is experimental and in flux; it is not ready for production work.
-
javaitself. Field2 is tracking the bleeding edge of JDK 9 development. Go get and install a JDK-9-EA from here. -
On windows, we're building inside Cygwin / (specifically Babun).
-
Not strictly prerequisite -
Intellij IDEA(a java development environment) from http://www.jetbrains.com/idea/ andkotlincthe command line kotlin compiler. For the latter we're slightly out in front of kotlinc's releases (specifically their ability to build against jdk9), so for now we are bundling a snapshot kotlinc inside the repository.
To build, first take a moment to make sure that there's a working javac command on your system, and it points to a JDK 9 EA:
m0:~ marc$ javac -fullversion
javac version "9-ea+170"You might have to mess around with your $PATH a little.
Then, on macOS and Linux, it should simply be a matter of:
m0:~ marc$ ./build.shOn Windows + Cygwin (Babun etc.), try ./build_win.sh.
Then, assuming an error-free build:
./f_mac fieldbox.FieldBox -file helloField.field2on Linux substitute ./f_linux for ./f_mac, on Windows/Cygwin ./f_win. Be prepared to edit these scripts to point directly at your JDK. fieldbox.FieldBox is the Java Class that's the main entry-point into Field2.
GPLv3 covers the project as a whole, dependencies not included.