You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Brad K." <ze...@gmail.com> on 2022/01/04 14:17:24 UTC

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

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)
     at 
org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
     at 
org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
     at java.util.Optional.ifPresent(Optional.java:159)
     at 
org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
     at 
org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225)
     at 
org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292)
     at 
org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337)
     at 
org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
     at 
org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
     at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:97)
     at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:62)
     at 
org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
     at org.openide.util.Mutex.writeAccess(Mutex.java:291)
     at 
org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
     at 
org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
     at java.awt.EventQueue.access$500(EventQueue.java:97)
     at java.awt.EventQueue$3.run(EventQueue.java:709)
     at java.awt.EventQueue$3.run(EventQueue.java:703)
     at java.security.AccessController.doPrivileged(Native Method)
     at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
     at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
     at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
     at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

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. <ze...@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. <ze...@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. <ze...@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-unsubscribe@netbeans.apache.org
>     >     >     For additional commands, e-mail:
>     users-help@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-unsubscribe@netbeans.apache.org
>     >     For additional commands, e-mail: users-help@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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)

Posted by "Brad K." <ze...@gmail.com>.
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: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) 
> 
>      at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465) 
> 
>      at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895) 
> 
>      at java.util.Optional.ifPresent(Optional.java:159)
>      at 
> org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888) 
> 
>      at 
> org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225) 
> 
>      at 
> org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292) 
> 
>      at 
> org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337) 
> 
>      at 
> org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262) 
> 
>      at 
> org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162) 
> 
>      at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:97) 
> 
>      at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:62) 
> 
>      at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56) 
> 
>      at org.openide.util.Mutex.writeAccess(Mutex.java:291)
>      at 
> org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159) 
> 
>      at 
> org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115) 
> 
>      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>      at java.awt.EventQueue.access$500(EventQueue.java:97)
>      at java.awt.EventQueue$3.run(EventQueue.java:709)
>      at java.awt.EventQueue$3.run(EventQueue.java:703)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) 
> 
>      at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>      at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) 
> 
> [catch] at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) 
> 
>      at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) 
> 
>      at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) 
> 
>      at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>      at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
> 
> 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. <ze...@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. <ze...@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. <ze...@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-unsubscribe@netbeans.apache.org
>>     >     >     For additional commands, e-mail:
>>     users-help@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-unsubscribe@netbeans.apache.org
>>     >     For additional commands, e-mail: users-help@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


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

Posted by Eric Bresie <eb...@gmail.com>.
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
Ebresie@gmail.com (mailto:Ebresie@gmail.com)

> On January 14, 2022 at 6:34:06 PM CST, Brad K. <zelmak@gmail.com (mailto:zelmak@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. <zelmak@gmail.com (mailto:zelmak@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-unsubscribe@netbeans.apache.org (mailto:users-unsubscribe@netbeans.apache.org)
> For additional commands, e-mail: users-help@netbeans.apache.org (mailto:users-help@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)

Posted by "Brad K." <ze...@gmail.com>.
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. <ze...@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
> 
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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)

Posted by Neil C Smith <ne...@apache.org>.
On Fri, 7 Jan 2022 at 01:17, Brad K. <ze...@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

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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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)

Posted by "Brad K." <ze...@gmail.com>.
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. <ze...@gmail.com> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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)

Posted by Neil C Smith <ne...@apache.org>.
On Wed, 5 Jan 2022 at 00:25, Brad K. <ze...@gmail.com> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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)

Posted by "Brad K." <ze...@gmail.com>.
On 1/4/2022 8:31 AM, Neil C Smith wrote:
> On Tue, 4 Jan 2022 at 14:17, Brad K. <ze...@gmail.com> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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)

Posted by Neil C Smith <ne...@apache.org>.
On Tue, 4 Jan 2022 at 14:17, Brad K. <ze...@gmail.com> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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