RE: Icons displayed for Netbeans Platform application on MacOS

2019-11-07 Thread Joseph Huber
Further testing...

As it was easy enough, I modified the shell script in "bin" and took out the 
extra "../" from the line discussed below, and removed the -J-Xdock:icon tag 
from the default_options property in myapp.conf.  The dock icon behaves as 
expected.  So, I guess the question is whether the shell script line is wrong, 
or whether the NetBeans code that builds the Mac Installer is storing the icon 
in the wrong place. A Mac OS expert will have to answer that.

Getting the dock icon set properly also has an interesting effect on the Aqua 
LAF (NetBeans default for Mac OS).  In the DialogDisplayer/NotifyDescriptor 
dialog boxes, the branding icon is shown, where in the other LAFs, the 
question, info, etc. icons are shown.  Previous to getting the dock icon set 
properly, the generic java icon was shown in those dialog boxes for the Aqua 
LAF.  

Another question would be why the Aqua LAF uses the branding icon in the 
DialogDisplayer/NotfifyDescriptor dialog boxes instead of the question, info 
etc. icons that are used in the other LAFs.  Is this something prescribed by 
Mac OS?

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
jhu...@stanref.com


-Original Message-
From: Joseph Huber  
Sent: Thursday, November 7, 2019 11:41 AM
To: users@netbeans.apache.org
Subject: RE: Icons displayed for Netbeans Platform application on MacOS

From: Neil C Smith 
> Reminds me that those dock icon and name arguments are set in the launcher 
> already
> https://github.com/apache/netbeans/blob/master/harness/apisupport.harness/release/launchers/app.sh#L120
 >  Shows where it, by default, is looking for the icon.  Be good if the dock 
 > name could be set separately to ${APPNAME} there though.

The referenced shell script line is below:

'"-J-Xdock:icon=$progdir/../../$APPNAME.icns"'

In looking at the launcher shell script, it seems that $progdir is supposed to 
be the bin folder, where the launcher shell script is.  If that is the case, it 
does not seem that the above command from the shell script will work with the 
way the NetBeans Mac installer is making the program distribution.  
$APPNAME.icns is only one level above $progdir.  If you want to go two levels 
above $progdir, you would need to use icon.icns instead of $APPNAME.icns.  
icons.icns is just a symbolic link to $APPNAME.icns.

That is probably why the dock icon changes to a generic java icon when the 
program starts if the -J-Xdock:icon option is not used provide the explicit 
location of the icon, because the launcher can't find the dock icon specified 
internally.

I have included a screen shot of the file layout produced by the NetBeans Mac 
installer.  Ignore the PNG files...I copied those in there 
manually...everything else is as the NetBeans Mac installer created it.

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
jhu...@stanref.com



Re: NetBeans java minimum requirements

2019-11-07 Thread Gustavo Castro
Product Version: Apache NetBeans IDE 11.2
Java: 1.8.0_232; OpenJDK 64-Bit Server VM 25.232-b09
Runtime: OpenJDK Runtime Environment 1.8.0_232-8u232-b09-1-b09
System: Linux version 5.3.0-1-amd64 running on amd64; UTF-8; es_NI (nb)

Apache NetBeans IDE 11.2 run on jdk 8 and support jdk 13
The highlights of enhancements in the Java area are focused on support for
JDK 13. 


El jue., 7 nov. 2019 a las 11:29, Leo Donahue ()
escribió:

