RE: FW: screenshot

2019-09-21 Thread Walter Oney
Yay! I found a real bug! Color me technical! Trivia points to whoever can correctly identify the first use of the phrase "color me..." in public discourse. Hint: it's obscuah. -Original Message- From: Neil C Smith Sent: Saturday, September 21, 2019 1:45 PM To: Geertjan Wielenga Cc: Wa

Re: FW: screenshot

2019-09-21 Thread Neil C Smith
On Sat, 21 Sep 2019, 18:38 Geertjan Wielenga, wrote: > That setting is set in etc/netbeans.conf in the installation dir but, > again, if that is wrong then NetBeans itself won’t start up at all. > I've definitely seen the reported error before, and it doesn't affect NetBeans starting. Not sure i

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
That setting is set in etc/netbeans.conf in the installation dir but, again, if that is wrong then NetBeans itself won’t start up at all. Gj On Sat, 21 Sep 2019 at 19:35, Walter Oney wrote: > Thanks for the attaboy. This was on Ubuntu, though, not Windows. > > I used to find it helpful to know

RE: FW: screenshot

2019-09-21 Thread Walter Oney
Thanks for the attaboy. This was on Ubuntu, though, not Windows. I used to find it helpful to know how someone else approached a problem. In this case, I reasoned that there had to be a configuration variable, or something like it, but GREP didn't turn up any text files. So then I guessed that

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
Great work in identifying the problem, Walter, and confirming it, Giovanni. The question that remains for me is hoe NetBeans could be started at all if the JDK could not be found. Also, whether this is specific to Windows or not. Once the above is clarified, let’s file an issue to fix this. Gj

Re: FW: screenshot

2019-09-21 Thread Giommarresi ing. Giovanni
Hi, same problem for me (Windows), no main class; I corrected the JVM path (as suggested by Walter Oney) and now it works. Thanks list Ciao Il 21/09/2019 14:55, Walter Oney ha scritto: Problem solved. The Apache Netbeans installer prompts for the location of the JDK, with a default of "/usr".

Re: FW: screenshot

2019-09-21 Thread Carl Mosca
I am glad it was solved and I would like to try to replicate that issue because I have installed NB on Linux, Windows, and macOS many times over the years but I don't recall seeing this. Of course if could be that out of habit I navigate to what I want to use as the default JDK. I tend to keep mu

RE: FW: screenshot

2019-09-21 Thread Walter Oney
Problem solved. The Apache Netbeans installer prompts for the location of the JDK, with a default of "/usr". By supplying the correct path (/usr/lib/jvm/), I ended up with a working IDE. I know from long, hard experience how hard it is to write robust installation programs. May I diffidently su

RE: FW: screenshot

2019-09-21 Thread Walter Oney
From: Carl Mosca > I have always been impressed with how extensive the tests (and associated > instructions) are so I would not be surprised if the answer is yes. Given the age and pervasiveness of NetBeans, I would be surprised if the elementary thing I've attempted was *not* covered by a st

Re: FW: screenshot

2019-09-21 Thread Carl Mosca
I have seen an issue where NetBeans does not have the main class selected but not what is being described here. While it's on my mind, since I generally focus on debugging during NetCAT time, I don't know/recall if this "issue/behavior" covered in the tests for the IDE. I have always been impress

Re: Problem using NetBeans on Ubuntu

