Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-22 Thread Brad K.
Happy to report that 13 rc-1 appears to solve the offline nb-javac 
problem for me. I was able to do all the things I expected in my offline 
instance of Windows.


Thanks! Now to get our security gonks to allow us to use it. ;)

On 1/21/2022 10:11 PM, Geertjan Wielenga wrote:

No, that is what you’re going to be doing.

Thanks,

Gj

On Sat, 22 Jan 2022 at 03:15, Brad K. > wrote:


Gj --

I'd be happy to.

Could you please verify that the procedure I'm performing (see a
previous post in this thread) should work?

Thanks!

Brad

On 1/21/2022 1:56 AM, Geertjan Wielenga wrote:
 > Brad,
 >
 > Please find the recent thread by Neil "[NOTICE] Apache NetBeans 13
 > release candidate 1 available for testing".
 >
 > Download the rc-1 and see if that solves your problem.
 >
 > We need feedback on this, please, not after the release is done, but
 > now, before the release, so that we can fix what needs fixing.
 >
 > Gj
 >
 > On Sun, Jan 16, 2022 at 9:23 PM Michael Bien mailto:mbie...@gmail.com>
 > >> wrote:
 >
 >     filing an issue would be pointless since as Geerjan already
mentioned,
 >     the next version will have nb-javac installed by default - so
you could
 >     close that issue right away.
 >
 >     Several options, like for example: upgrading the JDK itself
(which
 >     would
 >     be the easiest) were already provided.
 >
 >     best regards,
 >
 >     michael
 >
 >
 >     On 16.01.22 20:18, Brad K. wrote:
 >      > So, anyone have any idea what I'm doing wrong? (See my
previous post
 >      > -- can't figure out how to reply to my own post and have
it actually
 >      > show up on the list.)
 >      >
 >      > If I'm not doing anything wrong, should I open a bug/issue?
 >      >
 >      > Thanks,
 >      >
 >      > BK
 >      >
 >      > On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
 >      >> You’ll have to provide complete instructions, step by
step, for
 >      >> someone to reproduce the situation.
 >      >>
 >      >> Gj
 >      >>
 >      >> On Fri, 31 Dec 2021 at 20:41, Brad K. mailto:zel...@gmail.com>
 >     >
 >      >> 
      >>
 >      >>     I have no choice in the Java version; as I said, I'm
working
 >     for the
 >      >>     gov't and they have to decide to move forward; I have
no say
 >     in the
 >      >>     matter.
 >      >>
 >      >>     As for nb-javac, I'm struggling here.
 >      >>
 >      >>     Could you point me to the correct link/location for
the correct
 >      >>     "nb-javac" to download?
 >      >>
 >      >>     I can't get Netbeans to quit asking me to install
nb-javac on my
 >      >>     network
 >      >>     disconnected Windows installation even after
installing the
 >     plugin.
 >      >>
 >      >>     Thanks,
 >      >>
 >      >>     BK
 >      >>
 >      >>     On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
 >      >>  > Download nb-javac at home where you have Internet,
put it
 >     on a
 >      >> usb
 >      >>  > stick, take the usb stick to work, upload nb-javac
into your
 >      >>  > environment, then install it via the Plugin Manager.
 >      >>  >
 >      >>  > Or use a later version of the JDK where you don’t need
 >     nb-javac,
 >      >>     i.e.,
 >      >>  > any version after JDK 8, or wait until NetBeans 13, in
 >     the first
 >      >>  > months of 2022, where nb-javac will be part of
NetBeans.
 >      >>  >
 >      >>  > Best to start moving away from JDK 8, though.
There are now
 >      >> two LTS
 >      >>  > releases since 8.
 >      >>  >
 >      >>  > Gj
 >      >>  >
 >      >>  > On Sat, 25 Dec 2021 at 22:09, Brad K.
mailto:zel...@gmail.com>
 >     >
 >      >>     
      >>  >
 >      >>  >     Yep, it installs fine. But activating the Java
parts of
 >      >> the IDE
 >      >>  >     doesn't
 >      >>  >     work without being forced to download/install the
 >     nb-javac
 >      >>  >     plugin/module. And I can't do that in the
stand-alone
 >     network
 >      >>  >     environment I'm in (air-gapped.)
 >      >>  >
   

[Compatibility Page] Re: Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-22 Thread Eric Bresie
Is there a reference page someplace to show Netbeans compatibilities? Something 
like:

Netbeans version, Minimum JDK
Netbeans 13, JDK 11
Netbeans 12.6, JDK 8

Could also have other dependency columns as well if wanted to expand further on 
some dependencies (i.e. maven, ant, git, etc.)

Or would the Release page for given release be an alternative?

Eric Bresie
ebre...@gmail.com (mailto:ebre...@gmail.com)

> On January 14, 2022 at 6:34:06 PM CST, Brad K.  (mailto:zel...@gmail.com)> wrote:
> Ah, well then... looks like we're in for some fun with our security
> folks. ;)
>
> On 1/7/2022 3:05 AM, Neil C Smith wrote:
> > On Fri, 7 Jan 2022 at 01:17, Brad K.  > (mailto:zel...@gmail.com)> wrote:
> > > Our security folks generally require approval of major release versions;
> > > i.e., 12.x, 13.x, etc. They don't look at content changes in general.
> >
> > Please re-read what I said, or you're going to be banging heads with
> > your security folks every 3 months. There will be no 13.x.
> >
> > Releases in 2021 : 12.3 12.4 12.5 12.6
> > Releases in 2022 : 13 14 15 16 (tel:13%2014%2015%2016)
> >
> > Netbeans doesn't have major and minor releases. The fact that the
> > numbering scheme incorrectly gave people that impression is one reason
> > it's changing.
> >
> > Best wishes,
> >
> > Neil
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> (mailto:users-unsubscr...@netbeans.apache.org)
> For additional commands, e-mail: users-h...@netbeans.apache.org 
> (mailto:users-h...@netbeans.apache.org)
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


Re: Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-22 Thread Eric Bresie
With this thread in mind….

So is there good documentation on the netbean launcher parameter/arguments? In 
other words, I recall one parameter to passing JDK.home defining the JDK 
location but are there others that may help here?

Is there maybe a new feature needed to add some of these configuration 
parameters to help in offline setup/configuration if the don’t exists?

Maybe some sort parameters like:
- “activatemodules” (which could be one or many),
- “install a module”,
- “setup directory” (where “to be installed” directories can be defined), etc.

Or would configurations of some of these manually in the etc/netbean.properties 
file help?

By the way did the nb-javac get pulled down? See 
https://github.com/oracle/nb-javac

Eric Bresie
ebre...@gmail.com (mailto:ebre...@gmail.com)

