File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 40
40
+++oo*OO######O**oo+++++oo*OO######O**oo+++++oo*OO######O**oo+++
41
41
+++oo*OO######OO*oo+++++oo*OO######OO*oo+++++oo*OO######OO*oo+++
42
42
43
+ Bootstrap a Java installation:
44
+
45
+ >>> from scyjava import config, jimport
46
+ >>> config.set_java_constraints(fetch=True, vendor='zulu', version='17')
47
+ >>> System = jimport('java.lang.System')
48
+ cjdk: Installing JDK zulu:17.0.15 to /home/chuckles/.cache/cjdk
49
+ Download 100% of 189.4 MiB |##########| Elapsed Time: 0:00:02 Time: 0:00:02
50
+ Extract | | # | 714 Elapsed Time: 0:00:01
51
+ cjdk: Installing Maven to /home/chuckles/.cache/cjdk
52
+ Download 100% of 8.7 MiB |##########| Elapsed Time: 0:00:00 Time: 0:00:00
53
+ Extract | |# | 102 Elapsed Time: 0:00:00
54
+ >>> System.getProperty('java.vendor')
55
+ 'Azul Systems, Inc.'
56
+ >>> System.getProperty('java.version')
57
+ '17.0.15'
58
+
43
59
Convert Java collections to Python:
44
60
45
61
>>> from scyjava import jimport
You can’t perform that action at this time.
0 commit comments