[jira] [Comment Edited] (NETBEANS-2865) Cannot run Netbeans 11 using JDK 11

2020-07-28 Thread B R (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1712#comment-1712
 ] 

B R edited comment on NETBEANS-2865 at 7/28/20, 8:00 PM:
-

I encountered what I think is something very similar to this issue using...

NetBeans Version: 12.0
 O/S: Fedora 32
 Gnome Version: 3.36.4
 Java Version:

openjdk version "14.0.1" 2020-04-14
 OpenJDK Runtime Environment 20.3 (build 14.0.1+7)
 OpenJDK 64-Bit Server VM 20.3 (build 14.0.1+7, mixed mode, sharing)

This Netbeans installation was fresh. Preferences, changes, etc. had all been 
made within this version. The ~/.netbeans folder was not upgraded from a 
previous version.

This installation has been working for several weeks without issue. This issue 
began today as follows:

1.) When I start Netbeans, the splash screen is an empty dark gray box. The 
splash logo, which had been appearing, is no longer present.

2.) After some time (~10-15 seconds) the full NetBeans window opens. The name 
of the last project I had open appears in the window's title bar; but, no 
menus, panels, etc. are present.

3.) What remains is a single, dark gray window that can only be closed by 
clicking the X.

My guess is that I could remove the ~/.netbeans folder and it would start 
working; but, I'd like to get to the bottom of the issue

I have searched my preferences files for null characters using grep but haven't 
found any. I'm not a grep expert, though, so mileage will vary.

I tried adding the --trace command-line parameter to netbeans but it reports 
"Unrecognized option --trace". Did something change in NetBeans 12.0 that 
disabled this?

Does anyone know how I can enable detailed logging of the JVM's work?

Thanks in advance. -Brian


was (Author: chromatic):
I encountered what I think is something very similar to this issue using...

NetBeans Version: 12.0
O/S: Fedora 32
Gnome Version: 3.36.4
Java Version:

openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment 20.3 (build 14.0.1+7)
OpenJDK 64-Bit Server VM 20.3 (build 14.0.1+7, mixed mode, sharing)

This Netbeans installation was fresh. Preferences, changes, etc. had all been 
made within this version. The ~/.netbeans folder was not upgraded from a 
previous version.

This installation has been working for several weeks without issue. This issue 
began today as follows:

1.) When I start Netbeans, the splash screen is an empty dark gray box. The 
splash logo, which had been appearing, is no longer present.

2.) After some time (~10-15 seconds) the full NetBeans window opens. The name 
of the last project I had open appears in the window's title bar; but, no 
menus, panels, etc. are present.

3.) What remains is a single, dark gray window that can only be closed by click 
the X.

My guess is that I could remove the ~/.netbeans folder and it would start 
working; but, I'd like to get to the bottom of the issue

I have searched my preferences files for null characters using grep but haven't 
found any. I'm not a grep expert, though, so mileage will vary.

I tried adding the --trace command-line parameter to netbeans but it reports 
"Unrecognized option --trace". Did something change in NetBeans 12.0 that 
disabled this?

Does anyone know how I can enable detailed logging of the JVM's work?

Thanks in advance. -Brian