> On January 21, 2022 at 10:11:34 PM CST, Geertjan Wielenga 
>  (mailto:geertjan.wiele...@googlemail.com.invalid)> wrote:
> No, that is what you’re going to be doing.
>
> Thanks,
>
> Gj
>
> On Sat, 22 Jan 2022 at 03:15, Brad K.  (mailto:zel...@gmail.com)> wrote:
> > Gj --
> >
> > I'd be happy to.
> >
> > Could you please verify that the procedure I'm performing (see a
> > previous post in this thread) should work?
> >
> > Thanks!
> >
> > Brad
> >
> > On 1/21/2022 1:56 AM, Geertjan Wielenga wrote:
> > > Brad,
> > >
> > > Please find the recent thread by Neil "[NOTICE] Apache NetBeans 13
> > > release candidate 1 available for testing".
> > >
> > > Download the rc-1 and see if that solves your problem.
> > >
> > > We need feedback on this, please, not after the release is done, but
> > > now, before the release, so that we can fix what needs fixing.
> > >
> > > Gj
> > >
> > > On Sun, Jan 16, 2022 at 9:23 PM Michael Bien  > > (mailto:mbie...@gmail.com)
> > > > wrote:
> > >
> > > filing an issue would be pointless since as Geerjan already mentioned,
> > > the next version will have nb-javac installed by default - so you could
> > > close that issue right away.
> > >
> > > Several options, like for example: upgrading the JDK itself (which
> > > would
> > > be the easiest) were already provided.
> > >
> > > best regards,
> > >
> > > michael
> > >
> > >
> > > On 16.01.22 20:18, Brad K. wrote:
> > > > So, anyone have any idea what I'm doing wrong? (See my previous post
> > > > -- can't figure out how to reply to my own post and have it actually
> > > > show up on the list.)
> > > >
> > > > If I'm not doing anything wrong, should I open a bug/issue?
> > > >
> > > > Thanks,
> > > >
> > > > BK
> > > >
> > > > On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
> > > >> You’ll have to provide complete instructions, step by step, for
> > > >> someone to reproduce the situation.
> > > >>
> > > >> Gj
> > > >>
> > > >> On Fri, 31 Dec 2021 at 20:41, Brad K.  > > >> (mailto:zel...@gmail.com)
> > > 
> > > >> >> wrote:
> > > >>
> > > >> I have no choice in the Java version; as I said, I'm working
> > > for the
> > > >> gov't and they have to decide to move forward; I have no say
> > > in the
> > > >> matter.
> > > >>
> > > >> As for nb-javac, I'm struggling here.
> > > >>
> > > >> Could you point me to the correct link/location for the correct
> > > >> "nb-javac" to download?
> > > >>
> > > >> I can't get Netbeans to quit asking me to install nb-javac on my
> > > >> network
> > > >> disconnected Windows installation even after installing the
> > > plugin.
> > > >>
> > > >> Thanks,
> > > >>
> > > >> BK
> > > >>
> > > >> On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
> > > >> > Download nb-javac at home where you have Internet, put it
> > > on a
> > > >> usb
> > > >> > stick, take the usb stick to work, upload nb-javac into your
> > > >> > environment, then install it via the Plugin Manager.
> > > >> >
> > > >> > Or use a later version of the JDK where you don’t need
> > > nb-javac,
> > > >> i.e.,
> > > >> > any version after JDK 8, or wait until NetBeans 13, in
> > > the first
> > > >> > months of 2022, where nb-javac will be part of NetBeans.
> > > >> >
> > > >> > Best to start moving away from JDK 8, though. There are now
> > > >> two LTS
> > > >> > releases since 8.
> > > >> >
> > > >> > Gj
> > > >> >
> > > >> > On Sat, 25 Dec 2021 at 22:09, Brad K.  > > >> > (mailto:zel...@gmail.com)
> > > 
> > > >> >> wrote:
> > > >> >
> > > >> > Yep, it installs fine. But activating the Java parts of
> > > >> the IDE
> > > >> > doesn't
> > > >> > work without being forced to download/install the
> > > nb-javac
> > > >> > plugin/module. And I can't do that in the stand-alone
> > > network
> > > >> > environment I'm in (air-gapped.)
> > > >> >
> > > >> > So, I'm trying to find a way to install the nb-javac
> > > without
> > > >> Internet
> > > >> > access. Everything I've tried always ends up with the
> > > IDE
> > > >> to keep
> > > >> > asking
> > > >> > to install nb-javac.
> > > >> 

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-21 Thread Geertjan Wielenga
No, that is what you’re going to be doing.

Thanks,

Gj

On Sat, 22 Jan 2022 at 03:15, Brad K.  wrote:

> Gj --
>
> I'd be happy to.
>
> Could you please verify that the procedure I'm performing (see a
> previous post in this thread) should work?
>
> Thanks!
>
> Brad
>
> On 1/21/2022 1:56 AM, Geertjan Wielenga wrote:
> > Brad,
> >
> > Please find the recent thread by Neil "[NOTICE] Apache NetBeans 13
> > release candidate 1 available for testing".
> >
> > Download the rc-1 and see if that solves your problem.
> >
> > We need feedback on this, please, not after the release is done, but
> > now, before the release, so that we can fix what needs fixing.
> >
> > Gj
> >
> > On Sun, Jan 16, 2022 at 9:23 PM Michael Bien  > > wrote:
> >
> > filing an issue would be pointless since as Geerjan already
> mentioned,
> > the next version will have nb-javac installed by default - so you
> could
> > close that issue right away.
> >
> > Several options, like for example: upgrading the JDK itself (which
> > would
> > be the easiest) were already provided.
> >
> > best regards,
> >
> > michael
> >
> >
> > On 16.01.22 20:18, Brad K. wrote:
> >  > So, anyone have any idea what I'm doing wrong? (See my previous
> post
> >  > -- can't figure out how to reply to my own post and have it
> actually
> >  > show up on the list.)
> >  >
> >  > If I'm not doing anything wrong, should I open a bug/issue?
> >  >
> >  > Thanks,
> >  >
> >  > BK
> >  >
> >  > On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
> >  >> You’ll have to provide complete instructions, step by step, for
> >  >> someone to reproduce the situation.
> >  >>
> >  >> Gj
> >  >>
> >  >> On Fri, 31 Dec 2021 at 20:41, Brad K.  > 
> >  >> >> wrote:
> >  >>
> >  >> I have no choice in the Java version; as I said, I'm working
> > for the
> >  >> gov't and they have to decide to move forward; I have no say
> > in the
> >  >> matter.
> >  >>
> >  >> As for nb-javac, I'm struggling here.
> >  >>
> >  >> Could you point me to the correct link/location for the
> correct
> >  >> "nb-javac" to download?
> >  >>
> >  >> I can't get Netbeans to quit asking me to install nb-javac
> on my
> >  >> network
> >  >> disconnected Windows installation even after installing the
> > plugin.
> >  >>
> >  >> Thanks,
> >  >>
> >  >> BK
> >  >>
> >  >> On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
> >  >>  > Download nb-javac at home where you have Internet, put it
> > on a
> >  >> usb
> >  >>  > stick, take the usb stick to work, upload nb-javac into
> your
> >  >>  > environment, then install it via the Plugin Manager.
> >  >>  >
> >  >>  > Or use a later version of the JDK where you don’t need
> > nb-javac,
> >  >> i.e.,
> >  >>  > any version after JDK 8, or wait until NetBeans 13, in
> > the first
> >  >>  > months of 2022, where nb-javac will be part of NetBeans.
> >  >>  >
> >  >>  > Best to start moving away from JDK 8, though. There are
> now
> >  >> two LTS
> >  >>  > releases since 8.
> >  >>  >
> >  >>  > Gj
> >  >>  >
> >  >>  > On Sat, 25 Dec 2021 at 22:09, Brad K.  > 
> >  >> >> wrote:
> >  >>  >
> >  >>  > Yep, it installs fine. But activating the Java parts
> of
> >  >> the IDE
> >  >>  > doesn't
> >  >>  > work without being forced to download/install the
> > nb-javac
> >  >>  > plugin/module. And I can't do that in the stand-alone
> > network
> >  >>  > environment I'm in (air-gapped.)
> >  >>  >
> >  >>  > So, I'm trying to find a way to install the nb-javac
> > without
> >  >> Internet
> >  >>  > access. Everything I've tried always ends up with the
> > IDE
> >  >> to keep
> >  >>  > asking
> >  >>  > to install nb-javac.
> >  >>  >
> >  >>  > On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
> >  >>  > > “installed over Oracle’s JDK 8”
> >  >>  > >
> >  >>  > > What does this mean? NetBeans runs on any JDK from 8
> >  >> onwards.
> >  >>  > >
> >  >>  > > Gj
> >  >>  > >
> >  >>  > >
> >  >>  > >
> >  >>  > > On Sat, 25 Dec 2021 at 21:51, Brad K.
> > mailto:zel...@gmail.com>
> >  >> >> wrote:
> >  >>  > >
> >  >>  > > Hey all --
> >  >> 

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-21 Thread Brad K.

