jshell depends on some windows registry?

Weijun Wang weijun.wang at oracle.com
Wed May 4 04:32:47 UTC 2016


I copied the images to my own computer (without running any installer) 
and running jshell in jdk9/b116 shows this

  $ jshell
May 04, 2016 12:30:25 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs 
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
|  Welcome to JShell -- Version 9-ea
|  For an introduction type: /help intro

jshell>

Then if I enter anything, it just hangs forever.

Must I install it? What if I am building my own jdk?

Thanks
Max


More information about the kulla-dev mailing list