> If I click on Tools | Options and then on the Java tab.. all of the menus
> and menu items load up.
>
> On Thu, Nov 7, 2019 at 12:26 PM Leo Donahue  wrote:
>
>> This is a fork of the "How to bypass a local certificate problem" thread
>> response and a possible bug report.
>>
>> Could we show a note here to illustrate the minimum jdk requirements for
>> the current NetBeans release?  I know NetBeans 11.2 targets jdk13.
>> https://netbeans.apache.org/download/nb112/index.html#_notes
>>
>> On Thu, Nov 7, 2019 at 11:09 AM Neil C Smith 
>> wrote:
>>
>>> On Thu, 7 Nov 2019 at 16:04, Leo Donahue  wrote:
>>> >  I did have to switch Look & Feel to Nimbus because the GTK+ has the
>>> "Project, Files and Services tabs" all chopped off except the very tops.
>>>
>>> That one is curious.  Have you opened a bug for it?  No problem with
>>> GTK+ here on Ubuntu 18.04 with AdoptOpenJDK 11.  Be good to figure out
>>> what breaks it.  Are you using Debian packaged OpenJDK, because if
>>> it's anything like the Ubuntu downstream it's a bit of a mess!
>>>
>>> I may have grabbed the wrong  from too many vm windows being
>> opened when I quoted my jdk version.
>>
>> leo@debvmw01:~$ lsb_release -a
>> No LSB modules are available.
>> Distributor ID: Debian
>> Description: Debian GNU/Linux 9.11 (stretch)
>> Release: 9.11
>> Codename: stretch
>> leo@debvmw01:~$ uname -mrs
>> Linux 4.9.0-11-amd64 x86_64
>> leo@debvmw01:~$
>>
>> For Linux users:
>> Depending on your version (like Debian Stretch) and your
>> /etc/apt/sources.list, if you take the defaults for stretch main, your
>> default jdk will be 1.8 (Buster defaults to jdk11)
>>
>> I let Stretch have the default openjdk 1.8 and I download other jdks into
>> /opt/jdk and then configure alternatives.
>>
>> I have an old 11.0.1 openjdk installed in /opt/jdk that you can get from
>> here:
>> https://jdk.java.net/archive/  (it was new at the time)
>>
>> leo@debvmw01:~$ java -version
>> openjdk version "11.0.1" 2018-10-16
>> OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
>> OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
>> leo@debvmw01:~$ sudo update-alternatives --config javac
>> [sudo] password for leo:
>> There are 3 choices for the alternative javac (providing /usr/bin/javac).
>>
>>   SelectionPath Priority
>> Status
>> 
>>   0/usr/lib/jvm/java-8-openjdk-amd64/bin/javac   1081
>>  auto mode
>> * 1/opt/jdk/jdk-11.0.1/bin/javac 100
>> manual mode
>>   2/opt/jdk/jdk1.8.0_191/bin/javac   100
>> manual mode
>>   3/usr/lib/jvm/java-8-openjdk-amd64/bin/javac   1081
>>  manual mode
>>
>> Press  to keep the current choice[*], or type selection number: ^C
>> leo@debvmw01:~$
>>
>> Currently no 11.2 directory in: /home/leo/.netbeans
>>
>> When I launch NetBeans 11.2 from the bin directory: sh netbeans
>>
>> The terminal window displays:
>> leo@debvmw01:~/applications/netbeans-11.2-bin/netbeans/bin$ sh netbeans
>> Gtk-Message: Failed to load module "canberra-gtk-module"
>> WARNING: An illegal reflective access operation has occurred
>> WARNING: Illegal reflective access by
>> org.netbeans.swing.plaf.gtk.ThemeValue
>> (jar:file:/home/leo/applications/netbeans-11.2-bin/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/)
>> to method
>> javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType)
>> WARNING: Please consider reporting this to the maintainers of
>> org.netbeans.swing.plaf.gtk.ThemeValue
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflective access operations
>> WARNING: All illegal access operations will be denied in a future release
>>
>> At this point, the "Project | Files | Services" tabs are completely
>> visible, so I must have forgotten to change my java alternative to jdk 11.
>>
>> I install the following plugins:
>>
>> *JavaFX Implementation for Linux* [13.1]
>> *The nb-javac Java editing support library* [2.0]
>>
>>
>> Restart NetBeans
>>
>> I get the same terminal message as before.
>>
>>
>> However, now I have limited menus and menu items.
>>
>> [image: image.png]
>>
>


RE: Icons displayed for Netbeans Platform application on MacOS

2019-11-07 Thread Joseph Huber
From: Neil C Smith 
> Reminds me that those dock icon and name arguments are set in the launcher 
> already
> https://github.com/apache/netbeans/blob/master/harness/apisupport.harness/release/launchers/app.sh#L120
 >  Shows where it, by default, is looking for the icon.  Be good if the dock 
 > name could be set separately to ${APPNAME} there though.

The referenced shell script line is below:

'"-J-Xdock:icon=$progdir/../../$APPNAME.icns"'

In looking at the launcher shell script, it seems that $progdir is supposed to 
be the bin folder, where the launcher shell script is.  If that is the case, it 
does not seem that the above command from the shell script will work with the 
way the NetBeans Mac installer is making the program distribution.  
$APPNAME.icns is only one level above $progdir.  If you want to go two levels 
above $progdir, you would need to use icon.icns instead of $APPNAME.icns.  
icons.icns is just a symbolic link to $APPNAME.icns.