Gj --

I'd be happy to.

Could you please verify that the procedure I'm performing (see a 
previous post in this thread) should work?


Thanks!

Brad

On 1/21/2022 1:56 AM, Geertjan Wielenga wrote:

Brad,

Please find the recent thread by Neil "[NOTICE] Apache NetBeans 13 
release candidate 1 available for testing".


Download the rc-1 and see if that solves your problem.

We need feedback on this, please, not after the release is done, but 
now, before the release, so that we can fix what needs fixing.


Gj

On Sun, Jan 16, 2022 at 9:23 PM Michael Bien > wrote:


filing an issue would be pointless since as Geerjan already mentioned,
the next version will have nb-javac installed by default - so you could
close that issue right away.

Several options, like for example: upgrading the JDK itself (which
would
be the easiest) were already provided.

best regards,

michael


On 16.01.22 20:18, Brad K. wrote:
 > So, anyone have any idea what I'm doing wrong? (See my previous post
 > -- can't figure out how to reply to my own post and have it actually
 > show up on the list.)
 >
 > If I'm not doing anything wrong, should I open a bug/issue?
 >
 > Thanks,
 >
 > BK
 >
 > On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
 >> You’ll have to provide complete instructions, step by step, for
 >> someone to reproduce the situation.
 >>
 >> Gj
 >>
 >> On Fri, 31 Dec 2021 at 20:41, Brad K. mailto:zel...@gmail.com>
 >> >> wrote:
 >>
 >>     I have no choice in the Java version; as I said, I'm working
for the
 >>     gov't and they have to decide to move forward; I have no say
in the
 >>     matter.
 >>
 >>     As for nb-javac, I'm struggling here.
 >>
 >>     Could you point me to the correct link/location for the correct
 >>     "nb-javac" to download?
 >>
 >>     I can't get Netbeans to quit asking me to install nb-javac on my
 >>     network
 >>     disconnected Windows installation even after installing the
plugin.
 >>
 >>     Thanks,
 >>
 >>     BK
 >>
 >>     On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
 >>  > Download nb-javac at home where you have Internet, put it
on a
 >> usb
 >>  > stick, take the usb stick to work, upload nb-javac into your
 >>  > environment, then install it via the Plugin Manager.
 >>  >
 >>  > Or use a later version of the JDK where you don’t need
nb-javac,
 >>     i.e.,
 >>  > any version after JDK 8, or wait until NetBeans 13, in
the first
 >>  > months of 2022, where nb-javac will be part of NetBeans.
 >>  >
 >>  > Best to start moving away from JDK 8, though. There are now
 >> two LTS
 >>  > releases since 8.
 >>  >
 >>  > Gj
 >>  >
 >>  > On Sat, 25 Dec 2021 at 22:09, Brad K. mailto:zel...@gmail.com>
 >>     >> wrote:
 >>  >
 >>  >     Yep, it installs fine. But activating the Java parts of
 >> the IDE
 >>  >     doesn't
 >>  >     work without being forced to download/install the
nb-javac
 >>  >     plugin/module. And I can't do that in the stand-alone
network
 >>  >     environment I'm in (air-gapped.)
 >>  >
 >>  >     So, I'm trying to find a way to install the nb-javac
without
 >>     Internet
 >>  >     access. Everything I've tried always ends up with the
IDE
 >> to keep
 >>  >     asking
 >>  >     to install nb-javac.
 >>  >
 >>  >     On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
 >>  >     > “installed over Oracle’s JDK 8”
 >>  >     >
 >>  >     > What does this mean? NetBeans runs on any JDK from 8
 >> onwards.
 >>  >     >
 >>  >     > Gj
 >>  >     >
 >>  >     >
 >>  >     >
 >>  >     > On Sat, 25 Dec 2021 at 21:51, Brad K.
mailto:zel...@gmail.com>
 >>     >> wrote:
 >>  >     >
 >>  >     >     Hey all --
 >>  >     >
 >>  >     >     (I'm resending this since my original seems to
have
 >> gotten
 >>  >     lost.)
 >>  >     >
 >>  >     >     I've been trying to find a definitive yes or no
to the
 >>  >     question: can
 >>  >     >     Netbeans 11.3 (or later) be installed over
Oracle's JDK
 >>     8 in a
 >>  >     >     non-internet connected environment and
successfully add
 >>  >     nb-javac?
 >>  >     >
 >>  >     >     I work in gov't and our development network is
 >> completely
 >>  >     >     air-gapp

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-20 Thread Geertjan Wielenga
Brad,

Please find the recent thread by Neil "[NOTICE] Apache NetBeans 13 release
candidate 1 available for testing".

Download the rc-1 and see if that solves your problem.

We need feedback on this, please, not after the release is done, but now,
before the release, so that we can fix what needs fixing.

Gj

On Sun, Jan 16, 2022 at 9:23 PM Michael Bien  wrote:

