Raspberry Pi setup the safe option
https://youtu.be/ebHbDlTnV-I I decided to go for the safe option by following these setup instruction keeping to the same versions of Netbeans and ejdk. Also I think the ssh server was playing about so I did the safe option again by reinstalling OS with rpi-imager and a headless setup by creating a blank file called ssh in the boot directory wpa_supplicant.conf with certain expected text and wifi credentials. Raspberry pi and the GPIO is such a pleasure to work with. Not like the past when you needed hardware engineers and data sheets and flashing stuff. On Fri, 15 Jan 2021, 02:32 Som Lima, wrote: > Just want to add that I have already done these setups. > > > http://www.raspirecipes.org/archives/218 > > > http://www.raspirecipes.org/archives/254 > > These setups use maven for compilation and ant for deployment and > execution on raspberry pi with eclipse. > > > On Fri, 15 Jan 2021, 00:08 Som Lima, wrote: > >> Strange but anyway. >> >> Now I have the option runtime platform in the window when ant based . >> >> Unlike the video I only have one item in the drop down list "runtime >> platform" which I cannot select. >> >> I have created a remote platform but the drop down list does not >> populate with it so I can't select it. >> >> >> Attachment select_154.png shows video netbeans 8 with two options in the >> drop down list. >> >> >> Attachment 161Gmail.png shows only the unselectable runtime platform >> and not RPi which I created. >> >> Attachment selection_153.png shows netbeans 12.1 with remote platform I >> created and tested. >> >> >> >> On Thu, 14 Jan 2021, 22:53 John Mc, wrote: >> >>> Hi, >>> >>> I'd guess it's because in the youtube video, they created an Ant based >>> Java Application in NetBeans 8, while in Apache NetBean 12.X Maven is the >>> default build tool when you create a new Java Application. >>> >>> When I create a new Ant based java project I have that option in the >>> project's properties. >>> >>> Regards >>> >>> John >>> >>> >>> >>> On Thu, 14 Jan 2021 at 22:13, Som Lima wrote: >>> Hi, I was following this video on how to use netbeans 12.1 for remote Java raspberry pi development. https://www.youtube.com/watch?v=MwymxhTjfYc In the video netbeans 8.0.2 is being used I am using netbeans 12.1. As you can see I cannot select runtime platform in the project properties-> run window because that option is missing. - 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: possibly naive question
Hi Scott- thanks a bunch - that did it! I’m ashamed to admit that I didn’t really think to look inside the app package :-( tom On Jan 15, 2021 at 11:47:44 AM, Scott Palmer wrote: > Have you tried digging into the app bundle and using the same command a > given before: > > /Applications/NetBeans/Apache\ NetBeans\ > 11.3.app/Contents/Resources/NetBeans/netbeans/bin/netbeans --open > file1[:line1]... > > On Fri, Jan 15, 2021 at 9:41 AM Thomas Wolf wrote: > >> Hi again, >> You wouldn’t happen to know how to do this on Mac, would you? I tried >> this: >> >> open -a /Applications/NetBeans/Apache\ NetBeans\ 11.3.app --args >> --open $PWD/try1.xml >> >> But this has two effects, depending on whether Netbeans is already >> running: if it is, Netbeans simply comes to the foreground, but the file is >> not opened. If Netbeans wasn’t running, it starts up and immediately quits >> again. >> >> Any further info much appreciated. >> Tom >> >> On Jan 14, 2021 at 11:07:57 PM, Laszlo Kishalmi < >> laszlo.kisha...@gmail.com> wrote: >> >>> Yes. It uses the existing opened instance if it's running. >>> >>> On 1/14/21 7:56 PM, Thomas Wolf wrote: >>> >>> Hey, thanks Lazlo - will that use a currently running netbeans if it’s >>> running? If so, this is good enough for me! Sorry for the poor wording - >>> when I said “remote” I should have said “external” (like outside the >>> netbeans process/jvm) >>> >>> >>> Thanks a bunch! >>> >>> tom >>> >>> >>> > On Jan 14, 2021, at 10:53 PM, Laszlo Kishalmi < >>> laszlo.kisha...@gmail.com> wrote: >>> >>> > >>> >>> > I do not know what and how the "remote" part would work, but you can >>> do from CLI: >>> >>> > >>> >>> > netbeans --open file1[:line1]... >>> >>> > >>> >>> > >>> >>> >> On 1/14/21 7:34 PM, Thomas Wolf wrote: >>> >>> >> I don’t know. But when I say “API”, I mean it in a loose sense: eg >>> in many OS file types can associated with an application so that when you >>> double-click on it, that file is opened. In some cases without another >>> instance of the application getting started. The passing of the file name >>> to the app is a kind of API. >>> >>> >> >>> >>> >> thanks, >>> >>> >> tom >>> >>> >> >>> >>> On Jan 14, 2021, at 8:22 PM, Mark A. Flacy >>> wrote: >>> >>> >>> Greetings, >>> >>> >>> >>> >>> >>> I must ask if there are other IDEs which do have such APIs enabled >>> by default. >>> >>> >>> I wouldn't want something like that to be available (by default) on >>> *any* IDE >>> >>> >>> that I use. >>> >>> >>> >>> >>> >>> -- >>> >>> >>> Mark A. Flacy >>> >>> >>> mfl...@verizon.net >>> >>> >>> >>> >>> On Thursday, January 14, 2021 5:30:21 PM CST Thomas Wolf wrote: >>> >>> Hi, >>> >>> This might be a dumb question: does Netbeans have an external API >>> (e.g. >>> >>> REST) that would allow a remote program to direct Netbeans to open >>> a file >>> >>> at a given line number? I have a program that does some analysis on >>> >>> application source code and then needs to let the user edit some >>> specific >>> >>> source files using whatever their favorite IDE. If possible, I’d >>> like to >>> >>> avoid writing my app as a plugin for each IDE. >>> >>> >>> >>> I’m not sure if this is actually the right mailing list to ask this >>> >>> question. Feel free to point me to another if it’s not. >>> >>> >>> >>> Thanks, >>> >>> Tom >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> - >>> >>> >>> 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: possibly naive question
Have you tried digging into the app bundle and using the same command a given before: /Applications/NetBeans/Apache\ NetBeans\ 11.3.app/Contents/Resources/NetBeans/netbeans/bin/netbeans --open file1[:line1]... On Fri, Jan 15, 2021 at 9:41 AM Thomas Wolf wrote: > Hi again, > You wouldn’t happen to know how to do this on Mac, would you? I tried > this: > > open -a /Applications/NetBeans/Apache\ NetBeans\ 11.3.app --args > --open $PWD/try1.xml > > But this has two effects, depending on whether Netbeans is already > running: if it is, Netbeans simply comes to the foreground, but the file is > not opened. If Netbeans wasn’t running, it starts up and immediately quits > again. > > Any further info much appreciated. > Tom > > On Jan 14, 2021 at 11:07:57 PM, Laszlo Kishalmi > wrote: > >> Yes. It uses the existing opened instance if it's running. >> >> On 1/14/21 7:56 PM, Thomas Wolf wrote: >> >> Hey, thanks Lazlo - will that use a currently running netbeans if it’s >> running? If so, this is good enough for me! Sorry for the poor wording - >> when I said “remote” I should have said “external” (like outside the >> netbeans process/jvm) >> >> >> Thanks a bunch! >> >> tom >> >> >> > On Jan 14, 2021, at 10:53 PM, Laszlo Kishalmi < >> laszlo.kisha...@gmail.com> wrote: >> >> > >> >> > I do not know what and how the "remote" part would work, but you can >> do from CLI: >> >> > >> >> > netbeans --open file1[:line1]... >> >> > >> >> > >> >> >> On 1/14/21 7:34 PM, Thomas Wolf wrote: >> >> >> I don’t know. But when I say “API”, I mean it in a loose sense: eg in >> many OS file types can associated with an application so that when you >> double-click on it, that file is opened. In some cases without another >> instance of the application getting started. The passing of the file name >> to the app is a kind of API. >> >> >> >> >> >> thanks, >> >> >> tom >> >> >> >> >> On Jan 14, 2021, at 8:22 PM, Mark A. Flacy >> wrote: >> >> >>> Greetings, >> >> >>> >> >> >>> I must ask if there are other IDEs which do have such APIs enabled by >> default. >> >> >>> I wouldn't want something like that to be available (by default) on >> *any* IDE >> >> >>> that I use. >> >> >>> >> >> >>> -- >> >> >>> Mark A. Flacy >> >> >>> mfl...@verizon.net >> >> >>> >> >> On Thursday, January 14, 2021 5:30:21 PM CST Thomas Wolf wrote: >> >> Hi, >> >> This might be a dumb question: does Netbeans have an external API >> (e.g. >> >> REST) that would allow a remote program to direct Netbeans to open a >> file >> >> at a given line number? I have a program that does some analysis on >> >> application source code and then needs to let the user edit some >> specific >> >> source files using whatever their favorite IDE. If possible, I’d >> like to >> >> avoid writing my app as a plugin for each IDE. >> >> >> >> I’m not sure if this is actually the right mailing list to ask this >> >> question. Feel free to point me to another if it’s not. >> >> >> >> Thanks, >> >> Tom >> >> >>> >> >> >>> >> >> >>> >> >> >>> - >> >> >>> 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: possibly naive question
Hi again, You wouldn’t happen to know how to do this on Mac, would you? I tried this: open -a /Applications/NetBeans/Apache\ NetBeans\ 11.3.app --args --open $PWD/try1.xml But this has two effects, depending on whether Netbeans is already running: if it is, Netbeans simply comes to the foreground, but the file is not opened. If Netbeans wasn’t running, it starts up and immediately quits again. Any further info much appreciated. Tom On Jan 14, 2021 at 11:07:57 PM, Laszlo Kishalmi wrote: > Yes. It uses the existing opened instance if it's running. > > On 1/14/21 7:56 PM, Thomas Wolf wrote: > > Hey, thanks Lazlo - will that use a currently running netbeans if it’s > running? If so, this is good enough for me! Sorry for the poor wording - > when I said “remote” I should have said “external” (like outside the > netbeans process/jvm) > > > Thanks a bunch! > > tom > > > > On Jan 14, 2021, at 10:53 PM, Laszlo Kishalmi > wrote: > > > > > > I do not know what and how the "remote" part would work, but you can do > from CLI: > > > > > > netbeans --open file1[:line1]... > > > > > > > > >> On 1/14/21 7:34 PM, Thomas Wolf wrote: > > >> I don’t know. But when I say “API”, I mean it in a loose sense: eg in > many OS file types can associated with an application so that when you > double-click on it, that file is opened. In some cases without another > instance of the application getting started. The passing of the file name > to the app is a kind of API. > > >> > > >> thanks, > > >> tom > > >> > > On Jan 14, 2021, at 8:22 PM, Mark A. Flacy > wrote: > > >>> Greetings, > > >>> > > >>> I must ask if there are other IDEs which do have such APIs enabled by > default. > > >>> I wouldn't want something like that to be available (by default) on > *any* IDE > > >>> that I use. > > >>> > > >>> -- > > >>> Mark A. Flacy > > >>> mfl...@verizon.net > > >>> > > On Thursday, January 14, 2021 5:30:21 PM CST Thomas Wolf wrote: > > Hi, > > This might be a dumb question: does Netbeans have an external API > (e.g. > > REST) that would allow a remote program to direct Netbeans to open a > file > > at a given line number? I have a program that does some analysis on > > application source code and then needs to let the user edit some > specific > > source files using whatever their favorite IDE. If possible, I’d > like to > > avoid writing my app as a plugin for each IDE. > > > > I’m not sure if this is actually the right mailing list to ask this > > question. Feel free to point me to another if it’s not. > > > > Thanks, > > Tom > > >>> > > >>> > > >>> > > >>> - > > >>> 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: [Netbeans platform] Illegal reflective access warning
Geertjan, thank you for your reply. I am continuing with this good tutorial. Richard Le ven. 15 janv. 2021 à 11:52, Geertjan Wielenga < geertjan.wiele...@googlemail.com> a écrit : > It’s unrelated to your code, it refers to something one of the JARs is > doing that is part of the NetBeans Platform. Don’t worry about it. > > Gj > > On Fri, 15 Jan 2021 at 11:49, Richard wrote: > >> Hello. >> >> I am using Netbeans 12 on Linux Mint 19.3 x64 OS in order to perform the >> four steps Netbeans platform tutorial "EventManager" which starts here : >> >> https://platform.netbeans.org/tutorials/nbm-selection-1.html >> >> I am able to run each step of the tutorial (currently the third one), >> but I am always receiving this warning: >> >> > WARNING: An illegal reflective access operation has occurred >> > WARNING: Illegal reflective access by >> > org.netbeans.ProxyURLStreamHandlerFactory >> > (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to >> > field java.net.URL.handler >> > WARNING: Please consider reporting this to the maintainers of >> > org.netbeans.ProxyURLStreamHandlerFactory >> > 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 >> >> I searched on internet and I found that other users reported this kind >> of warning (but not for the same class), but I did not find something >> that could help me. >> >> Is this warning already reported to the maintainers and the bug >> corrected in the last Netbeans 12.2 version ? >> >> Thanks in advance for infos. >> >> Richard >> >> >> - >> 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: [Netbeans platform] Illegal reflective access warning
It’s unrelated to your code, it refers to something one of the JARs is doing that is part of the NetBeans Platform. Don’t worry about it. Gj On Fri, 15 Jan 2021 at 11:49, Richard wrote: > Hello. > > I am using Netbeans 12 on Linux Mint 19.3 x64 OS in order to perform the > four steps Netbeans platform tutorial "EventManager" which starts here : > > https://platform.netbeans.org/tutorials/nbm-selection-1.html > > I am able to run each step of the tutorial (currently the third one), > but I am always receiving this warning: > > > WARNING: An illegal reflective access operation has occurred > > WARNING: Illegal reflective access by > > org.netbeans.ProxyURLStreamHandlerFactory > > (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to > > field java.net.URL.handler > > WARNING: Please consider reporting this to the maintainers of > > org.netbeans.ProxyURLStreamHandlerFactory > > 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 > > I searched on internet and I found that other users reported this kind > of warning (but not for the same class), but I did not find something > that could help me. > > Is this warning already reported to the maintainers and the bug > corrected in the last Netbeans 12.2 version ? > > Thanks in advance for infos. > > Richard > > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
[Netbeans platform] Illegal reflective access warning
Hello. I am using Netbeans 12 on Linux Mint 19.3 x64 OS in order to perform the four steps Netbeans platform tutorial "EventManager" which starts here : https://platform.netbeans.org/tutorials/nbm-selection-1.html I am able to run each step of the tutorial (currently the third one), but I am always receiving this warning: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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 I searched on internet and I found that other users reported this kind of warning (but not for the same class), but I did not find something that could help me. Is this warning already reported to the maintainers and the bug corrected in the last Netbeans 12.2 version ? Thanks in advance for infos. Richard - 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