You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,20 @@ npm test
58
58
59
59
_NOTE: You will need node-gyp installed using "npm install -g node-gyp"_
60
60
61
+
### Java 1.8 support
62
+
63
+
Manual compilation for Java 1.8 support requires additional steps:
64
+
65
+
```bash
66
+
./compile-java-code.sh
67
+
./compile-java8-code.sh
68
+
node-gyp configure build
69
+
npm test
70
+
npm test8
71
+
```
72
+
73
+
Java 1.8 language features can be used in Java classes only if a Java 1.8 JRE is available. The script compile-java8-code.sh is used only to compile java classes used in the 'test8' unit tests, but these classes are checked into the test8/ directory. Note that unit tests in the test8/ directory will pass (by design) if run against a Java 1.6 or 1.7 JRE, provided that a java.lang.UnsupportedClassVersionError is caught with the message 'Unsupported major.minor version 52.0' (the expected behavior when Java 1.8 language features are used in an older JRE).
0 commit comments