> filing an issue would be pointless since as Geerjan already mentioned,
> the next version will have nb-javac installed by default - so you could
> close that issue right away.
>
> Several options, like for example: upgrading the JDK itself (which would
> be the easiest) were already provided.
>
> best regards,
>
> michael
>
>
> On 16.01.22 20:18, Brad K. wrote:
> > So, anyone have any idea what I'm doing wrong? (See my previous post
> > -- can't figure out how to reply to my own post and have it actually
> > show up on the list.)
> >
> > If I'm not doing anything wrong, should I open a bug/issue?
> >
> > Thanks,
> >
> > BK
> >
> > On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
> >> You’ll have to provide complete instructions, step by step, for
> >> someone to reproduce the situation.
> >>
> >> Gj
> >>
> >> On Fri, 31 Dec 2021 at 20:41, Brad K.  >> > wrote:
> >>
> >> I have no choice in the Java version; as I said, I'm working for the
> >> gov't and they have to decide to move forward; I have no say in the
> >> matter.
> >>
> >> As for nb-javac, I'm struggling here.
> >>
> >> Could you point me to the correct link/location for the correct
> >> "nb-javac" to download?
> >>
> >> I can't get Netbeans to quit asking me to install nb-javac on my
> >> network
> >> disconnected Windows installation even after installing the plugin.
> >>
> >> Thanks,
> >>
> >> BK
> >>
> >> On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
> >>  > Download nb-javac at home where you have Internet, put it on a
> >> usb
> >>  > stick, take the usb stick to work, upload nb-javac into your
> >>  > environment, then install it via the Plugin Manager.
> >>  >
> >>  > Or use a later version of the JDK where you don’t need nb-javac,
> >> i.e.,
> >>  > any version after JDK 8, or wait until NetBeans 13, in the first
> >>  > months of 2022, where nb-javac will be part of NetBeans.
> >>  >
> >>  > Best to start moving away from JDK 8, though. There are now
> >> two LTS
> >>  > releases since 8.
> >>  >
> >>  > Gj
> >>  >
> >>  > On Sat, 25 Dec 2021 at 22:09, Brad K.  >> > wrote:
> >>  >
> >>  > Yep, it installs fine. But activating the Java parts of
> >> the IDE
> >>  > doesn't
> >>  > work without being forced to download/install the nb-javac
> >>  > plugin/module. And I can't do that in the stand-alone network
> >>  > environment I'm in (air-gapped.)
> >>  >
> >>  > So, I'm trying to find a way to install the nb-javac without
> >> Internet
> >>  > access. Everything I've tried always ends up with the IDE
> >> to keep
> >>  > asking
> >>  > to install nb-javac.
> >>  >
> >>  > On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
> >>  > > “installed over Oracle’s JDK 8”
> >>  > >
> >>  > > What does this mean? NetBeans runs on any JDK from 8
> >> onwards.
> >>  > >
> >>  > > Gj
> >>  > >
> >>  > >
> >>  > >
> >>  > > On Sat, 25 Dec 2021 at 21:51, Brad K.  >> > wrote:
> >>  > >
> >>  > > Hey all --
> >>  > >
> >>  > > (I'm resending this since my original seems to have
> >> gotten
> >>  > lost.)
> >>  > >
> >>  > > I've been trying to find a definitive yes or no to the
> >>  > question: can
> >>  > > Netbeans 11.3 (or later) be installed over Oracle's JDK
> >> 8 in a
> >>  > > non-internet connected environment and successfully add
> >>  > nb-javac?
> >>  > >
> >>  > > I work in gov't and our development network is
> >> completely
> >>  > > air-gapped to
> >>  > > everything.
> >>  > >
> >>  > > Every time we try to start up a Java project, it
> >> asks us to
> >>  > install
> >>  > > nb-javac (as well as JavaFX stuff -- which is
> >> included in
> >>  > JDK 8.)
> >>  > > We've
> >>  > > tried downloading various versions of javac-api,
> >> javac-impl and
> >>  > > nb-javac
> >>  > > and the updater, plugins handler, etc., won't use
> >> any of
> >>  > them to meet
> >>  > > the nb-javac requirement plugin listed in the
> >> "Available
> >>  > Plugins"
> >>  > > dialog.
> >>  > >
> >>  > > If it is possible, what are the actu

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Michael Bien
filing an issue would be pointless since as Geerjan already mentioned, 
the next version will have nb-javac installed by default - so you could 
close that issue right away.


Several options, like for example: upgrading the JDK itself (which would 
be the easiest) were already provided.


best regards,

michael


On 16.01.22 20:18, Brad K. wrote:
So, anyone have any idea what I'm doing wrong? (See my previous post 
-- can't figure out how to reply to my own post and have it actually 
show up on the list.)


If I'm not doing anything wrong, should I open a bug/issue?

Thanks,

BK

On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
You’ll have to provide complete instructions, step by step, for 
someone to reproduce the situation.


Gj

On Fri, 31 Dec 2021 at 20:41, Brad K. > wrote:


    I have no choice in the Java version; as I said, I'm working for the
    gov't and they have to decide to move forward; I have no say in the
    matter.

    As for nb-javac, I'm struggling here.

    Could you point me to the correct link/location for the correct
    "nb-javac" to download?

    I can't get Netbeans to quit asking me to install nb-javac on my
    network
    disconnected Windows installation even after installing the plugin.

    Thanks,

    BK

    On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
 > Download nb-javac at home where you have Internet, put it on a 
usb

 > stick, take the usb stick to work, upload nb-javac into your
 > environment, then install it via the Plugin Manager.
 >
 > Or use a later version of the JDK where you don’t need nb-javac,
    i.e.,
 > any version after JDK 8, or wait until NetBeans 13, in the first
 > months of 2022, where nb-javac will be part of NetBeans.
 >
 > Best to start moving away from JDK 8, though. There are now 
two LTS

 > releases since 8.
 >
 > Gj
 >
 > On Sat, 25 Dec 2021 at 22:09, Brad K. mailto:zel...@gmail.com>> wrote:
 >
 >     Yep, it installs fine. But activating the Java parts of 
the IDE

 >     doesn't
 >     work without being forced to download/install the nb-javac
 >     plugin/module. And I can't do that in the stand-alone network
 >     environment I'm in (air-gapped.)
 >
 >     So, I'm trying to find a way to install the nb-javac without
    Internet
 >     access. Everything I've tried always ends up with the IDE 
to keep

 >     asking
 >     to install nb-javac.
 >
 >     On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
 >     > “installed over Oracle’s JDK 8”
 >     >
 >     > What does this mean? NetBeans runs on any JDK from 8 
onwards.

 >     >
 >     > Gj
 >     >
 >     >
 >     >
 >     > On Sat, 25 Dec 2021 at 21:51, Brad K. mailto:zel...@gmail.com>> wrote:
 >     >
 >     >     Hey all --
 >     >
 >     >     (I'm resending this since my original seems to have 
gotten

 >     lost.)
 >     >
 >     >     I've been trying to find a definitive yes or no to the
 >     question: can
 >     >     Netbeans 11.3 (or later) be installed over Oracle's JDK
    8 in a
 >     >     non-internet connected environment and successfully add
 >     nb-javac?
 >     >
 >     >     I work in gov't and our development network is 
completely

 >     >     air-gapped to
 >     >     everything.
 >     >
 >     >     Every time we try to start up a Java project, it 
asks us to

 >     install
 >     >     nb-javac (as well as JavaFX stuff -- which is 
included in

 >     JDK 8.)
 >     >     We've
 >     >     tried downloading various versions of javac-api,
    javac-impl and
 >     >     nb-javac
 >     >     and the updater, plugins handler, etc., won't use 
any of

 >     them to meet
 >     >     the nb-javac requirement plugin listed in the 
"Available

 >     Plugins"
 >     >     dialog.
 >     >
 >     >     If it is possible, what are the actual directions? Is
    it posted
 >     >     somewhere
 >     >     and my Google-fu is lacking?
 >     >
 >     >     If its not possible, are there solutions that don't 
require

 >     Internet
 >     >     connectivity? Could we setup our own plugin/update 
repo on

 >     our dev
 >     >     net?
 >     >
 >     >     Please help!
 >     >
 >     >     V/r,
 >     >
 >     >     Brad
 >     >
 >     >
 >     >
 > 
  -

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

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Brad K.
So, anyone have any idea what I'm doing wrong? (See my previous post -- 
can't figure out how to reply to my own post and have it actually show 
up on the list.)


If I'm not doing anything wrong, should I open a bug/issue?

Thanks,

BK

On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
You’ll have to provide complete instructions, step by step, for someone 
to reproduce the situation.


Gj

On Fri, 31 Dec 2021 at 20:41, Brad K. > wrote:


I have no choice in the Java version; as I said, I'm working for the
gov't and they have to decide to move forward; I have no say in the
matter.

As for nb-javac, I'm struggling here.

Could you point me to the correct link/location for the correct
"nb-javac" to download?

I can't get Netbeans to quit asking me to install nb-javac on my
network
disconnected Windows installation even after installing the plugin.

Thanks,

BK

On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
 > Download nb-javac at home where you have Internet, put it on a usb
 > stick, take the usb stick to work, upload nb-javac into your
 > environment, then install it via the Plugin Manager.
 >
 > Or use a later version of the JDK where you don’t need nb-javac,
