Re: Netbeans12 Error Testing - JEP 359: Logs (Preview Function)

2020-06-29 Thread Gustavo Castro
I was able to solve the problem by uninstalling nb-javac, thanks

El lun., 29 jun. 2020 a las 21:02, Ty Young ()
escribió:

>
> On 6/29/20 9:54 PM, Gustavo Castro wrote:
>
> Hello
>
> Testing record in netbeans 12, the editor marks error, I have openjdk 14
> as default, disable the plugin "nb-javac" but cannot remove the error that
> the editor shows.
>
> [image: imagen.png]
>
> [image: imagen.png]
>
>
> Has anyone fixed this bug? thanks
>
>
> If you're running into it then no. You need to completely uninstall
> nb-java, not just disable it. Chances are the indentation bug still exists
> too, so watch out for that.
>
>
> Sadly, despite what I've experienced in the past, Netbeans 12's code
> completion doesn't work under some situations without nb-java still. If you
> run into any issues, reinstall nb-java.
>
>
>
>
> regards
>
>


Netbeans12 Error Testing - JEP 359: Logs (Preview Function)

2020-06-29 Thread Gustavo Castro
Hello

Testing record in netbeans 12, the editor marks error, I have openjdk 14 as
default, disable the plugin "nb-javac" but cannot remove the error that the
editor shows.

[image: imagen.png]

[image: imagen.png]


Has anyone fixed this bug? thanks


regards


Re: JDK

2019-11-28 Thread Gustavo Castro
see  https://openjfx.io/openjfx-docs/#JavaFX_and_NetBeans,

JavaFX 13 builds on top of JDK 13 and is a standalone component. There are
2 different options for developing JavaFX applications:

   - Use the JavaFX SDK 
   - Use a build system (e.g. maven/gradle) to download the required
   modules from Maven Central.


El mié., 27 nov. 2019 a las 13:47, Geertjan Wielenga ()
escribió:

> That's the reason for this:
> https://issues.apache.org/jira/browse/NETBEANS-3104
>
> And here's how to use those templates in the meantime:
> https://www.youtube.com/watch?v=8xaRwqcKPSI
>
> Gj
>
>
> On Wed, Nov 27, 2019 at 8:43 PM Neil C Smith 
> wrote:
>
>> On Wed, 27 Nov 2019 at 19:10, Geertjan Wielenga 
>> wrote:
>> > You’ll need to run on JDK 8 to use those. Better to simply use the
>> OpenJFX Gluon templates in the “Java with Maven" category.
>>
>> While being aware that you need to use Run Maven / Goals / javafx:run
>> rather than the normal Run in the IDE unless you set up the actions
>> correctly.  Those templates are a bit of a gotcha!
>>
>> 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: NB on Linux platform and Java FX trouble

2019-11-25 Thread Gustavo Castro
see you https://openjfx.io/openjfx-docs/

El lun., 25 nov. 2019 a las 8:57, Geertjan Wielenga ()
escribió:

> Sorry, wrong video, meant this one:
>
> https://www.youtube.com/watch?v=8xaRwqcKPSI
>
> Gj
>
> On Mon, Nov 25, 2019 at 3:56 PM Geertjan Wielenga 
> wrote:
>
>> Use Maven, like this:
>>
>> https://www.youtube.com/watch?v=l9aoicDiQ_A
>>
>> Gj
>>
>> On Mon, Nov 25, 2019 at 3:53 PM Luciano Schiavone <
>> luciano.schiav...@gmail.com> wrote:
>>
>>> I installed NB 11.2 on Linux Mint 19 (Tina) with openjdk-11-jdk and
>>> libopenjfx-java.
>>>
>>> When I try to create a Java FXML application NB tells me that the
>>> platform doesn't support Java FX. There is anybody else who had the same
>>> problem?
>>>
>>


Re: NetBeans java minimum requirements

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

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


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

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


Re: Darcula plugin

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





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

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

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