That is probably why the dock icon changes to a generic java icon when the 
program starts if the -J-Xdock:icon option is not used provide the explicit 
location of the icon, because the launcher can't find the dock icon specified 
internally.

I have included a screen shot of the file layout produced by the NetBeans Mac 
installer.  Ignore the PNG files...I copied those in there 
manually...everything else is as the NetBeans Mac installer created it.

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
jhu...@stanref.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 java minimum requirements

2019-11-07 Thread Leo Donahue
This is a fork of the "How to bypass a local certificate problem" thread
response and a possible bug report.

Could we show a note here to illustrate the minimum jdk requirements for
the current NetBeans release?  I know NetBeans 11.2 targets jdk13.
https://netbeans.apache.org/download/nb112/index.html#_notes

On Thu, Nov 7, 2019 at 11:09 AM Neil C Smith  wrote:

> On Thu, 7 Nov 2019 at 16:04, Leo Donahue  wrote:
> >  I did have to switch Look & Feel to Nimbus because the GTK+ has the
> "Project, Files and Services tabs" all chopped off except the very tops.
>
> That one is curious.  Have you opened a bug for it?  No problem with
> GTK+ here on Ubuntu 18.04 with AdoptOpenJDK 11.  Be good to figure out
> what breaks it.  Are you using Debian packaged OpenJDK, because if
> it's anything like the Ubuntu downstream it's a bit of a mess!
>
> I may have grabbed the wrong  from too many vm windows being
opened when I quoted my jdk version.

leo@debvmw01:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.11 (stretch)
Release: 9.11
Codename: stretch
leo@debvmw01:~$ uname -mrs
Linux 4.9.0-11-amd64 x86_64
leo@debvmw01:~$

For Linux users:
Depending on your version (like Debian Stretch) and your
/etc/apt/sources.list, if you take the defaults for stretch main, your
default jdk will be 1.8 (Buster defaults to jdk11)

I let Stretch have the default openjdk 1.8 and I download other jdks into
/opt/jdk and then configure alternatives.

I have an old 11.0.1 openjdk installed in /opt/jdk that you can get from
here:
https://jdk.java.net/archive/  (it was new at the time)

leo@debvmw01:~$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
leo@debvmw01:~$ sudo update-alternatives --config javac
[sudo] password for leo:
There are 3 choices for the alternative javac (providing /usr/bin/javac).

  SelectionPath Priority
Status

  0/usr/lib/jvm/java-8-openjdk-amd64/bin/javac   1081  auto
mode
* 1/opt/jdk/jdk-11.0.1/bin/javac 100
manual mode
  2/opt/jdk/jdk1.8.0_191/bin/javac   100
manual mode
  3/usr/lib/jvm/java-8-openjdk-amd64/bin/javac   1081
 manual mode

Press  to keep the current choice[*], or type selection number: ^C
leo@debvmw01:~$

Currently no 11.2 directory in: /home/leo/.netbeans

When I launch NetBeans 11.2 from the bin directory: sh netbeans

The terminal window displays:
leo@debvmw01:~/applications/netbeans-11.2-bin/netbeans/bin$ sh netbeans
Gtk-Message: Failed to load module "canberra-gtk-module"
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.netbeans.swing.plaf.gtk.ThemeValue
(jar:file:/home/leo/applications/netbeans-11.2-bin/netbeans/platform/modules/org-netbeans-swing-plaf.jar!/)
to method
javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType)
WARNING: Please consider reporting this to the maintainers of
org.netbeans.swing.plaf.gtk.ThemeValue
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release

At this point, the "Project | Files | Services" tabs are completely
visible, so I must have forgotten to change my java alternative to jdk 11.

I install the following plugins:

*JavaFX Implementation for Linux* [13.1]
*The nb-javac Java editing support library* [2.0]


Restart NetBeans

I get the same terminal message as before.


However, now I have limited menus and menu items.

[image: image.png]


Re: Darcula plugin

2019-11-07 Thread Emiliano Armellin
Yes it works but is not perfect for me, especially in the colors used in 
the suggestions popups:




does it also happen to you?

*
*

*
*

*Emiliano Armellin
*

*
*

*
*

*
*

**l 7/11/19 17:43, Raymond, Craig A (US) ha scritto:


Thanks all, I got it installed successfully.

Craig Raymond

*From:*Jose Ch 
*Sent:* Thursday, November 7, 2019 11:32 AM
*To:* Gustavo Castro 
*Cc:* users@netbeans.apache.org
*Subject:* Re: Darcula plugin

 **WARNING **
EXTERNAL EMAIL -- This message originates from outside our organization.

You can find it in:

http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans

Regards.

Jose Contreras

El jue., 7 nov. 2019 a las 10:29, Gustavo Castro (>) escribió:


Does anyone know if the Darcula plugin works with NetBeans 11.2?
 yes


If yes, where can I place the .nbm file?

add pluginsimagen.png

Image removed by sender.

El jue., 7 nov. 2019 a las 6:27, Raymond, Craig A (US)
(mailto:craig.raym...@baesystems.com>>) escribió:

Does anyone know if the Darcula plugin works with NetBeans 11.2?

I see it was updated for 11, but it doesn’t show up in Tools
-> Plugins -> Available Plugins.

If yes, where can I place the .nbm file?

Craig Raymond





Re: Icons displayed for Netbeans Platform application on MacOS

2019-11-07 Thread Neil C Smith
On Thu, 7 Nov 2019 at 16:12, Joseph Huber  wrote:
> -J-Xdock:icon=/Applications/${APPNAME}.app/Contents/Resources/icon.icns
> -J-Xdock:name=\"ProSuite NA\""
...
> I have also been searching for some documentation on the list of variables 
> (like ${HOME} and ${APPNAME}) that are supported in the myapp.conf file, but 
> I haven't been able to find one.

Reminds me that those dock icon and name arguments are set in the
launcher already
https://github.com/apache/netbeans/blob/master/harness/apisupport.harness/release/launchers/app.sh#L120
 Shows where it, by default, is looking for the icon.  Be good if the
dock name could be set separately to ${APPNAME} there though.

Also you can see where ${APPNAME} comes from in that file.  the .conf
file is just a sourced script.  ${HOME} is a standard environment
variable, part of posix standard as far as I know.

Best wishes,

Neil

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

2019-11-07 Thread Gustavo Castro
Does anyone know if the Darcula plugin works with NetBeans 11.2?
 yes





If yes, where can I place the .nbm file?
add plugins[image: imagen.png]

El jue., 7 nov. 2019 a las 6:27, Raymond, Craig A (US) (<
craig.raym...@baesystems.com>) escribió:

> Does anyone know if the Darcula plugin works with NetBeans 11.2?
>
>
>
> I see it was updated for 11, but it doesn’t show up in Tools -> Plugins ->
> Available Plugins.
>
>
>
> If yes, where can I place the .nbm file?
>
>
>
> Craig Raymond
>
>
>


RE: How to bypass a local certificate problem

2019-11-07 Thread Raymond, Craig A (US)
Thanks, I wish I had to capability of doing any repair work on these boxes, but 
I’m not allowed.

I was able to dl the 1.72 version from the netbeans.org plugin site, which 
fixed up the “navigator” panel for our Java code.  And I’ve submitted an 
internal ticket to resolve the cert issues.

Craig Raymond
Programmer Analyst Principal
ESS-IT
Intelligence & Security
BAE Systems, Inc.

T: +1 607 770 2349 |  M: +1 607 221 1421  |  E: 
craig.raym...@baesystems.com
1098 Clark St., Bldg 46-2 F47, Endicott, New York, 13760, United States
www.baesystems.com

Connect with BAE Systems: [cid:image003.png@01CFE23B.B59CE560] 
 [cid:image001.png@01CFE23B.B59CE560] 
 [cid:image002.png@01CFE23B.B59CE560] 
 
[cid:image004.png@01CFE23B.B59CE560] 


From: Leo Donahue 
Sent: Thursday, November 7, 2019 11:04 AM
To: Raymond, Craig A (US) 
Cc: users@netbeans.apache.org
Subject: Re: How to bypass a local certificate problem

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.

Apologies for going back to this thread, but my Gmail is not grouping this 
conversation very well.

On Wed, Nov 6, 2019 at 7:37 AM Raymond, Craig A (US) 
mailto:craig.raym...@baesystems.com>> wrote:
I’ve download 11.2 (zip file) and during startup it attempts to download 
specific files, for example:

https://hg.netbeans.org/binaries/344C8C2A8B421A52ABE725A677BF75659C17FEB6-nb-javac-13-impl.jar