i.e.,
 > any version after JDK 8, or wait until NetBeans 13, in the first
 > months of 2022, where nb-javac will be part of NetBeans.
 >
 > Best to start moving away from JDK 8, though. There are now two LTS
 > releases since 8.
 >
 > Gj
 >
 > On Sat, 25 Dec 2021 at 22:09, Brad K. mailto:zel...@gmail.com>> wrote:
 >
 >     Yep, it installs fine. But activating the Java parts of the IDE
 >     doesn't
 >     work without being forced to download/install the nb-javac
 >     plugin/module. And I can't do that in the stand-alone network
 >     environment I'm in (air-gapped.)
 >
 >     So, I'm trying to find a way to install the nb-javac without
Internet
 >     access. Everything I've tried always ends up with the IDE to keep
 >     asking
 >     to install nb-javac.
 >
 >     On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
 >     > “installed over Oracle’s JDK 8”
 >     >
 >     > What does this mean? NetBeans runs on any JDK from 8 onwards.
 >     >
 >     > Gj
 >     >
 >     >
 >     >
 >     > On Sat, 25 Dec 2021 at 21:51, Brad K. mailto:zel...@gmail.com>> wrote:
 >     >
 >     >     Hey all --
 >     >
 >     >     (I'm resending this since my original seems to have gotten
 >     lost.)
 >     >
 >     >     I've been trying to find a definitive yes or no to the
 >     question: can
 >     >     Netbeans 11.3 (or later) be installed over Oracle's JDK
8 in a
 >     >     non-internet connected environment and successfully add
 >     nb-javac?
 >     >
 >     >     I work in gov't and our development network is completely
 >     >     air-gapped to
 >     >     everything.
 >     >
 >     >     Every time we try to start up a Java project, it asks us to
 >     install
 >     >     nb-javac (as well as JavaFX stuff -- which is included in
 >     JDK 8.)
 >     >     We've
 >     >     tried downloading various versions of javac-api,
javac-impl and
 >     >     nb-javac
 >     >     and the updater, plugins handler, etc., won't use any of
 >     them to meet
 >     >     the nb-javac requirement plugin listed in the "Available
 >     Plugins"
 >     >     dialog.
 >     >
 >     >     If it is possible, what are the actual directions? Is
it posted
 >     >     somewhere
 >     >     and my Google-fu is lacking?
 >     >
 >     >     If its not possible, are there solutions that don't require
 >     Internet
 >     >     connectivity? Could we setup our own plugin/update repo on
 >     our dev
 >     >     net?
 >     >
 >     >     Please help!
 >     >
 >     >     V/r,
 >     >
 >     >     Brad
 >     >
 >     >
 >     >
 >   
   -

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


Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-14 Thread Brad K.
Ah, well then... looks like we're in for some fun with our security 
folks. ;)


On 1/7/2022 3:05 AM, Neil C Smith wrote:

On Fri, 7 Jan 2022 at 01:17, Brad K.  wrote:

Our security folks generally require approval of major release versions;
i.e., 12.x, 13.x, etc. They don't look at content changes in general.


Please re-read what I said, or you're going to be banging heads with
your security folks every 3 months.  There will be no 13.x.

Releases in 2021 : 12.3 12.4 12.5 12.6
Releases in 2022 : 13 14 15 16

Netbeans doesn't have major and minor releases.  The fact that the
numbering scheme incorrectly gave people that impression is one reason
it's changing.

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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-10 Thread Brad K.
So does anyone have any hints of what I'm doing wrong? Not sure if 
anyone noticed, but this described process fails for me...


Thanks!

On 1/4/2022 8:17 AM, Brad K. wrote:

I think I've captured it all here:

1. Fresh install of Windows 10 (21H1, build 19043.1415) -- this also 
means nothing in user's AppData/Local/NetBeans/cache or 
AppData/Roaming/NetBeans/config


2. Download/Install Oracle JDK 8 u311

3. Download/Install NetBeans 12.6

(Following instructions at https://github.com/jaroslavtulach/nb-javac 
and adjusting for Windows):


4. Download nb-javac-17.0.0.0.jar and nb-javac.17.0.0.0-api.jar from 
Maven Central


   mkdir "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacapi\external"
   mkdir "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacimpl\external"
   copy nb-javac-17.0.0.0-api.jar "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacapi\external"
   copy nb-javac-17.0.0.0.jar "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacimpl\external"


5. Disable network adapter(s) in Windows config (simulate corporate 
air-gapped network)


6. Launch NetBeans from the desktop icon

(Further following instructions from 
https://github.com/jaroslavtulach/nb-javac)


7. Activate Java by creating a Java project with Ant using File -> New 
Project -> Java with Ant -> Next


Dialog Box:

Finding Feature

In order to use this functionality, support for Java SE must be activated

Additional modules are recommended to run Java SE support.

[x] The nb-javac Java editing support library

[ Download and Activate... ] [Activate]

Errors enountered obtaining update information:

netbeans.apache.org
netbeans.apache.org

8a1. Click [ Activate ]
8a2. Dialog box:

Activating Java SE (progress bar)

Dialog Box:

Java features limited

No supported javac library available. Most Java editing features are 
disabled. Please either:


- install nb-javac library (highly recommended)
- run NetBeans on JDK 9 or higher

[ Install nb-javac ] [ Cancel ]

8a3a. Click [ Install nb-javac ]

Dialog:

NetBeans IDE Installer

...

This fails to download the plugin of course, since I'm disconnected from 
the Internet.


8a3b1. Click [ Cancel ]
8a3b2. Goto 11

8b1. uncheck the checkbox for "The nb-javac Java editing support library"
8b2. Click [ Activate ]
8b3. Goto 8a2

10. Cancel out of the dialog(s).

11. Dialog box:

New Java Application

...

12. Click [ Finish ]

13. Compile works. Run does not.

(Finishing following instructions from 
https://github.com/jaroslavtulach/nb-javac)


14. Close NetBeans

   mkdir "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\modules\ext"
   cp nb-javac-17.0.0.0-api.jar "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\modules\ext"
   cp nb-javac-17.0.0.0.jar "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\modules\ext"
   notepad "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\.lastmodified"

   Dialog: create file? yes. File -> Save.

15. Launch NetBeans.

16. Clean | Build works. Run does not.

Also, two notifications. One requesting installation of nb-javac via the 
NetBeans IDE Installer which obviously fails.


Another SILENT Error with a Null Pointer Exception

java.lang.NullPointerException
     at 
org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:971)
     at 
org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:921)
     at 
org.netbeans.modules.java.api.common.util.CommonProjectUtils.isMainClass(CommonProjectUtils.java:155) 

     at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.getProjectMainClass(ActionProviderSupport.java:378) 

     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.getProjectMainClass(BaseActionProvider.java:368) 

     at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$9.getTargetNames(JavaActionProvider.java:1545) 

     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider$ServerExecutionAwareAction.getTargetNames(BaseActionProvider.java:730) 

     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:795) 

     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.lambda$getTargetNames$2(BaseActionProvider.java:311) 


     at java.util.Optional.map(Optional.java:215)
     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.getTargetNames(BaseActionProvider.java:297) 

     at 
org.netbeans.modules.java.j2seproject.J2SEActionProvider.getTargetNames(J2SEActionProvider.java:275) 

     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:782) 

     at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1305) 

     at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-07 Thread Neil C Smith
On Fri, 7 Jan 2022 at 01:17, Brad K.  wrote:
> Our security folks generally require approval of major release versions;
> i.e., 12.x, 13.x, etc. They don't look at content changes in general.

Please re-read what I said, or you're going to be banging heads with
your security folks every 3 months.  There will be no 13.x.

Releases in 2021 : 12.3 12.4 12.5 12.6
Releases in 2022 : 13 14 15 16

