Re: Netbeans 11 won't launch in Windows 10 (Fixed, PEBCAK)

2019-09-23 Thread Chuck Davis
Thanks, Carl, for letting us know you're off and running.  What I don't
understand is why setting the JAVA_HOME variable is not the default in the
AdoptOpenJDK installation.  It should be.  Other people are going to
miss that during install and have the same problems you experienced I
fear.  I nearly missed it when I installedone has to be unnecessarily
careful.

On Mon, Sep 23, 2019 at 12:08 PM Carl Burke  wrote:

> Since this was nagging at me, I uninstalled Netbeans, reverted my change
> to the JDK, and checked all my environment variables. The Path did not
> have any quotes around the JDK or JRE bin specs, so I quoted them.
> (Either AdoptOpenJDK doesn't do that, or Windows intervened to be
> 'helpful'.
> It does remove quotes when you edit the path as a list instead of a
> string.)
> I also verified that I had a JAVA_HOME variable set, with a quoted path.
> Running the netbeans installer with the --javahome parameter did work,
> and once Netbeans was installed it did launch without a hitch.
>
> I don't know what is different this time around, other than having the
> JAVA_HOME variable set at install time and ensuring that the PATH parts
> related to java are quoted.
>
> Thanks for bearing with me.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Re: Netbeans 11 won't launch in Windows 10 (Fixed, PEBCAK)

2019-09-23 Thread Carl Burke
Since this was nagging at me, I uninstalled Netbeans, reverted my change
to the JDK, and checked all my environment variables. The Path did not
have any quotes around the JDK or JRE bin specs, so I quoted them.
(Either AdoptOpenJDK doesn't do that, or Windows intervened to be 'helpful'.
It does remove quotes when you edit the path as a list instead of a string.)
I also verified that I had a JAVA_HOME variable set, with a quoted path.
Running the netbeans installer with the --javahome parameter did work,
and once Netbeans was installed it did launch without a hitch.

I don't know what is different this time around, other than having the
JAVA_HOME variable set at install time and ensuring that the PATH parts
related to java are quoted.

Thanks for bearing with me.

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Curious message

2019-09-23 Thread Geertjan Wielenga
If there's a way for us to reproduce it, would be great if you'd provide
steps to do so in an issue.

Gj

On Mon, Sep 23, 2019 at 6:57 PM Don  wrote:

> I installed 11.1 and allowed it to use projects created in 11.
>
> Two had issues because they want Java 8 and I was able to resolve that
> in Project|Properties.
>
> The 3rd is a web application and the name of the project has (broken)
> appended to it.  When I right-click and choose the Resolve Problems ...
> option a popup says:
>
> Would also need to enable StandardModule:org.netbeans.modules.web.jsf12 jar
> File:
> /home/don/netbeans-11.1/netbeans/enterprise/modules/org-netbeans-modules-web-jsf12.jar
>
>
>
> What does that mean?  What does it want me to do? And why are Properties
> not available?
>
>
> Don
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Re: "New Project->Java with Maven -> Netbean" Module fails

2019-09-23 Thread Geertjan Wielenga
Fixed in 11.2, try it in a daily build or wait for beta1 to be released
this week, would be great if you'd verify it works for you there.

Gj

On Mon, Sep 23, 2019 at 8:01 PM William Reynolds <
wnreyno...@stellarscience.com> wrote:

> Per subject. Trying to create a new Maven RCP Module project fails. It
> prompts for a directory name and exits immediately after finish is clicked.
> A directory is created, but no project files. In my messages.log, I have
> the following error:
>
> WARNING [org.openide.WizardDescriptor]
> java.lang.NullPointerException
>  at
>
> org.apache.maven.artifact.versioning.ComparableVersion.parseVersion(ComparableVersion.java:357)
>  at
>
> org.apache.maven.artifact.versioning.ComparableVersion.(ComparableVersion.java:348)
>  at
>
> org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:384)
>  at
>
> org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:141)
>  at
>
> org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utilities.java:318)
>  at
>
> org.netbeans.modules.maven.spi.newproject.CreateProjectBuilder.create(CreateProjectBuilder.java:146)
>  at
>
> org.netbeans.modules.maven.apisupport.NBMNativeMWI.instantiate(NBMNativeMWI.java:69)
>  at
>
> org.netbeans.modules.maven.apisupport.NbmWizardIterator.instantiate(NbmWizardIterator.java:130)
>  at
>
> org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1028)
>  at
>
> org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580)
>  at
>
> org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
>  at
>
> org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:414)
>  at
>
> org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
>  at
>
> org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
>  at
>
> org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
>  at
> org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
>  at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
> [catch] at
> org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
>  at
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  at
>
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.core.netigso.Netigso]: bundle
> org.eclipse.osgi@3.9.1.v20140110-1610 256
> INFO [org.netbeans.core.netigso.Netigso]: bundle
> org.eclipse.osgi@3.9.1.v20140110-1610 stopped
> INFO [null]: Last record repeated again.
>
> --
> William Reynolds, Ph.D.
> Stellar Science, LLC
> wnreyno...@stellarscience.com
> www.stellarscience.com
> 877-763-8268 x710 (v)
>
>
>