2019-09-21 Thread Carl Mosca
Thanks Neil. I was starting to wonder if all of the Applet stuff we have lived through was a dream. Did not say nightmare because it wasn't necessarily bad, just a part of history. :) On Sat, Sep 21, 2019 at 4:53 AM Neil C Smith wrote: > On Sat, 21 Sep 2019 at 05:04, Walter Oney wrote: > > Cr

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
Hey, it's a Saturday afternoon here and I'm helping you for free. :-) I'm simply asking you to follow the instructions as stated in the YouTube clip so that we can find out exactly where things are going wrong -- will you help me to help you, please? Gj On Sat, Sep 21, 2019 at 12:37 PM Walter One

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
Also, the screenshot shows that there are errors in NetBeans somehow. Suggest you close NetBeans and start with a fresh user directory (go to etc/netbeans.conf in your installation directory and change the cachedir and userdir settings to non-existent folders and they'll be recreated). Gj On Sat,

RE: FW: screenshot

2019-09-21 Thread Walter Oney
Still no main class choices in the pop-up. I don't see why there would be if the .java file isn't actually a part of the build script. > And following instructions means naming things the same as in the > instructions. Just follow the instructions in the YouTube clip as exactly as > you can, in

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
And following instructions means naming things the same as in the instructions. Just follow the instructions in the YouTube clip as exactly as you can, including the names of everything, and if you still can't run it, just do a clean on your Maven project and put it on GitHub and tell us where to f

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
Type 'main' or 'psvm' and then press Tab. And when you right-click the project, choose 'Run', not 'Build'. Gj On Sat, Sep 21, 2019 at 12:31 PM Walter Oney wrote: > Another difference: I don't get the same auto-complete behavior you did > when you typed "main". Did you perhaps hit a shortcut ke

RE: FW: screenshot

2019-09-21 Thread Walter Oney
Another difference: I don't get the same auto-complete behavior you did when you typed "main". Did you perhaps hit a shortcut key at that point? -Original Message- From: Walter Oney Sent: Saturday, September 21, 2019 6:28 AM To: 'Geertjan Wielenga' Cc: 'Carl Mosca' ; 'Neil C Smith' ;

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
https://youtu.be/HcmcOMZQ0TM Created that especially for you and hope it helps you. Gj On Sat, Sep 21, 2019 at 11:59 AM Geertjan Wielenga wrote: > You probably mean an empty project. And indeed, no main class can be found > because there's no source file at all. So create one and create a mai

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
You probably mean an empty project. And indeed, no main class can be found because there's no source file at all. So create one and create a main class within it. Gj On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga wrote: > What is “a project with a class but no source file”? > > Gj > > On Sa

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
What is “a project with a class but no source file”? Gj On Sat, 21 Sep 2019 at 11:50, Walter Oney wrote: > With "Java with Maven" I get a project with a class but no source file. > Attempting to run gives the same apparent error pop-up that there's no main > class. > > Using "Java with Gradle"

RE: FW: screenshot

2019-09-21 Thread Walter Oney
With "Java with Maven" I get a project with a class but no source file. Attempting to run gives the same apparent error pop-up that there's no main class. Using "Java with Gradle" earns me a message that there's no valid Java platform for key default_platform. -Original Message- From:

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
Now can you try to reproduce the same problem with the Java Application (the first template, right at the top) in “Java with Maven”? Gj On Sat, 21 Sep 2019 at 11:40, Walter Oney wrote: > I chose category "Java with Ant" and project "Java Application" > > -Original Message- > From: Walte

RE: FW: screenshot

2019-09-21 Thread Walter Oney
I chose category "Java with Ant" and project "Java Application" -Original Message- From: Walter Oney Sent: Saturday, September 21, 2019 5:22 AM To: 'Geertjan Wielenga' Cc: 'Carl Mosca' ; 'Neil C Smith' ; 'NetBeans Mailing List' Subject: RE: FW: screenshot > No, I don’t. Are you using

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
When you create your Java application, you do so from the New Project dialog. When you are in the New Project dialog, there is no category called “Java” in 11.1. That is why I am still confused and unable to help. Gj On Sat, 21 Sep 2019 at 11:21, Walter Oney wrote: > > No, I don’t. Are you usi

RE: FW: screenshot

2019-09-21 Thread Walter Oney
> No, I don’t. Are you using ‘Java with Maven’ or ‘Java with Ant’? I must be missing something major. The screen shot plainly shows that I'm using Apache NetBeans 11.1 with Ant. Normally, I would think that I've done something wrong, because I learned sometime around 1965 that computers and well

Re: Problem using NetBeans on Ubuntu

2019-09-21 Thread Neil C Smith
On Sat, 21 Sep 2019 at 05:04, Walter Oney wrote: > Create new project, Java, Java application, then accept all defaults. I > wouldn't dignify a throwaway program like this as an "application" Well, calling anything an Applet in a Java context is only going to confuse everyone! Best wishes, Nei

Re: FW: screenshot

2019-09-21 Thread Geertjan Wielenga
No, I don’t. Are you using ‘Java with Maven’ or ‘Java with Ant’? Gj On Sat, 21 Sep 2019 at 10:18, Walter Oney wrote: > > Nope, if you’re doing the above, you’re not using 11.1. > > Want to rethink that? > > -- > Walter C. Oney, Jr., Esq. > 267 Pearl Hill Rd., Fitchburg, MA 01420 > Tel.: 978-343

Re: Problem using NetBeans on Ubuntu

2019-09-21 Thread Geertjan Wielenga
On Sat, 21 Sep 2019 at 06:04, Walter Oney wrote: > From: Carl Mosca > > I am not sure about the file transfer part (Samba?) but given that it's > small, you might copy the contents from the Output window for the build. > > I e-mailed the output log to myself. Here it is, sans reasonable > format