Skip to content

Commit d058a57

Browse files
authored
Updated README
1 parent a777374 commit d058a57

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,18 @@ lastUpdate fields in the model are automatically assigned a trigger in the datab
4646

4747

4848
## Dependencies
49-
Requires Java 8 for javascript parsing. Also requires javaxt-core.jar
49+
The javaxt-orm library requires Java 8 or higher for Javascript parsing and javaxt-core.jar for JSON and basic file IO.
50+
51+
52+
## Generated Code Dependencies
53+
The javaxt-orm library generates Java code that extends/implements javaxt.sql.Model class.
54+
It also calls java.util.Map.ofEntries which was introduced in Java 9.
55+
Therefore, you will need both javaxt-core and Java 9 (or higher) to use the generated code
56+
in your project.
57+
58+
59+
## How to Use With Java 15 and Up
60+
The javaxt-orm library relies on Nashorn for parsing input Javascript files.
61+
Nashorn used to be bundled with Java between versions 8 to 14. Unfortunately, starting with Java 15
62+
Nashorn is no longer included in the standard distribution and needs to be downloaded as a seperate JAR via OpenJDK.
63+
More info <a href="https://gist.github.com/pborissow/a1d8a7721d131b773235cca88dc0b88c">here</a>.

0 commit comments

Comments
 (0)