"New Project->Java with Maven -> Netbean" Module fails

2019-09-23 Thread William Reynolds
Per subject. Trying to create a new Maven RCP Module project fails. It 
prompts for a directory name and exits immediately after finish is clicked.
A directory is created, but no project files. In my messages.log, I have 
the following error:


WARNING [org.openide.WizardDescriptor]
java.lang.NullPointerException
    at 
org.apache.maven.artifact.versioning.ComparableVersion.parseVersion(ComparableVersion.java:357)
    at 
org.apache.maven.artifact.versioning.ComparableVersion.(ComparableVersion.java:348)
    at 
org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:384)
    at 
org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:141)
    at 
org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utilities.java:318)
    at 
org.netbeans.modules.maven.spi.newproject.CreateProjectBuilder.create(CreateProjectBuilder.java:146)
    at 
org.netbeans.modules.maven.apisupport.NBMNativeMWI.instantiate(NBMNativeMWI.java:69)
    at 
org.netbeans.modules.maven.apisupport.NbmWizardIterator.instantiate(NbmWizardIterator.java:130)
    at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1028)
    at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580)
    at 
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
    at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:414)
    at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
    at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
    at 
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
    at 
org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)

    at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
    at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)

    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
    at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
INFO [org.netbeans.core.netigso.Netigso]: bundle 
org.eclipse.osgi@3.9.1.v20140110-1610 256
INFO [org.netbeans.core.netigso.Netigso]: bundle 
org.eclipse.osgi@3.9.1.v20140110-1610 stopped

INFO [null]: Last record repeated again.

--
William Reynolds, Ph.D.
Stellar Science, LLC
wnreyno...@stellarscience.com
www.stellarscience.com
877-763-8268 x710 (v)




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Netbeans 11 won't launch in Windows 10

2019-09-23 Thread Carl Burke
Thanks for the detailed instructions. If I find that I need to use JShell
inside Netbeans, I'll nuke everything and start from scratch following
this path. As it is, I've managed to get the IDE to launch by removing
JShell from the default options, and that's sufficient for my purposes.


- Original Message -
From: "Mark Eggers" 
To: "users" 
Sent: Monday, September 23, 2019 11:25:49 AM
Subject: Re: Netbeans 11 won't launch in Windows 10

I run NetBeans 8.2, NetBeans 11, and NetBeans 11.1 daily on a Windows 10
Professional desktop. I've never had any trouble installing or running
the platforms.

For this mix, here's how I do things.

1. Download OpenJDK 11.0.4 from adoptopenjdk.net

Download the appropriate zip file (64 bit version for me).

2. Unzip it in a reasonable place

I usually put 64 bit code in D:\Programs-x64. This way I don't have
spaces in directory names in case there are legacy issues with spaces on
Windows. I also don't want to clutter up a limited size SSD (I should
really get a larger one).

3. Edit some environment variables

3.a. Add JDK_HOME to point to the location where you unzipped the openjdk
3.b. Add JRE_HOME to point to the location where you unzipped the openjdk

Please note that the location of the server JRE has changed, and it is
now mixed in with the JDK. In short, both java, and javac are in the
same subdirectory (bin).

I set JRE_HOME since Apache Tomcat makes use of that environment
variable if set.

3.c. Edit the PATH environment variable
1. Add %JDK_HOME%\bin to the path
2. Remove any previous JREs from the PATH (for me, %JRE_HOME%\bin)

3. If you have JDK / JRE 8 installed (I do)

