After some more experimentation, I got a different error message which sees below. Can anyone explain what it meant?
C:\Users\kawag>pip install pyjnius
Collecting pyjnius
ERROR: Complete output from command python setup.py egg_info:
ERROR: warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
C:\Program Files\Java\jdk-12.0.1\
WARNING: Not able to assign machine() = AMD64 to a cpu value!
Using cpu = 'i386' instead!
JDK_HOME: C:\Program Files\Java\jdk-12.0.1\
JRE_HOME: None
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\kawag\AppData\Local\Temp\pip-install-ea9vl3yq\pyjnius\setup.py", line 246, in <module>
compile_native_invocation_handler(JDK_HOME, JRE_HOME)
File "C:\Users\kawag\AppData\Local\Temp\pip-install-ea9vl3yq\pyjnius\setup.py", line 96, in compile_native_invocation_handler
join('jnius', 'src', 'org', 'jnius', 'NativeInvocationHandler.java')
File "c:\users\kawag\appdata\local\programs\python\python37-32\lib\subprocess.py", line 341, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Program Files\\Java\\jdk-12.0.1\\bin\\javac.exe', '-target', '1.6', '-source', '1.6', 'jnius\\src\\org\\jnius\\NativeInvocationHandler.java']' returned non-zero exit status 2.
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\kawag\AppData\Local\Temp\pip-install-ea9vl3yq\pyjnius\