It fails to connect on the Linux box I am working on, and Firefox on that box 
states the web site has security issues.  I can download from my Windows 
machine successfully.

Craig Raymond


 Based on the other replies in this thread, you want to run NetBeans 11.2 on 
RHEL but it won't download the nb-javac-13-impl.jar - is that the basic issue?

You can compare the the cacerts files on each machine and determine if 
something is different by running the keytool command.

On debian 9.11 stretch linux, with the default openjdk version "1.8.0_232" 
installed via apt:
keytool -list -v -keystore /etc/ssl/certs/java/cacerts

That command will ask you for the keystore password.  The default password is: 
changeit, but if your system admins "have" changed it, you might as well just 
have them install the cert.

It seems like you should have this cert already:  digicert_global_root_g2.pem

BTW, Debian Linux 4.9.0-11-amd64 x86_64 with jdk-11.0.1 will launch NetBeans 
11.2 and I was able to add the " The nb-javac Java editing support library 
[2.0]" without any issues.  I did have to switch Look & Feel to Nimbus because 
the GTK+ has the "Project, Files and Services tabs" all chopped off except the 
very tops.



RE: Icons displayed for Netbeans Platform application on MacOS

2019-11-07 Thread Joseph Huber
From: Andreas Ernst 
> I use this, i start my App at the moment from the Project/bin
>
> default_options="--branding tachyon -J-Xms256m -J-Xmx256m 
> -J-Dapple.laf.useScreenMenuBar=true
> -J-Dapple.awt.graphics.UseQuartz=true
> -J-Xdock:icon=$progdir/../$APPNAME/applicationIcon.icns
> -J-Xdock:name=Tachyon"
>
> The icon is not shown, and the dock name is still java.
> Maybe you can investigate a little bit.

I have made some progress.  In the myapp.conf file, I have the following 
setting:

default_options="--branding prosuitena
-J-Xms512m -J-Xmx1024m
-J-Dsun.java2d.d3d=false
-J-Xdock:icon=/Applications/${APPNAME}.app/Contents/Resources/icon.icns
-J-Xdock:name=\"ProSuite NA\""

I was able to successfully set the dock icon and prevent it from changing to 
the generic java icon with the above -J-Xdock:icon setting.

The above -J-Xdoc:name option does not change the name that pops up when the 
mouse hovers over the app icon in the dock, but IT DOES change the name shown 
beside the apple icon in the Finder menu at the top of the screen.

I have also been searching for some documentation on the list of variables 
(like ${HOME} and ${APPNAME}) that are supported in the myapp.conf file, but I 
haven't been able to find one.

Also, Apple now states that the PNG format should be used instead of ICNS.  I 
copied PNGs into my app and modified the settings to use them, and they do work 
in 10.15 Catalina.
https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/

Again, this is all with Netbeans 8.2 with OpenJDK 8u212-b04.

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
jhu...@stanref.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: How to bypass a local certificate problem

2019-11-07 Thread Neil C Smith
On Thu, 7 Nov 2019 at 16:04, Leo Donahue  wrote:
>  I did have to switch Look & Feel to Nimbus because the GTK+ has the 
> "Project, Files and Services tabs" all chopped off except the very tops.

That one is curious.  Have you opened a bug for it?  No problem with
GTK+ here on Ubuntu 18.04 with AdoptOpenJDK 11.  Be good to figure out
what breaks it.  Are you using Debian packaged OpenJDK, because if
it's anything like the Ubuntu downstream it's a bit of a mess!

Best wishes,

Neil

-
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: How to bypass a local certificate problem

2019-11-07 Thread Leo Donahue
Apologies for going back to this thread, but my Gmail is not grouping this
conversation very well.

On Wed, Nov 6, 2019 at 7:37 AM Raymond, Craig A (US) <
craig.raym...@baesystems.com> wrote:

> I’ve download 11.2 (zip file) and during startup it attempts to download
> specific files, for example:
>
>
>
>
> https://hg.netbeans.org/binaries/344C8C2A8B421A52ABE725A677BF75659C17FEB6-nb-javac-13-impl.jar
>
>
>
> It fails to connect on the Linux box I am working on, and Firefox on that
> box states the web site has security issues.  I can download from my
> Windows machine successfully.
>
>
>
> Craig Raymond
>
>
>

 Based on the other replies in this thread, you want to run NetBeans 11.2