Remove C:\Program Files (x86)\Common Files\Oracle\Java\javapath (or
wherever it is) from the path.

4. To verify that everything is installed correctly, open up a
PowerShell Window and type:

4.a. java -version
(you should get the following)
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)

4.b. javac -version
(you should get the following)
javac 11.0.4

4.c jshell
(you should get the following)
|  Welcome to JShell -- Version 11.0.4
|  For an introduction type: /help intro

jshell>

Ctrl-D should exit jshell.

5. Download the Apache NetBeans 11.1 zip file

6. Unzip it somewhere appropriate - I use D:\Programs\Apache

7. Launch the netbeans64.exe file from the directory

I usually tweak the netbeans.conf file for larger fonts, UTF-8, and some
other things. However, that's beyond the scope of these installation
notes. I also add the JDK 8 installation under Tools -> Java Platforms
since I still have projects that require JDK 8 (servlet specification
2.5, sigh).

I hope this gets you running.

. . . . just my two cents
/mde/

On 9/22/2019 5:08 PM, Carl Burke wrote:
> I did as you suggested and unzipped the ZIP file. I get the same error:
> 
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module jdk.jshell not found
> 
> I have never heard of jshell before, but when I'm in the netbeans\bin
> directory I can run it, so it's clearly present in the system.
> It just isn't found by netbeans64.exe.
> 
> 
> - Original Message -
> From: "Geertjan Wielenga" 
> To: "Carl Burke" 
> Cc: "users" 
> Sent: Sunday, September 22, 2019 3:00:15 PM
> Subject: Re: Netbeans 11 won't launch in Windows 10
> 
> Nothing needs to be moved or separated when you use the installer. I’d
> recommend you start from scratch with 11.1, if you’re having problems with
> the installer, unzip the ZIP file instead.
> 
> Gj
> 
> On Sun, 22 Sep 2019 at 20:14, Carl Burke  wrote:
> 
>> I've got a brand new laptop, just installed AdoptOpenJDK 11 and Netbeans
>> 11.1, and Netbeans will not launch in Windows 10 (1809). I have run
>> previous versions of Netbeans on other Windows 10 systems, including with
>> AdoptOpenJDK, but those were with Java 8 and earlier releases of both
>> Netbeans and Windows 10.
>>
>> There were some issues getting the installer to run: since AdoptOpenJDK
>> does not bundle a JRE under the JDK, the JRE had to be moved and renamed
>> from it's separate installation so that the installer would find both the
>> JRE and the JDK. However, after that was done the installer appeared to
>> work fine.
>>
>> When I try to launch Netbeans 11 by clicking the desktop icon, nothing
>> visible happens. When I open a command shell and run .\netbeans64.exe from
>> the Netbeans bin directory, I get:
>> <<
>> Error occurred during initialization of boot layer
>> java.lang.module.FindException: Module jdk.jshell not found

>> This happens whether I add --jdkhome "C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot" to the command or not;
>> netbeans.conf has the uncommented correct value.
>>
>> Typing jshell in that directory opens JShell 11.0.4, for whatever that's
>> worth.
>>
>> There is no {user}\AppData\Roaming\Netbeans directory, so no log output to
>> be 

Curious message

2019-09-23 Thread Don

I installed 11.1 and allowed it to use projects created in 11.

Two had issues because they want Java 8 and I was able to resolve that 
in Project|Properties.


The 3rd is a web application and the name of the project has (broken) 
appended to it.  When I right-click and choose the Resolve Problems ... 
option a popup says:


Would also need to enable StandardModule:org.netbeans.modules.web.jsf12 jar
File: 
/home/don/netbeans-11.1/netbeans/enterprise/modules/org-netbeans-modules-web-jsf12.jar 



What does that mean?  What does it want me to do? And why are Properties 
not available?



Don


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans 11 won't launch in Windows 10

2019-09-23 Thread Mark Eggers
I run NetBeans 8.2, NetBeans 11, and NetBeans 11.1 daily on a Windows 10
Professional desktop. I've never had any trouble installing or running
the platforms.

For this mix, here's how I do things.

1. Download OpenJDK 11.0.4 from adoptopenjdk.net

Download the appropriate zip file (64 bit version for me).

2. Unzip it in a reasonable place

I usually put 64 bit code in D:\Programs-x64. This way I don't have
spaces in directory names in case there are legacy issues with spaces on
Windows. I also don't want to clutter up a limited size SSD (I should
really get a larger one).

