This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270554

Summary: jshell Plugin cannot be activated
Product: java Reporter: maxnitribitt <maxnitribitt>
Component: JShellAssignee: Svata Dedic <sdedic>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P1    
Version: Dev   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot from plugin center

Description maxnitribitt 2017-05-04 07:18:01 UTC
Created attachment 164240 [details]
screenshot from plugin center

I'm running NetBeans nightly on my mac:

Product Version: NetBeans IDE Dev (Build 201705030001)
Java: 9-ea; Java HotSpot(TM) 64-Bit Server VM 9-ea+167
Runtime: Java(TM) SE Runtime Environment 9-ea+167
System: Mac OS X version 10.12.4 running on x86_64; UTF-8; de_DE (nb)
User directory: /Users/antonepple/tmp
Cache directory: /Users/antonepple/tmp/var/cache

The jshell plugin is not active and cannot be activated from the plugins dialog. I didn't find any suspicious entry in IDE log. I retried with new userdir, but no difference. Let me know if I can give you any additional information.
Comment 1 Jaroslav Tulach 2017-05-04 07:22:04 UTC
If valid, isn't this a P1 bug?
Comment 2 Svata Dedic 2017-05-10 10:09:40 UTC
Please try running NB with an empty userdir. If that userdir was used either by some early build of NB-9 with jshell support, or by NB8 + jshell module, there can be some relics in module configuration which may cause issues.

If you see Tools | Open Platform Shell when running with a clean userdir, please zip up your userdir's config area and attach to the defect.
Comment 3 maxnitribitt 2017-05-18 08:18:07 UTC
From my output you can see that I was running with "/Users/antonepple/tmp" as userdir, which was an empty dir.
Comment 4 maxnitribitt 2017-06-13 10:08:28 UTC
I cannot reproduce with newer versions of java and nb. I'll close as WORKSFORME.