Netbeans doesn't have major and minor releases.  The fact that the
numbering scheme incorrectly gave people that impression is one reason
it's changing.

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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-06 Thread Brad K.
Our security folks generally require approval of major release versions; 
i.e., 12.x, 13.x, etc. They don't look at content changes in general.


On 1/5/2022 4:41 AM, Neil C Smith wrote:

On Wed, 5 Jan 2022 at 00:25, Brad K.  wrote:

I think NetBeans 12 has been approved for use; I'm guessing that 13
won't have been approved quite yet. Gov't, you see.


12.0 or 12.6?

ie. if moving 12.5 -> 12.6 was approved, then moving 12.6 -> 13 -> 14
should be the same.

In other words, we've changed the numbering scheme (and minimum JDK
requirement) from 13, but there is no particular significance in
moving from "minor" to "major" increments.  That people saw a
significance is part of the reason for changing.

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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-05 Thread Neil C Smith
On Wed, 5 Jan 2022 at 00:25, Brad K.  wrote:
> I think NetBeans 12 has been approved for use; I'm guessing that 13
> won't have been approved quite yet. Gov't, you see.

12.0 or 12.6?

ie. if moving 12.5 -> 12.6 was approved, then moving 12.6 -> 13 -> 14
should be the same.

In other words, we've changed the numbering scheme (and minimum JDK
requirement) from 13, but there is no particular significance in
moving from "minor" to "major" increments.  That people saw a
significance is part of the reason for changing.

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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-04 Thread Brad K.

On 1/4/2022 8:31 AM, Neil C Smith wrote:

On Tue, 4 Jan 2022 at 14:17, Brad K.  wrote:

I think I've captured it all here:

...

2. Download/Install Oracle JDK 8 u311

A complicated process!  You could perhaps try a daily build and/or rc
of NetBeans 13 in a couple of weeks.  nb-javac is now included.
That'll be nice ;)  Once we figure it out, our software/license/client 
manager folks can create script(s) to automate the installation process. 
I'm just trying to help them figure out what magic is necessary.

Strictly speaking, Java 8 is not officially supported from NetBeans
13, although it should mostly work.
I think NetBeans 12 has been approved for use; I'm guessing that 13 
won't have been approved quite yet. Gov't, you see.

Is there a reason you can't have a "local" JDK 11/17 to run the IDE on
though, separate to any system level JDK for development?
I will have to check with our software/license guy and see if they want 
to support two JDKs on our dev boxes.

Best wishes,

Neil


Thanks!


-
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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-04 Thread Neil C Smith
On Tue, 4 Jan 2022 at 14:17, Brad K.  wrote:
> I think I've captured it all here:
...
> 2. Download/Install Oracle JDK 8 u311

A complicated process!  You could perhaps try a daily build and/or rc
of NetBeans 13 in a couple of weeks.  nb-javac is now included.

Strictly speaking, Java 8 is not officially supported from NetBeans
13, although it should mostly work.

Is there a reason you can't have a "local" JDK 11/17 to run the IDE on
though, separate to any system level JDK for development?

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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-04 Thread Brad K.

I think I've captured it all here:

1. Fresh install of Windows 10 (21H1, build 19043.1415) -- this also 
means nothing in user's AppData/Local/NetBeans/cache or 
AppData/Roaming/NetBeans/config


2. Download/Install Oracle JDK 8 u311

3. Download/Install NetBeans 12.6

(Following instructions at https://github.com/jaroslavtulach/nb-javac 
and adjusting for Windows):


4. Download nb-javac-17.0.0.0.jar and nb-javac.17.0.0.0-api.jar from 
Maven Central


  mkdir "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacapi\external"
  mkdir "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacimpl\external"
  copy nb-javac-17.0.0.0-api.jar "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacapi\external"
  copy nb-javac-17.0.0.0.jar "C:\Program 
Files\NetBeans-12.6\netbeans\java\libs.javacimpl\external"


5. Disable network adapter(s) in Windows config (simulate corporate 
air-gapped network)


6. Launch NetBeans from the desktop icon

(Further following instructions from 
https://github.com/jaroslavtulach/nb-javac)


7. Activate Java by creating a Java project with Ant using File -> New 
Project -> Java with Ant -> Next


Dialog Box:

Finding Feature

In order to use this functionality, support for Java SE must be activated

Additional modules are recommended to run Java SE support.

[x] The nb-javac Java editing support library

[ Download and Activate... ] [Activate]

Errors enountered obtaining update information:

netbeans.apache.org
netbeans.apache.org

8a1. Click [ Activate ]
8a2. Dialog box:

Activating Java SE (progress bar)

Dialog Box:

Java features limited

No supported javac library available. Most Java editing features are 
disabled. Please either:


- install nb-javac library (highly recommended)
- run NetBeans on JDK 9 or higher

[ Install nb-javac ] [ Cancel ]

8a3a. Click [ Install nb-javac ]

Dialog:

NetBeans IDE Installer

...

This fails to download the plugin of course, since I'm disconnected from 
the Internet.


8a3b1. Click [ Cancel ]
8a3b2. Goto 11

8b1. uncheck the checkbox for "The nb-javac Java editing support library"
8b2. Click [ Activate ]
8b3. Goto 8a2

10. Cancel out of the dialog(s).

11. Dialog box:

New Java Application

...

12. Click [ Finish ]

13. Compile works. Run does not.

(Finishing following instructions from 
https://github.com/jaroslavtulach/nb-javac)


14. Close NetBeans

  mkdir "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\modules\ext"
  cp nb-javac-17.0.0.0-api.jar "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\modules\ext"
  cp nb-javac-17.0.0.0.jar "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\modules\ext"
  notepad "C:\Program 
Files\NetBeans-12.6\netbeans\nbbuild\testuserdir\.lastmodified"

  Dialog: create file? yes. File -> Save.

15. Launch NetBeans.

16. Clean | Build works. Run does not.

Also, two notifications. One requesting installation of nb-javac via the 
NetBeans IDE Installer which obviously fails.


Another SILENT Error with a Null Pointer Exception

java.lang.NullPointerException
    at 
org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:971)
    at 
org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:921)
    at 
org.netbeans.modules.java.api.common.util.CommonProjectUtils.isMainClass(CommonProjectUtils.java:155)
    at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.getProjectMainClass(ActionProviderSupport.java:378)
    at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.getProjectMainClass(BaseActionProvider.java:368)
    at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$9.getTargetNames(JavaActionProvider.java:1545)
    at 
org.netbeans.modules.java.api.common.project.BaseActionProvider$ServerExecutionAwareAction.getTargetNames(BaseActionProvider.java:730)
    at 
org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:795)
    at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.lambda$getTargetNames$2(BaseActionProvider.java:311)

    at java.util.Optional.map(Optional.java:215)
    at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.getTargetNames(BaseActionProvider.java:297)
    at 
org.netbeans.modules.java.j2seproject.J2SEActionProvider.getTargetNames(J2SEActionProvider.java:275)
    at 
org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:782)
    at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1305)
    at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
    at 
org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
    at 
org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
 

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-31 Thread Mark Eggers

BK,

Maybe start here?

https://github.com/oracle/nb-javac

You'll have to clone the repository (or release tag, or release) from a 
place where you do have Internet access, and then go through the 
appropriate channels to bring it into your environment.


Once there, you should be good to either build it or install it on a 
local NetBeans platform.


If you need it in your air-gapped environment and have an internal Maven 
repository, then install the binaries there. That way other folks can 
download the JAR files, and copy them to the appropriate locations.


. . . just a thought
/mde/