3. Edit some environment variables

3.a. Add JDK_HOME to point to the location where you unzipped the openjdk
3.b. Add JRE_HOME to point to the location where you unzipped the openjdk

Please note that the location of the server JRE has changed, and it is
now mixed in with the JDK. In short, both java, and javac are in the
same subdirectory (bin).

I set JRE_HOME since Apache Tomcat makes use of that environment
variable if set.

3.c. Edit the PATH environment variable
1. Add %JDK_HOME%\bin to the path
2. Remove any previous JREs from the PATH (for me, %JRE_HOME%\bin)

3. If you have JDK / JRE 8 installed (I do)

Remove C:\Program Files (x86)\Common Files\Oracle\Java\javapath (or
wherever it is) from the path.

4. To verify that everything is installed correctly, open up a
PowerShell Window and type:

4.a. java -version
(you should get the following)
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)

4.b. javac -version
(you should get the following)
javac 11.0.4

4.c jshell
(you should get the following)
|  Welcome to JShell -- Version 11.0.4
|  For an introduction type: /help intro

jshell>

Ctrl-D should exit jshell.

5. Download the Apache NetBeans 11.1 zip file

6. Unzip it somewhere appropriate - I use D:\Programs\Apache

7. Launch the netbeans64.exe file from the directory

I usually tweak the netbeans.conf file for larger fonts, UTF-8, and some
other things. However, that's beyond the scope of these installation
notes. I also add the JDK 8 installation under Tools -> Java Platforms
since I still have projects that require JDK 8 (servlet specification
2.5, sigh).

I hope this gets you running.

. . . . just my two cents
/mde/

On 9/22/2019 5:08 PM, Carl Burke wrote:
> I did as you suggested and unzipped the ZIP file. I get the same error:
> 
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module jdk.jshell not found
> 
> I have never heard of jshell before, but when I'm in the netbeans\bin
> directory I can run it, so it's clearly present in the system.
> It just isn't found by netbeans64.exe.
> 
> 
> - Original Message -
> From: "Geertjan Wielenga" 
> To: "Carl Burke" 
> Cc: "users" 
> Sent: Sunday, September 22, 2019 3:00:15 PM
> Subject: Re: Netbeans 11 won't launch in Windows 10
> 
> Nothing needs to be moved or separated when you use the installer. I’d
> recommend you start from scratch with 11.1, if you’re having problems with
> the installer, unzip the ZIP file instead.
> 
> Gj
> 
> On Sun, 22 Sep 2019 at 20:14, Carl Burke  wrote:
> 
>> I've got a brand new laptop, just installed AdoptOpenJDK 11 and Netbeans
>> 11.1, and Netbeans will not launch in Windows 10 (1809). I have run
>> previous versions of Netbeans on other Windows 10 systems, including with
>> AdoptOpenJDK, but those were with Java 8 and earlier releases of both
>> Netbeans and Windows 10.
>>
>> There were some issues getting the installer to run: since AdoptOpenJDK
>> does not bundle a JRE under the JDK, the JRE had to be moved and renamed
>> from it's separate installation so that the installer would find both the
>> JRE and the JDK. However, after that was done the installer appeared to
>> work fine.
>>
>> When I try to launch Netbeans 11 by clicking the desktop icon, nothing
>> visible happens. When I open a command shell and run .\netbeans64.exe from
>> the Netbeans bin directory, I get:
>> <<
>> Error occurred during initialization of boot layer
>> java.lang.module.FindException: Module jdk.jshell not found

>> This happens whether I add --jdkhome "C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot" to the command or not;
>> netbeans.conf has the uncommented correct value.
>>
>> Typing jshell in that directory opens JShell 11.0.4, for whatever that's
>> worth.
>>
>> There is no {user}\AppData\Roaming\Netbeans directory, so no log output to
>> be had, possibly because the IDE never gets that far.
>>
>> Any suggestions how I might run Netbeans in this version of Windows 10? Do
>> I need to fall back to Java 8 and an earlier Netbeans as well?
>>
>> --
>> Carl Burke
>> cdbu...@his.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>

Re: Netbeans 11 won't launch in Windows 10

2019-09-23 Thread Emilian Bold
Please try CoolBeans from http://coolbeans.xyz/ and see if you have the
same problems.

--emi

