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: 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
>>

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

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

>


Re: Netbeans 11 won't launch in Windows 10

2019-09-22 Thread Carl Burke
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-22 Thread Carl Burke
Chuck,

It seems to be true. I downloaded the zip files for both JDK 11 and JDK 13, to 
see exactly what files were included without needing to run any installer 
again. 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 (from the same page, they make it easy to get, 
they just don't follow the original Sun directory structure that the Netbeans 
installer expects.)

Reviewing all of the current releases from AdoptOpenJDK, JDK 8 was the last JDK 
that included a jre folder within the JDK distribution. JDK 9 and higher 
distribute them entirely separately. That's probably a cleaner way to do it, 
only one copy of the JRE instead of two, but it causes a problem for apps that 
depend on a particular directory structure.


- Original Message -
From: "Chuck Davis" 
Cc: "users" 
Sent: Sunday, September 22, 2019 11:03:08 PM
Subject: Re: Netbeans 11 won't launch in Windows 10

Carl:

Can this possibly be true?  I just visited the site and you must choose
which JVM you wish to install.  AdoptOpenJDK would not be used by anyone if
there is no JRE in it.  Sounds to me like your install is screwed-up.  Can
you upgrade to version JDK 13, reinstall NB 11.1 and see what happens?  I
don't work with Windows but I cannot conceive that AdoptOpenJDK would not
have a JRE to make it usable.

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.
>
>

-
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-22 Thread Chuck Davis
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-22 Thread Carl Burke
Thanks, but I'm not going to install and learn Scala just to figure out why 
Netbeans can't find jdk.jshell.

I'm able to get the Netbeans IDE to startup by removing both references to 
JShell from netbeans.conf. It's something I've never used in the past, so I'm 
not going to miss it as long as Netbeans hasn't made it an integral part of the 
infrastructure. If it has, I'm going to have to use Eclipse; not my preferred 
choice, but at least it runs without issue.


- Original Message -
From: "Alonso Del Arte" 
To: "Carl Burke" 
Cc: "users" 
Sent: Sunday, September 22, 2019 10:40:00 PM
Subject: Re: Netbeans 11 won't launch in Windows 10

Not sure if this will help any, but here goes: I would use the Scala REPL
to see if I can get some information about the FindException, like maybe
the stack trace, or maybe a prefiguring cause. Maybe this can be done
through JShell...

Al

On Sun, Sep 22, 2019 at 8: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
> >
> > 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
>
>

-- 
Alonso del Arte
Author at SmashWords.com
<https://www.smashwords.com/profile/view/AlonsoDelarte>
Musician at ReverbNation.com <http://www.reverbnation.com/alonsodelarte>

-
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-22 Thread Chuck Davis
Carl:

Can this possibly be true?  I just visited the site and you must choose
which JVM you wish to install.  AdoptOpenJDK would not be used by anyone if
there is no JRE in it.  Sounds to me like your install is screwed-up.  Can
you upgrade to version JDK 13, reinstall NB 11.1 and see what happens?  I
don't work with Windows but I cannot conceive that AdoptOpenJDK would not
have a JRE to make it usable.

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.
>
>


Re: Netbeans 11 won't launch in Windows 10

2019-09-22 Thread Alonso Del Arte
Not sure if this will help any, but here goes: I would use the Scala REPL
to see if I can get some information about the FindException, like maybe
the stack trace, or maybe a prefiguring cause. Maybe this can be done
through JShell...

Al

On Sun, Sep 22, 2019 at 8: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
> >
> > 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
>
>

-- 
Alonso del Arte
Author at SmashWords.com
<https://www.smashwords.com/profile/view/AlonsoDelarte>
Musician at ReverbNation.com <http://www.reverbnation.com/alonsodelarte>


Re: Netbeans 11 won't launch in Windows 10

2019-09-22 Thread Carl Burke
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
>
> 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-22 Thread Geertjan Wielenga
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
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Netbeans 11 won't launch in Windows 10

2019-09-22 Thread Carl Burke
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