Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
PS: “it all seems to work until the end” is like saying “everything went fine with the rocket launch, except for the ending”. On Sun, 13 Oct 2019 at 23:47, Geertjan Wielenga wrote: > 2014 is 5 years ago. That is not “a little dated”. If it were to work > today, I would be extremely surprised. I

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
2014 is 5 years ago. That is not “a little dated”. If it were to work today, I would be extremely surprised. If you can figure out what needs to be done, that would help, which would be great, otherwise I doubt anyone else will. Gj On Sun, 13 Oct 2019 at 23:42, Lou wrote: > I started with https

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Lou
I started with https://www.youtube.com/watch?v=ebHbDlTnV-I  It is a little dated (2014) but all seems to work until the end Looking at the directory structure on the Raspberry, the Remote Platform seems to create the structure in jre.  However, it looks to me tat the required library libjli.

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
OK, I see C:\\Program Files\\NetBeans-11.1 in there, but I don't think anyone has tried or verified that with Raspberry Pi, what would be the procedure to try that out? Gj On Sun, Oct 13, 2019 at 10:54 PM Geertjan Wielenga wrote: > What version of the JDK are you using? Which operating system,

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
What version of the JDK are you using? Which operating system, which version of NetBeans? Which steps did you follow, what must we do to reproduce the problem? Gj On Sun, Oct 13, 2019 at 10:53 PM Lou wrote: > I could use some help here. I'm new to NetBeans and don't have a clue > where to start

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Lou
I could use some help here. I'm new to NetBeans and don't have a clue where to start. Lou On 10/8/2019 10:13 PM, Lou wrote: When trying to add a remote embedded java platform on a Raspberry pi I get an error when I click Looking at the Raspberry file structure it looks like the jre gets

Re: [lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Patrik Karlström
Thank you Emilian, Marco and Geertjan. I'll read up on what you mentioned and try things out. Working on an alternative, pure JavaFX WindowSystem[1], I was looking for a way to handle dynamically created "editor documents", but after a short break I realized it can be done without lookup, the "edi

Re: Java project now needs classpaths to run it

2019-10-13 Thread Geertjan Wielenga
You appear to be talking about the “java” command line below, which has nothing at all to do with NetBeans. You seen to be using different versions of Java. Gj On Fri, 20 Sep 2019 at 16:44, Peter Toye wrote: > Having just moved from NB version 8 to 11.1 there seems to have been a > change in t

Re: Global plugin installation in Linux

2019-10-13 Thread Geertjan Wielenga
Yes, that is a good approach. In 11.2, we’re moving away from the JS parser needing to be installed separately, in 11.3 (January next year) we’ll hopefully be able to bundle C/C++ integration, and in 12.0 (April next year) we’ll hopefully not need to have users install nb-javac at startup. All th

Re: Global plugin installation in Linux

2019-10-13 Thread Emilian Bold
The CoolBeans distribution (http://coolbeans.xyz ) seems like a good fit for you. Based on 11.1, comes with the up-to-date C/C++ plugins. --emi On Sun, Oct 13, 2019 at 9:05 PM Nikos Platis wrote: > > Hello, > > I am maintaining a computer lab for my Department and students use Netbeans > for se

Global plugin installation in Linux

2019-10-13 Thread Nikos Platis
Hello, I am maintaining a computer lab for my Department and students use Netbeans for several courses. In version 8.2 the main plugins (for Java, C++) were installed for all users globally since a suitable package existed. In the new version 11.1, even for Java, each user has to install some pl

Re: [lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Emilian Bold
The Lookup is just a 'HashSet' where a single instance for your service is added at startup (more or less). That's the only relationship between the two. Creating further objects does not add them to the Lookup, they are just normal Java objects created with a constructor. I wonder if you could u

Re: [lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Geertjan Wielenga
Or get hold of leanpub.com/nbp4beginners It hasn’t been updated for some time, but I’ve not yet seen anything in it that needs updating. Gj On Sun, 13 Oct 2019 at 19:17, Marco Rossi wrote: > Hello Patrick, > > you should create your own Lookup where to put what you want. I called > this “Mutab

Re: [lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Marco Rossi
Hello Patrick, you should create your own Lookup where to put what you want. I called this “MutableLookup” (I’ve found it on the web). You can use the put method to add the instances or your objects to lookup. You could keep an instance of MutableLookup inside a TopComponent and call TopCompon

[lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Patrik Karlström
I feel somewhat stupid asking this one, but I just can't grip how to "publish" a "dynamically created" object so it will show up in lookupAll(). This is a really small library I'm working on and the only NetBeans dependency I have is org-openide-util-lookup, if that matters at all. The following