lun., 23 sept. 2019, 07:21 Carl Burke  a scris:

> Chuck:
>
> I don't know what to tell you. When I told the Netbeans installer to use
> the JDK, it complained there was no JRE. When I pointed it at the JRE, it
> complained there was no JDK. It was only when I put a 'jre' folder into the
> JDK directory that the installer was happy and ran. I agree, the JDK has a
> jvm.dll in it, I don't have a clue why the installer would not work,
> anymore than I understand why the IDE won't launch without removing JShell
> from the configuration.
>
> It might have been JAVA_HOME; I had to set that manually, and didn't get
> around to that until after installing Netbeans. PATH was updated
> automatically with both JDK and JRE bin directories, but JAVA_HOME was
> never set.
>
> The AdoptOpenJDK distribution does not contain a JRE directory, I don't
> know where you're seeing one.
>
> I'm not going to install 13, it's not the current LTS. I see no reason to
> change versions more frequently than every two years, especially if I want
> to maintain compatibility with my office work (which is still on 8, and
> rarely uses language features later than 6).
>
> Out of curiosity, which version on Windows is on that old Windows box?
> This is Windows 10 Home 1809. It could be differences between Home and Pro,
> or between major releases, or something like that.
>
>
> - Original Message -
> From: "Chuck Davis" 
> Cc: "users" 
> Sent: Sunday, September 22, 2019 11:48:15 PM
> Subject: Re: Netbeans 11 won't launch in Windows 10
>
> Carl:
>
> I just fired up an old Windows 10 box that I turn on every 3 to 4 months to
> test my hypothesis.  Installed like a hot knife through butter.  The only
> glitch might be you have to check @ installation of AdoptOpenJDK 13 to have
> it modify the JAVA_HOME environment variable.  If you miss that (it should
> be the default in my opinion) you might/will have a problem with NB (or
> anything else java related) finding the JDK/JRE.  AdoptOpenJDK DOES have a
> JRE/JVM in it.
>
> On Sun, Sep 22, 2019 at 11:14 AM Carl Burke  wrote:
>
> > I've got a brand new laptop, just installed AdoptOpenJDK 11 and Netbeans
> > 11.1, and Netbeans will not launch in Windows 10 (1809). I have run
> > previous versions of Netbeans on other Windows 10 systems, including with
> > AdoptOpenJDK, but those were with Java 8 and earlier releases of both
> > Netbeans and Windows 10.
> >
> > There were some issues getting the installer to run: since AdoptOpenJDK
> > does not bundle a JRE under the JDK, the JRE had to be moved and renamed
> > from it's separate installation so that the installer would find both the
> > JRE and the JDK. However, after that was done the installer appeared to
> > work fine.
> >
> > When I try to launch Netbeans 11 by clicking the desktop icon, nothing
> > visible happens. When I open a command shell and run .\netbeans64.exe
> from
> > the Netbeans bin directory, I get:
> > <<
> > Error occurred during initialization of boot layer
> > java.lang.module.FindException: Module jdk.jshell not found
> > >>
> > This happens whether I add --jdkhome "C:\Program
> > Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot" to the command or not;
> > netbeans.conf has the uncommented correct value.
> >
> > Typing jshell in that directory opens JShell 11.0.4, for whatever that's
> > worth.
> >
> > There is no {user}\AppData\Roaming\Netbeans directory, so no log output
> to
> > be had, possibly because the IDE never gets that far.
> >
> > Any suggestions how I might run Netbeans in this version of Windows 10?
> Do
> > I need to fall back to Java 8 and an earlier Netbeans as well?
> >
> > --
> > Carl Burke
> > cdbu...@his.com
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: users-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Re: Netbeans 11 won't launch in Windows 10

2019-09-23 Thread Chuck Davis
Carl:

If you install AdoptOpenJDK, go to a command prompt and type "java
-version" and something other than an error message appears you've got a
JRE installed.

All I can tell you is that my experiment last evening worked as smoothly as
anything could be expected to work.  Installing AdoptOpenJDK 13 and  NB
11.1 on Windows10 (which had no prior java installation) works as
expected.  I cannot address the issues you are having with those older
versions of everything.

As for Windows version, I bought it shortly after Windows10 was released
and every time I turn on that box it nearly destroys the hard drive doing
updates.  What level it is at now I don't know and don't care enough to
find out.  I do know it is Pro -- I wouldn't buy anything else.  Home has
had too many problems in the past.

