File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,31 @@ You can use our [language framework](https://github.com/OnfireNetwork/OnsetJava)
16162 . Ensure Java 8 JDK/JRE 64bit is installed.
17173 . Enable "OnsetJavaPlugin" as a plugin inside server_config.json.
1818
19+ #### Compiling from source
20+ ##### Ubuntu 18.04
21+ ```
22+ # Compiling the plugin requires GCC8 because of <filesystem> usage.
23+
24+ apt install openjdk-8-jdk openjdk-8-jre maven gcc-8 g++-8
25+
26+ export CC=/usr/bin/gcc-8
27+ export CXX=/usr/bin/g++-8
28+
29+ git clone --recurse-submodules https://github.com/OnfireNetwork/OnsetJavaPlugin
30+ cd OnsetJavaPlugin
31+ cmake .
32+ make
33+
34+ # Copy src/OnsetJavaPlugin.so to your OnsetServer/plugins folder.
35+ ```
36+ ##### Compiling OnsetJavaPluginSupport
37+ ```
38+ cd OnsetJavaPluginSupport
39+ mvn package
40+
41+ # Copy OnsetJavaPluginSupport/target/OnsetJavaPluginSupport-1.0.jar to your OnsetServer/java folder.
42+ ```
43+
1944### Data Types we support
2045#### Method Parameters
2146* Lua String -> String (java.lang.String)
You can’t perform that action at this time.
0 commit comments