> Cannot run Netbeans 11 using JDK 11
> ---
>
> Key: NETBEANS-2865
> URL: https://issues.apache.org/jira/browse/NETBEANS-2865
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 12.0
>Reporter: Hunter Schoonover
>Priority: Major
> Attachments: consoleOutput.txt, netbeans.log
>
>
> Please note that this issue does *NOT* occur with JDK 8.
> Downloaded and installed JDK 11 to C:\Program Files\Java\jdk-11.0.4
> Downloaded and unzipped Netbeans 11 to C:\Program Files\netbeans
> The etc/netbeans.conf file has been edited to set JDK home:
> *netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"*
> When trying to run bin/netbeans64.exe:
>  # *First time:* The loading window appears, loads for a bit, and then the 
> whole program disappears.
>  # *Second time:* Loading window does not appear. An empty Java application 
> appears.
>  # If I go to Task Manager and manually end the Netbeans process, I can get 
> back to step 1.
> Executing netbeans64.exe from PowerShell outputs error messages to the 
> console. They can be found in consoleOutput.txt attachment.
> The results from executing *bin/netbeans64.exe --trace C:\netbeans.log* can 
> be found in netbeans.log attachment.
> For reference, this is the tutorial I followed:
> [https://www.youtube.com/watch?v=cxh-hVty09g]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: c

[jira] [Comment Edited] (NETBEANS-2865) Cannot run Netbeans 11 using JDK 11

2019-07-21 Thread Hunter Schoonover (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16889762#comment-16889762
 ] 

Hunter Schoonover edited comment on NETBEANS-2865 at 7/21/19 8:12 PM:
--

[~vityank]

I figured it out. Take a look at this question on stack overflow:

[https://stackoverflow.com/questions/57084144/cannot-run-apache-netbeans-11-using-jdk-11]


was (Author: hsschoonover):
[~vityank] 

I figured it out. Take a look at this question and stack overflow:

https://stackoverflow.com/questions/57084144/cannot-run-apache-netbeans-11-using-jdk-11

> Cannot run Netbeans 11 using JDK 11
> ---
>
> Key: NETBEANS-2865
> URL: https://issues.apache.org/jira/browse/NETBEANS-2865
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Hunter Schoonover
>Priority: Major
> Attachments: consoleOutput.txt, netbeans.log
>
>
> Please note that this issue does *NOT* occur with JDK 8.
> Downloaded and installed JDK 11 to C:\Program Files\Java\jdk-11.0.4
> Downloaded and unzipped Netbeans 11 to C:\Program Files\netbeans
> The etc/netbeans.conf file has been edited to set JDK home:
> *netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"*
> When trying to run bin/netbeans64.exe:
>  # *First time:* The loading window appears, loads for a bit, and then the 
> whole program disappears.
>  # *Second time:* Loading window does not appear. An empty Java application 
> appears.
>  # If I go to Task Manager and manually end the Netbeans process, I can get 
> back to step 1.
> Executing netbeans64.exe from PowerShell outputs error messages to the 
> console. They can be found in consoleOutput.txt attachment.
> The results from executing *bin/netbeans64.exe --trace C:\netbeans.log* can 
> be found in netbeans.log attachment.
> For reference, this is the tutorial I followed:
> [https://www.youtube.com/watch?v=cxh-hVty09g]
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

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



[jira] [Comment Edited] (NETBEANS-2865) Cannot run Netbeans 11 using JDK 11

2019-07-21 Thread Victor K. (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16889788#comment-16889788
 ] 

Victor K. edited comment on NETBEANS-2865 at 7/21/19 6:55 PM:
--

Thanks but my case differs, NetBeans loads with blank window only on JDK 
11(Works with JDK 10 and below), not loads with cache and profile 
removed(/home/user/.netbeans/dev, /home/user/.cache/netbeans/dev). Only forgot 
to mention that my build is for JS/PHP.

Also:

I always have a loading screen with a NB logo - The main window loads black.

The same problem happens with base NB build(built using classic JDK-8) and 
JDK-11 build(With some own patches, because vanilla NB doesn't build). Also 
there are no any special diffs between normal launch logs and bad launch 
logs(And no {{IllegalArgumentException}} exceptions - Exceptions/Warning/Errors 
was the first things I've checked).

 

Hmmm... I have a clue.. Possibly this is related to my custom cluster 
configuration used for building(Having only Java+PHP preset). NB team added new 
entry nb.cluster.3rdparty into Java cluster and according to 
[https://github.com/apache/netbeans/pull/917/files], this module provides the 
JavaFX then JRE/JDK 11 is used! Checked - Still same problem with 
nb.cluster.3rdparty.


was (Author: vityank):
Thanks but my case differs, NetBeans loads with blank window only on JDK 
11(Works with JDK 10 and below), not loads with cache and profile 
removed(/home/user/.netbeans/dev, /home/user/.cache/netbeans/dev). Only forgot 
to mention that my build is for JS/PHP.

Also:

I always have a loading screen with a NB logo - The main window loads black.

The same problem happens with base NB build(built using classic JDK-8) and 
JDK-11 build(With some own patches, because vanilla NB doesn't build). Also 
there are no any special diffs between normal launch logs and bad launch 
logs(And no {{IllegalArgumentException}} exceptions - Exceptions/Warning/Errors 
was the first things I've checked).

 

Hmmm... I have a clue.. Possibly this is related to my custom cluster 
configuration used for building(Having only Java+PHP preset). NB team added new 
entry nb.cluster.3rdparty into Java cluster and according to 
[https://github.com/apache/netbeans/pull/917/files], this module provides the 
JavaFX then JRE/JDK 11 is used! I'll adjust my cluster config and recheck.

> Cannot run Netbeans 11 using JDK 11
> ---
>
> Key: NETBEANS-2865
> URL: https://issues.apache.org/jira/browse/NETBEANS-2865
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Hunter Schoonover
>Priority: Major
> Attachments: consoleOutput.txt, netbeans.log
>
>
> Please note that this issue does *NOT* occur with JDK 8.
> Downloaded and installed JDK 11 to C:\Program Files\Java\jdk-11.0.4
> Downloaded and unzipped Netbeans 11 to C:\Program Files\netbeans
> The etc/netbeans.conf file has been edited to set JDK home:
> *netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4"*
> When trying to run bin/netbeans64.exe:
>  # *First time:* The loading window appears, loads for a bit, and then the 
> whole program disappears.
>  # *Second time:* Loading window does not appear. An empty Java application 
> appears.
>  # If I go to Task Manager and manually end the Netbeans process, I can get 
> back to step 1.
> Executing netbeans64.exe from PowerShell outputs error messages to the 
> console. They can be found in consoleOutput.txt attachment.
> The results from executing *bin/netbeans64.exe --trace C:\netbeans.log* can 
> be found in netbeans.log attachment.
> For reference, this is the tutorial I followed:
> [https://www.youtube.com/watch?v=cxh-hVty09g]
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

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