Hope you can find a solution for the issues you are experiencing.  At my
end it all works as designed.

On Sun, Sep 22, 2019 at 9:21 PM Carl Burke  wrote:

> Chuck:
>
> I don't know what to tell you. When I told the Netbeans installer to use
> the JDK, it complained there was no JRE. When I pointed it at the JRE, it
> complained there was no JDK. It was only when I put a 'jre' folder into the
> JDK directory that the installer was happy and ran. I agree, the JDK has a
> jvm.dll in it, I don't have a clue why the installer would not work,
> anymore than I understand why the IDE won't launch without removing JShell
> from the configuration.
>
> It might have been JAVA_HOME; I had to set that manually, and didn't get
> around to that until after installing Netbeans. PATH was updated
> automatically with both JDK and JRE bin directories, but JAVA_HOME was
> never set.
>
> The AdoptOpenJDK distribution does not contain a JRE directory, I don't
> know where you're seeing one.
>
> I'm not going to install 13, it's not the current LTS. I see no reason to
> change versions more frequently than every two years, especially if I want
> to maintain compatibility with my office work (which is still on 8, and
> rarely uses language features later than 6).
>
> Out of curiosity, which version on Windows is on that old Windows box?
> This is Windows 10 Home 1809. It could be differences between Home and Pro,
> or between major releases, or something like that.
>
>
> - Original Message -
> From: "Chuck Davis" 
> Cc: "users" 
> Sent: Sunday, September 22, 2019 11:48:15 PM
> Subject: Re: Netbeans 11 won't launch in Windows 10
>
> Carl:
>
> I just fired up an old Windows 10 box that I turn on every 3 to 4 months to
> test my hypothesis.  Installed like a hot knife through butter.  The only
> glitch might be you have to check @ installation of AdoptOpenJDK 13 to have
> it modify the JAVA_HOME environment variable.  If you miss that (it should
> be the default in my opinion) you might/will have a problem with NB (or
> anything else java related) finding the JDK/JRE.  AdoptOpenJDK DOES have a
> JRE/JVM in it.
>
> On Sun, Sep 22, 2019 at 11:14 AM Carl Burke  wrote:
>
> > I've got a brand new laptop, just installed AdoptOpenJDK 11 and Netbeans
> > 11.1, and Netbeans will not launch in Windows 10 (1809). I have run
> > previous versions of Netbeans on other Windows 10 systems, including with
> > AdoptOpenJDK, but those were with Java 8 and earlier releases of both
> > Netbeans and Windows 10.
> >
> > There were some issues getting the installer to run: since AdoptOpenJDK
> > does not bundle a JRE under the JDK, the JRE had to be moved and renamed
> > from it's separate installation so that the installer would find both the
> > JRE and the JDK. However, after that was done the installer appeared to
> > work fine.
> >
> > When I try to launch Netbeans 11 by clicking the desktop icon, nothing
> > visible happens. When I open a command shell and run .\netbeans64.exe
> from
> > the Netbeans bin directory, I get:
> > <<
> > Error occurred during initialization of boot layer
> > java.lang.module.FindException: Module jdk.jshell not found
> > >>
> > This happens whether I add --jdkhome "C:\Program
> > Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot" to the command or not;
> > netbeans.conf has the uncommented correct value.
> >
> > Typing jshell in that directory opens JShell 11.0.4, for whatever that's
> > worth.
> >
> > There is no {user}\AppData\Roaming\Netbeans directory, so no log output
> to
> > be had, possibly because the IDE never gets that far.
> >
> > Any suggestions how I might run Netbeans in this version of Windows 10?
> Do
> > I need to fall back to Java 8 and an earlier Netbeans as well?
> >
> > --
> > Carl Burke
> > cdbu...@his.com
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: users-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>


Re: Netbeans 11 won't launch in Windows 10

2019-09-23 Thread Neil C Smith
On Mon, 23 Sep 2019, 04:56 Carl Burke,  wrote:

>  Even though the name specifies 'hotspot' for the JVM, neither of those
> JDK distributions contain a jre directory. The JRE is packaged separately
> and requires a separate download
>

No, it does not! The problem is that you've not noticed the structure of
the JDK distribution has changed. Just because there is no JRE folder
doesn't mean you need a separate JRE download.

Best wishes,

Neil

>