File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 4040 +++oo*OO######O**oo+++++oo*OO######O**oo+++++oo*OO######O**oo+++
4141 +++oo*OO######OO*oo+++++oo*OO######OO*oo+++++oo*OO######OO*oo+++
4242
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+
4359Convert Java collections to Python:
4460
4561 >>> from scyjava import jimport
You can’t perform that action at this time.
0 commit comments