on RHEL but it won't download the nb-javac-13-impl.jar - is that the basic
issue?

You can compare the the cacerts files on each machine and determine if
something is different by running the keytool command.

On debian 9.11 stretch linux, with the default openjdk version "1.8.0_232"
installed via apt:
keytool -list -v -keystore /etc/ssl/certs/java/cacerts

That command will ask you for the keystore password.  The default password
is: changeit, but if your system admins "have" changed it, you might as
well just have them install the cert.

It seems like you should have this cert
already:  digicert_global_root_g2.pem

BTW, Debian Linux 4.9.0-11-amd64 x86_64 with jdk-11.0.1 will
launch NetBeans 11.2 and I was able to add the " *The nb-javac Java editing
support library* [2.0]" without any issues.  I did have to switch Look &
Feel to Nimbus because the GTK+ has the "Project, Files and Services tabs"
all chopped off except the very tops.


Re: How to bypass a local certificate problem

2019-11-07 Thread Emilian Bold
It's your choice if you need those 3rd party plugins, but I would be
curious what an investigation of those certificate issues would
conclude. Maybe RHEL just doesn't have that CA certificate? Or is it
something more subtle?

--emi

On Thu, Nov 7, 2019 at 3:51 PM Raymond, Craig A (US)
 wrote:
>
> Sorry to continue this, but I'm wondering if I should try to get the local 
> folks to fix the certificates on our Linux boxes to get these "Third Party 
> Plugins"?
>
> Craig Raymond
>
> -Original Message-
> From: Raymond, Craig A (US)
> Sent: Wednesday, November 6, 2019 2:00 PM
> To: 'Neil C Smith' 
> Cc: Emilian Bold ; users@netbeans.apache.org
> Subject: RE: How to bypass a local certificate problem
>
> Disabling Third-party did get things going, and based on the link below it 
> may be a good thing.
>
> Thanks for the help, sincerely appreciated.
>
> Craig Raymond
>
>
> -Original Message-
> From: Neil C Smith 
> Sent: Wednesday, November 6, 2019 1:09 PM
> To: Raymond, Craig A (US) 
> Cc: Emilian Bold ; users@netbeans.apache.org
> Subject: Re: How to bypass a local certificate problem
>
> *** WARNING ***
> EXTERNAL EMAIL -- This message originates from outside our organization.
>
>
> On Wed, 6 Nov 2019 at 17:50, Raymond, Craig A (US) 
>  wrote:
> > Firefox (60.8.0esr, 64-biy RHEL 7) error:
> > Your connection is not secure
>
> Guessing that's an old Firefox or OS issue.  Fine here with FF 70 on latest 
> Ubuntu LTS, so something in that bug Emi linked too!
>
> In the interim, you could disable the Third-party libraries update centre in 
> Tools / Plugins / Settings which will give you the older nb-javac from the 
> plugin portal.  Not a bad idea while there's a known issue with the updated 
> nb-javac - see
> https://github.com/apache/netbeans/pull/1604
>
> Or run without nb-javac at all if you're on 11+.  Apart from the nagging 
> notification, it's working quite well for me.
>
> Incidentally, hg.netbeans.org should be the backup link AFAIK?!
>
> Best wishes,
>
> Neil
>
> -
> 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: How to bypass a local certificate problem

2019-11-07 Thread Raymond, Craig A (US)
Sorry to continue this, but I'm wondering if I should try to get the local 
folks to fix the certificates on our Linux boxes to get these "Third Party 
Plugins"?

Craig Raymond 

-Original Message-
From: Raymond, Craig A (US) 
Sent: Wednesday, November 6, 2019 2:00 PM
To: 'Neil C Smith' 
Cc: Emilian Bold ; users@netbeans.apache.org
Subject: RE: How to bypass a local certificate problem

Disabling Third-party did get things going, and based on the link below it may 
be a good thing.

Thanks for the help, sincerely appreciated.

Craig Raymond


-Original Message-
From: Neil C Smith  
Sent: Wednesday, November 6, 2019 1:09 PM
To: Raymond, Craig A (US) 
Cc: Emilian Bold ; users@netbeans.apache.org
Subject: Re: How to bypass a local certificate problem

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.


On Wed, 6 Nov 2019 at 17:50, Raymond, Craig A (US) 
 wrote:
> Firefox (60.8.0esr, 64-biy RHEL 7) error:
> Your connection is not secure