On 12/31/2021 11:41 AM, Brad K. wrote:
I have no choice in the Java version; as I said, I'm working for the 
gov't and they have to decide to move forward; I have no say in the matter.


As for nb-javac, I'm struggling here.

Could you point me to the correct link/location for the correct 
"nb-javac" to download?


I can't get Netbeans to quit asking me to install nb-javac on my network 
disconnected Windows installation even after installing the plugin.


Thanks,

BK

On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
Download nb-javac at home where you have Internet, put it on a usb 
stick, take the usb stick to work, upload nb-javac into your 
environment, then install it via the Plugin Manager.


Or use a later version of the JDK where you don’t need nb-javac, i.e., 
any version after JDK 8, or wait until NetBeans 13, in the first 
months of 2022, where nb-javac will be part of NetBeans.


Best to start moving away from JDK 8, though. There are now two LTS 
releases since 8.


Gj

On Sat, 25 Dec 2021 at 22:09, Brad K.  wrote:

    Yep, it installs fine. But activating the Java parts of the IDE
    doesn't
    work without being forced to download/install the nb-javac
    plugin/module. And I can't do that in the stand-alone network
    environment I'm in (air-gapped.)

    So, I'm trying to find a way to install the nb-javac without Internet
    access. Everything I've tried always ends up with the IDE to keep
    asking
    to install nb-javac.

    On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
    > “installed over Oracle’s JDK 8”
    >
    > What does this mean? NetBeans runs on any JDK from 8 onwards.
    >
    > Gj
    >
    >
    >
    > On Sat, 25 Dec 2021 at 21:51, Brad K.  wrote:
    >
    >     Hey all --
    >
    >     (I'm resending this since my original seems to have gotten
    lost.)
    >
    >     I've been trying to find a definitive yes or no to the
    question: can
    >     Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
    >     non-internet connected environment and successfully add
    nb-javac?
    >
    >     I work in gov't and our development network is completely
    >     air-gapped to
    >     everything.
    >
    >     Every time we try to start up a Java project, it asks us to
    install
    >     nb-javac (as well as JavaFX stuff -- which is included in
    JDK 8.)
    >     We've
    >     tried downloading various versions of javac-api, javac-impl and
    >     nb-javac
    >     and the updater, plugins handler, etc., won't use any of
    them to meet
    >     the nb-javac requirement plugin listed in the "Available
    Plugins"
    >     dialog.
    >
    >     If it is possible, what are the actual directions? Is it posted
    >     somewhere
    >     and my Google-fu is lacking?
    >
    >     If its not possible, are there solutions that don't require
    Internet
    >     connectivity? Could we setup our own plugin/update repo on
    our dev
    >     net?
    >
    >     Please help!
    >
    >     V/r,
    >
    >     Brad
    >
    >
    >

 -

    >     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



-
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





OpenPGP_signature
Description: OpenPGP digital signature


Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-31 Thread Geertjan Wielenga
You’ll have to provide complete instructions, step by step, for someone to
reproduce the situation.

Gj

On Fri, 31 Dec 2021 at 20:41, Brad K.  wrote:

> I have no choice in the Java version; as I said, I'm working for the
> gov't and they have to decide to move forward; I have no say in the matter.
>
> As for nb-javac, I'm struggling here.
>
> Could you point me to the correct link/location for the correct
> "nb-javac" to download?
>
> I can't get Netbeans to quit asking me to install nb-javac on my network
> disconnected Windows installation even after installing the plugin.
>
> Thanks,
>
> BK
>
> On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
> > Download nb-javac at home where you have Internet, put it on a usb
> > stick, take the usb stick to work, upload nb-javac into your
> > environment, then install it via the Plugin Manager.
> >
> > Or use a later version of the JDK where you don’t need nb-javac, i.e.,
> > any version after JDK 8, or wait until NetBeans 13, in the first
> > months of 2022, where nb-javac will be part of NetBeans.
> >
> > Best to start moving away from JDK 8, though. There are now two LTS
> > releases since 8.
> >
> > Gj
> >
> > On Sat, 25 Dec 2021 at 22:09, Brad K.  wrote:
> >
> > Yep, it installs fine. But activating the Java parts of the IDE
> > doesn't
> > work without being forced to download/install the nb-javac
> > plugin/module. And I can't do that in the stand-alone network
> > environment I'm in (air-gapped.)
> >
> > So, I'm trying to find a way to install the nb-javac without Internet
> > access. Everything I've tried always ends up with the IDE to keep
> > asking
> > to install nb-javac.
> >
> > On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
> > > “installed over Oracle’s JDK 8”
> > >
> > > What does this mean? NetBeans runs on any JDK from 8 onwards.
> > >
> > > Gj
> > >
> > >
> > >
> > > On Sat, 25 Dec 2021 at 21:51, Brad K.  wrote:
> > >
> > > Hey all --
> > >
> > > (I'm resending this since my original seems to have gotten
> > lost.)
> > >
> > > I've been trying to find a definitive yes or no to the
> > question: can
> > > Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
> > > non-internet connected environment and successfully add
> > nb-javac?
> > >
> > > I work in gov't and our development network is completely
> > > air-gapped to
> > > everything.
> > >
> > > Every time we try to start up a Java project, it asks us to
> > install
> > > nb-javac (as well as JavaFX stuff -- which is included in
> > JDK 8.)
> > > We've
> > > tried downloading various versions of javac-api, javac-impl and
> > > nb-javac
> > > and the updater, plugins handler, etc., won't use any of
> > them to meet
> > > the nb-javac requirement plugin listed in the "Available
> > Plugins"
> > > dialog.
> > >
> > > If it is possible, what are the actual directions? Is it posted
> > > somewhere
> > > and my Google-fu is lacking?
> > >
> > > If its not possible, are there solutions that don't require
> > Internet
> > > connectivity? Could we setup our own plugin/update repo on
> > our dev
> > > net?
> > >
> > > Please help!
> > >
> > > V/r,
> > >
> > > Brad
> > >
> > >
> > >
> >
>   -
> > > 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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-31 Thread Brad K.
I have no choice in the Java version; as I said, I'm working for the 
gov't and they have to decide to move forward; I have no say in the matter.


As for nb-javac, I'm struggling here.

Could you point me to the correct link/location for the correct 
"nb-javac" to download?


I can't get Netbeans to quit asking me to install nb-javac on my network 
disconnected Windows installation even after installing the plugin.


Thanks,

BK

On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
Download nb-javac at home where you have Internet, put it on a usb 
stick, take the usb stick to work, upload nb-javac into your 
environment, then install it via the Plugin Manager.


Or use a later version of the JDK where you don’t need nb-javac, i.e., 
any version after JDK 8, or wait until NetBeans 13, in the first 
months of 2022, where nb-javac will be part of NetBeans.


Best to start moving away from JDK 8, though. There are now two LTS 
releases since 8.


Gj

On Sat, 25 Dec 2021 at 22:09, Brad K.  wrote:

Yep, it installs fine. But activating the Java parts of the IDE
doesn't
work without being forced to download/install the nb-javac
plugin/module. And I can't do that in the stand-alone network
environment I'm in (air-gapped.)

So, I'm trying to find a way to install the nb-javac without Internet
access. Everything I've tried always ends up with the IDE to keep
asking
to install nb-javac.

On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
> “installed over Oracle’s JDK 8”
>
> What does this mean? NetBeans runs on any JDK from 8 onwards.
>
> Gj
>
>
>
> On Sat, 25 Dec 2021 at 21:51, Brad K.  wrote:
>
>     Hey all --
>
>     (I'm resending this since my original seems to have gotten
lost.)
>
>     I've been trying to find a definitive yes or no to the
question: can
>     Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
>     non-internet connected environment and successfully add
nb-javac?
>
>     I work in gov't and our development network is completely
>     air-gapped to
>     everything.
>
>     Every time we try to start up a Java project, it asks us to
install
>     nb-javac (as well as JavaFX stuff -- which is included in
JDK 8.)
>     We've
>     tried downloading various versions of javac-api, javac-impl and
>     nb-javac
>     and the updater, plugins handler, etc., won't use any of
them to meet
>     the nb-javac requirement plugin listed in the "Available
Plugins"
>     dialog.
>
>     If it is possible, what are the actual directions? Is it posted
>     somewhere
>     and my Google-fu is lacking?
>
>     If its not possible, are there solutions that don't require
Internet
>     connectivity? Could we setup our own plugin/update repo on
our dev
>     net?
>
>     Please help!
>
>     V/r,
>
>     Brad
>
>
>
 -
>     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



-
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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Geertjan Wielenga
Download nb-javac at home where you have Internet, put it on a usb stick,
take the usb stick to work, upload nb-javac into your environment, then
install it via the Plugin Manager.

Or use a later version of the JDK where you don’t need nb-javac, i.e., any
version after JDK 8, or wait until NetBeans 13, in the first months of
2022, where nb-javac will be part of NetBeans.

Best to start moving away from JDK 8, though. There are now two LTS
releases since 8.

Gj

On Sat, 25 Dec 2021 at 22:09, Brad K.  wrote:

> Yep, it installs fine. But activating the Java parts of the IDE doesn't
> work without being forced to download/install the nb-javac
> plugin/module. And I can't do that in the stand-alone network
> environment I'm in (air-gapped.)
>
> So, I'm trying to find a way to install the nb-javac without Internet
> access. Everything I've tried always ends up with the IDE to keep asking
> to install nb-javac.
>
> On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
> > “installed over Oracle’s JDK 8”
> >
> > What does this mean? NetBeans runs on any JDK from 8 onwards.
> >
> > Gj
> >
> >
> >
> > On Sat, 25 Dec 2021 at 21:51, Brad K.  wrote:
> >
> > Hey all --
> >
> > (I'm resending this since my original seems to have gotten lost.)
> >
> > I've been trying to find a definitive yes or no to the question: can
> > Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
> > non-internet connected environment and successfully add nb-javac?
> >
> > I work in gov't and our development network is completely
> > air-gapped to
> > everything.
> >
> > Every time we try to start up a Java project, it asks us to install
> > nb-javac (as well as JavaFX stuff -- which is included in JDK 8.)
> > We've
> > tried downloading various versions of javac-api, javac-impl and
> > nb-javac
> > and the updater, plugins handler, etc., won't use any of them to meet
> > the nb-javac requirement plugin listed in the "Available Plugins"
> > dialog.
> >
> > If it is possible, what are the actual directions? Is it posted
> > somewhere
> > and my Google-fu is lacking?
> >
> > If its not possible, are there solutions that don't require Internet
> > connectivity? Could we setup our own plugin/update repo on our dev
> > net?
> >
> > Please help!
> >
> > V/r,
> >
> > Brad
> >
> >
> > -
> > 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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Brad K.
Yep, it installs fine. But activating the Java parts of the IDE doesn't 
work without being forced to download/install the nb-javac 
plugin/module. And I can't do that in the stand-alone network 
environment I'm in (air-gapped.)


So, I'm trying to find a way to install the nb-javac without Internet 
access. Everything I've tried always ends up with the IDE to keep asking 
to install nb-javac.


On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:

“installed over Oracle’s JDK 8”

What does this mean? NetBeans runs on any JDK from 8 onwards.

Gj



On Sat, 25 Dec 2021 at 21:51, Brad K.  wrote:

Hey all --

(I'm resending this since my original seems to have gotten lost.)

I've been trying to find a definitive yes or no to the question: can
Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
non-internet connected environment and successfully add nb-javac?

I work in gov't and our development network is completely
air-gapped to
everything.

Every time we try to start up a Java project, it asks us to install
nb-javac (as well as JavaFX stuff -- which is included in JDK 8.)
We've
tried downloading various versions of javac-api, javac-impl and
nb-javac
and the updater, plugins handler, etc., won't use any of them to meet
the nb-javac requirement plugin listed in the "Available Plugins"
dialog.

If it is possible, what are the actual directions? Is it posted
somewhere
and my Google-fu is lacking?

If its not possible, are there solutions that don't require Internet
connectivity? Could we setup our own plugin/update repo on our dev
net?

Please help!

V/r,

Brad


-
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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Geertjan Wielenga
“installed over Oracle’s JDK 8”

What does this mean? NetBeans runs on any JDK from 8 onwards.

Gj



On Sat, 25 Dec 2021 at 21:51, Brad K.  wrote:

> Hey all --
>
> (I'm resending this since my original seems to have gotten lost.)
>
> I've been trying to find a definitive yes or no to the question: can
> Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
> non-internet connected environment and successfully add nb-javac?
>
> I work in gov't and our development network is completely air-gapped to
> everything.
>
> Every time we try to start up a Java project, it asks us to install
> nb-javac (as well as JavaFX stuff -- which is included in JDK 8.) We've
> tried downloading various versions of javac-api, javac-impl and nb-javac
> and the updater, plugins handler, etc., won't use any of them to meet
> the nb-javac requirement plugin listed in the "Available Plugins" dialog.
>
> If it is possible, what are the actual directions? Is it posted somewhere
> and my Google-fu is lacking?
>
> If its not possible, are there solutions that don't require Internet
> connectivity? Could we setup our own plugin/update repo on our dev net?
>
> Please help!
>
> V/r,
>
> Brad
>
>
> -
> 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
>
>


Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-25 Thread Brad K.

Hey all --

(I'm resending this since my original seems to have gotten lost.)

I've been trying to find a definitive yes or no to the question: can
Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
non-internet connected environment and successfully add nb-javac?

I work in gov't and our development network is completely air-gapped to
everything.

Every time we try to start up a Java project, it asks us to install
nb-javac (as well as JavaFX stuff -- which is included in JDK 8.) We've
tried downloading various versions of javac-api, javac-impl and nb-javac
and the updater, plugins handler, etc., won't use any of them to meet
the nb-javac requirement plugin listed in the "Available Plugins" dialog.

If it is possible, what are the actual directions? Is it posted somewhere
and my Google-fu is lacking?

If its not possible, are there solutions that don't require Internet
connectivity? Could we setup our own plugin/update repo on our dev net?

Please help!

V/r,

Brad


-
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: Offline Install of Netbeans on JDK 8 (with nb-javac)

2021-12-22 Thread Brad K.

Hey all --

I've been trying to find a definitive yes or no to the question: can
Netbeans 11.3 (or later) be installed over Oracle's JDK 8 in a
non-internet connected environment and successfully add nb-javac?

I work in gov't and our development network is completely air-gapped to
everything.

Every time we try to start up a Java project, it asks us to install
nb-javac (as well as JavaFX stuff -- which is included in JDK 8.) We've
tried downloading various versions of javac-api, javac-impl and nb-javac
and the updater, plugins handler, etc., won't use any of them to meet
the nb-javac requirement plugin listed in the "Available Plugins" dialog.

If it is possible, what are the actual directions? Is it posted somewhere
and my Google-fu is lacking?

If its not possible, are there solutions that don't require Internet
connectivity? Could we setup our own plugin/update repo on our dev net?

Please help!

V/r,

Brad




-
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