Guessing that's an old Firefox or OS issue.  Fine here with FF 70 on latest 
Ubuntu LTS, so something in that bug Emi linked too!

In the interim, you could disable the Third-party libraries update centre in 
Tools / Plugins / Settings which will give you the older nb-javac from the 
plugin portal.  Not a bad idea while there's a known issue with the updated 
nb-javac - see
https://github.com/apache/netbeans/pull/1604

Or run without nb-javac at all if you're on 11+.  Apart from the nagging 
notification, it's working quite well for me.

Incidentally, hg.netbeans.org should be the backup link AFAIK?!

Best wishes,

Neil

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

2019-11-07 Thread Raymond, Craig A (US)
Thanks,
Installed manually and it seems to be working OK.  Appreciate the help.

Craig Raymond
Programmer Analyst Principal
ESS-IT
Intelligence & Security
BAE Systems, Inc.

T: +1 607 770 2349 |  M: +1 607 221 1421  |  E: 
craig.raym...@baesystems.com
1098 Clark St., Bldg 46-2 F47, Endicott, New York, 13760, United States
www.baesystems.com

Connect with BAE Systems: [cid:image003.png@01CFE23B.B59CE560] 
 [cid:image001.png@01CFE23B.B59CE560] 
 [cid:image002.png@01CFE23B.B59CE560] 
 
[cid:image004.png@01CFE23B.B59CE560] 


From: Geertjan Wielenga 
Sent: Thursday, November 7, 2019 7:50 AM
To: Raymond, Craig A (US) 
Cc: users@netbeans.apache.org
Subject: Re: Darcula plugin

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.

You can get it from plugins.netbeans.org and use 
the Plugin Manager under the Tools menu to install it.

Gj

On Thu, Nov 7, 2019 at 1:27 PM Raymond, Craig A (US) 
mailto:craig.raym...@baesystems.com>> wrote:
Does anyone know if the Darcula plugin works with NetBeans 11.2?

I see it was updated for 11, but it doesn’t show up in Tools -> Plugins -> 
Available Plugins.

If yes, where can I place the .nbm file?

Craig Raymond



Re: Darcula plugin

2019-11-07 Thread Geertjan Wielenga
You can get it from plugins.netbeans.org and use the Plugin Manager under
the Tools menu to install it.

Gj

On Thu, Nov 7, 2019 at 1:27 PM Raymond, Craig A (US) <
craig.raym...@baesystems.com> wrote:

> Does anyone know if the Darcula plugin works with NetBeans 11.2?
>
>
>
> I see it was updated for 11, but it doesn’t show up in Tools -> Plugins ->
> Available Plugins.
>
>
>
> If yes, where can I place the .nbm file?
>
>
>
> Craig Raymond
>
>
>


Darcula plugin

2019-11-07 Thread Raymond, Craig A (US)
Does anyone know if the Darcula plugin works with NetBeans 11.2?

I see it was updated for 11, but it doesn't show up in Tools -> Plugins -> 
Available Plugins.

If yes, where can I place the .nbm file?

Craig Raymond



Re: Netbeans can't find Classes with main function

2019-11-07 Thread Geertjan Wielenga
You could right-click one of the classes to run it or you could go to the
Project Properties dialog and see a main class to be run there.

It's impossible to reproduce your problem with the info you've provided so
far, if you want further help, make a project with the problem available on
GitHub and send the link here and then someone can take a look at it.

Gj


On Wed, Nov 6, 2019 at 8:07 PM Farouk Alhassan 
wrote:

> Sorry, GJ,
> I meant since we moved to Java 11.
>
> Either way this is an issue with Java 11.04 and Netbeans 11.2
>
> Any ideas what could be the cause? It was an issue in 11.01 too.
>
> Regards
> Farouk A
>
> On Wed, 6 Nov 2019, 17:05 Geertjan Wielenga,  wrote:
>
>> Looks like there are syntax errors. With Java 8, you can’t have been
>> using module-info.java.
>>
>> Gj
>>
>> On Wed, 6 Nov 2019 at 17:59, Farouk Alhassan 
>> wrote:
>>
>>> I have this error whenever I try to run a project in Netbeans 11 and
>>> Java 11. Wasn't an issue with java 8.
>>>
>>> Even though there are classes with main functions, netbeans cannot find
>>> them
>>>
>>> [image: image.png]
>>>
>>