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: Walter Oney ; Giommarresi ing. Giovanni 
; NetBeans Mailing List 
Subject: Re: FW: screenshot



On Sat, 21 Sep 2019, 18:38 Geertjan Wielenga, mailto:geert...@apache.org> > 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 if it's reproducible without the installer - haven't used 
the installer since 8.2 times. When I get a chance I'll see if I can reproduce 
again.

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: 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 if it's reproducible without the installer -
haven't used the installer since 8.2 times. When I get a chance I'll see if
I can reproduce again.

Best wishes,

Neil


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 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-installing might reset that variable. When I saw "/usr" as
> the default JDK path during the install, I realized I had found the
> solution because that was the path for the broken platform.
>
> -Original Message-
> From: Geertjan Wielenga 
> Sent: Saturday, September 21, 2019 1:06 PM
> To: Giommarresi ing. Giovanni 
> Cc: users@netbeans.apache.org
> Subject: Re: FW: screenshot
>
> 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
>
> On Sat, 21 Sep 2019 at 17:43, Giommarresi ing. Giovanni   > wrote:
>
>
> 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". 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 suggest that the Netbeans
> installer needs to verify that a valid path is supplied in the answer to
> that dialog? And that the library edit dialog permit the user to delete the
> default library, so as not to require a delete (a superuser thing) and
> reinstall.? Just sayin...
> >
> > -Original Message-
> > From: Walter Oney  walter.o...@oneylaw.com> >
> > Sent: Saturday, September 21, 2019 8:32 AM
> > To: 'Carl Mosca'  carljmo...@gmail.com> >; 'Geertjan Wielenga'  geert...@apache.org> >
> > Cc: 'Neil C Smith'  neilcsm...@apache.org> >; 'NetBeans Mailing List' <
> users@netbeans.apache.org  >
> > Subject: RE: FW: screenshot
> >
> > From: Carl Mosca  carljmo...@gmail.com> >
> >
> >> 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
> standard test. What I have observed, though, is that a brand new user
> attempts things that QA wouldn't think of doing. It's likely that I've
> installed the wrong version of something, or omitted to put something in
> the PATH, or omitted to set the permissions on some directory, or something
> outlandish like that.
> >
> > Based on what I've reported so far, I think the problem has to
> be with NetBeans and not with either Ant or Maven. A likely culprit would
> be the JDK and, specifically, whatever calls NetBeans makes to Java-like
> things as it's creating new projects. I don't recall specifically where I
> got the JDK from, but I probably did a search within Firefox (using
> whatever Firefox's default search engine is) and picked the top choice from
> among the search results.
> >
> > All of a sudden, perhaps since I started trying to use Maven,
> NetBeans is now listing the default library (JDK version 11) as a "broken
> platform".  The edit dialog is letting me add a different platform (the
> same one Ant tells me to look in to find the java runtime), but it's not
> letting me delete the broken one. Perhaps getting past this roadblock would
> lead to a better outcome?
> >
> > --
> > Walter C. Oney, Jr., Esq.
> > 267 Pearl Hill Rd., Fitchburg, MA 01420
> > Tel.: 978-343-3390
> > http://www.oneylaw.com
> >
> >
> >
> >
> >
> -
> > 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: 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-installing might reset that variable. When I saw "/usr" as the default 
JDK path during the install, I realized I had found the solution because that 
was the path for the broken platform.

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 21, 2019 1:06 PM
To: Giommarresi ing. Giovanni 
Cc: users@netbeans.apache.org
Subject: Re: FW: screenshot

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

On Sat, 21 Sep 2019 at 17:43, Giommarresi ing. Giovanni mailto:i...@studiogg.it> > wrote:


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". 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 suggest that the Netbeans installer 
needs to verify that a valid path is supplied in the answer to that dialog? And 
that the library edit dialog permit the user to delete the default library, so 
as not to require a delete (a superuser thing) and reinstall.? Just sayin...
>
> -Original Message-
> From: Walter Oney mailto:walter.o...@oneylaw.com> >
> Sent: Saturday, September 21, 2019 8:32 AM
> To: 'Carl Mosca' mailto:carljmo...@gmail.com> 
>; 'Geertjan Wielenga' mailto:geert...@apache.org> >
> Cc: 'Neil C Smith' mailto:neilcsm...@apache.org> >; 'NetBeans Mailing List' 
mailto:users@netbeans.apache.org> >
> Subject: RE: FW: screenshot
>
> From: Carl Mosca mailto:carljmo...@gmail.com> >
>
>> 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 standard test. What 
I have observed, though, is that a brand new user attempts things that QA 
wouldn't think of doing. It's likely that I've installed the wrong version of 
something, or omitted to put something in the PATH, or omitted to set the 
permissions on some directory, or something outlandish like that.
>
> Based on what I've reported so far, I think the problem has to be 
with NetBeans and not with either Ant or Maven. A likely culprit would be the 
JDK and, specifically, whatever calls NetBeans makes to Java-like things as 
it's creating new projects. I don't recall specifically where I got the JDK 
from, but I probably did a search within Firefox (using whatever Firefox's 
default search engine is) and picked the top choice from among the search 
results.
>
> All of a sudden, perhaps since I started trying to use Maven, 
NetBeans is now listing the default library (JDK version 11) as a "broken 
platform".  The edit dialog is letting me add a different platform (the same 
one Ant tells me to look in to find the java runtime), but it's not letting me 
delete the broken one. Perhaps getting past this roadblock would lead to a 
better outcome?
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
> -
> 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 

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

On Sat, 21 Sep 2019 at 17:43, Giommarresi ing. Giovanni 
wrote:

> 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". 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 suggest that the Netbeans
> installer needs to verify that a valid path is supplied in the answer to
> that dialog? And that the library edit dialog permit the user to delete the
> default library, so as not to require a delete (a superuser thing) and
> reinstall.? Just sayin...
> >
> > -Original Message-
> > From: Walter Oney 
> > Sent: Saturday, September 21, 2019 8:32 AM
> > To: 'Carl Mosca' ; 'Geertjan Wielenga' <
> geert...@apache.org>
> > Cc: 'Neil C Smith' ; 'NetBeans Mailing List' <
> users@netbeans.apache.org>
> > Subject: RE: FW: screenshot
> >
> > 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 standard test. What
> I have observed, though, is that a brand new user attempts things that QA
> wouldn't think of doing. It's likely that I've installed the wrong version
> of something, or omitted to put something in the PATH, or omitted to set
> the permissions on some directory, or something outlandish like that.
> >
> > Based on what I've reported so far, I think the problem has to be with
> NetBeans and not with either Ant or Maven. A likely culprit would be the
> JDK and, specifically, whatever calls NetBeans makes to Java-like things as
> it's creating new projects. I don't recall specifically where I got the JDK
> from, but I probably did a search within Firefox (using whatever Firefox's
> default search engine is) and picked the top choice from among the search
> results.
> >
> > All of a sudden, perhaps since I started trying to use Maven, NetBeans
> is now listing the default library (JDK version 11) as a "broken
> platform".  The edit dialog is letting me add a different platform (the
> same one Ant tells me to look in to find the java runtime), but it's not
> letting me delete the broken one. Perhaps getting past this roadblock would
> lead to a better outcome?
> >
> > --
> > Walter C. Oney, Jr., Esq.
> > 267 Pearl Hill Rd., Fitchburg, MA 01420
> > Tel.: 978-343-3390
> > http://www.oneylaw.com
> >
> >
> >
> >
> > -
> > 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: 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". 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 suggest that the Netbeans installer needs to verify 
that a valid path is supplied in the answer to that dialog? And that the 
library edit dialog permit the user to delete the default library, so as not to 
require a delete (a superuser thing) and reinstall.? Just sayin...

-Original Message-
From: Walter Oney 
Sent: Saturday, September 21, 2019 8:32 AM
To: 'Carl Mosca' ; 'Geertjan Wielenga' 

Cc: 'Neil C Smith' ; 'NetBeans Mailing List' 

Subject: RE: FW: screenshot

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 standard test. What I 
have observed, though, is that a brand new user attempts things that QA 
wouldn't think of doing. It's likely that I've installed the wrong version of 
something, or omitted to put something in the PATH, or omitted to set the 
permissions on some directory, or something outlandish like that.

Based on what I've reported so far, I think the problem has to be with NetBeans 
and not with either Ant or Maven. A likely culprit would be the JDK and, 
specifically, whatever calls NetBeans makes to Java-like things as it's 
creating new projects. I don't recall specifically where I got the JDK from, 
but I probably did a search within Firefox (using whatever Firefox's default 
search engine is) and picked the top choice from among the search results.

All of a sudden, perhaps since I started trying to use Maven, NetBeans is now listing the 
default library (JDK version 11) as a "broken platform".  The edit dialog is 
letting me add a different platform (the same one Ant tells me to look in to find the 
java runtime), but it's not letting me delete the broken one. Perhaps getting past this 
roadblock would lead to a better outcome?

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: 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 multiple versions on my machines for various reasons.





On Sat, Sep 21, 2019 at 8:55 AM Walter Oney  wrote:

> 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 suggest that the Netbeans
> installer needs to verify that a valid path is supplied in the answer to
> that dialog? And that the library edit dialog permit the user to delete the
> default library, so as not to require a delete (a superuser thing) and
> reinstall.? Just sayin...
>
> -Original Message-
> From: Walter Oney 
> Sent: Saturday, September 21, 2019 8:32 AM
> To: 'Carl Mosca' ; 'Geertjan Wielenga' <
> geert...@apache.org>
> Cc: 'Neil C Smith' ; 'NetBeans Mailing List' <
> users@netbeans.apache.org>
> Subject: RE: FW: screenshot
>
> 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 standard test. What
> I have observed, though, is that a brand new user attempts things that QA
> wouldn't think of doing. It's likely that I've installed the wrong version
> of something, or omitted to put something in the PATH, or omitted to set
> the permissions on some directory, or something outlandish like that.
>
> Based on what I've reported so far, I think the problem has to be with
> NetBeans and not with either Ant or Maven. A likely culprit would be the
> JDK and, specifically, whatever calls NetBeans makes to Java-like things as
> it's creating new projects. I don't recall specifically where I got the JDK
> from, but I probably did a search within Firefox (using whatever Firefox's
> default search engine is) and picked the top choice from among the search
> results.
>
> All of a sudden, perhaps since I started trying to use Maven, NetBeans is
> now listing the default library (JDK version 11) as a "broken platform".
> The edit dialog is letting me add a different platform (the same one Ant
> tells me to look in to find the java runtime), but it's not letting me
> delete the broken one. Perhaps getting past this roadblock would lead to a
> better outcome?
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
> -
> 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
>
>

-- 
Carl J. Mosca


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 suggest that the Netbeans installer needs to verify 
that a valid path is supplied in the answer to that dialog? And that the 
library edit dialog permit the user to delete the default library, so as not to 
require a delete (a superuser thing) and reinstall.? Just sayin...

-Original Message-
From: Walter Oney  
Sent: Saturday, September 21, 2019 8:32 AM
To: 'Carl Mosca' ; 'Geertjan Wielenga' 

Cc: 'Neil C Smith' ; 'NetBeans Mailing List' 

Subject: RE: FW: screenshot

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 standard test. What I 
have observed, though, is that a brand new user attempts things that QA 
wouldn't think of doing. It's likely that I've installed the wrong version of 
something, or omitted to put something in the PATH, or omitted to set the 
permissions on some directory, or something outlandish like that.

Based on what I've reported so far, I think the problem has to be with NetBeans 
and not with either Ant or Maven. A likely culprit would be the JDK and, 
specifically, whatever calls NetBeans makes to Java-like things as it's 
creating new projects. I don't recall specifically where I got the JDK from, 
but I probably did a search within Firefox (using whatever Firefox's default 
search engine is) and picked the top choice from among the search results.

All of a sudden, perhaps since I started trying to use Maven, NetBeans is now 
listing the default library (JDK version 11) as a "broken platform".  The edit 
dialog is letting me add a different platform (the same one Ant tells me to 
look in to find the java runtime), but it's not letting me delete the broken 
one. Perhaps getting past this roadblock would lead to a better outcome?

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: 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 standard test. What I 
have observed, though, is that a brand new user attempts things that QA 
wouldn't think of doing. It's likely that I've installed the wrong version of 
something, or omitted to put something in the PATH, or omitted to set the 
permissions on some directory, or something outlandish like that.

Based on what I've reported so far, I think the problem has to be with NetBeans 
and not with either Ant or Maven. A likely culprit would be the JDK and, 
specifically, whatever calls NetBeans makes to Java-like things as it's 
creating new projects. I don't recall specifically where I got the JDK from, 
but I probably did a search within Firefox (using whatever Firefox's default 
search engine is) and picked the top choice from among the search results.

All of a sudden, perhaps since I started trying to use Maven, NetBeans is now 
listing the default library (JDK version 11) as a "broken platform".  The edit 
dialog is letting me add a different platform (the same one Ant tells me to 
look in to find the java runtime), but it's not letting me delete the broken 
one. Perhaps getting past this roadblock would lead to a better outcome?

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




-
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: 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 impressed with how extensive the tests (and associated
instructions) are so I would not be surprised if the answer is yes.

On Sat, Sep 21, 2019 at 6:39 AM Geertjan Wielenga 
wrote:

> 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 Oney 
> wrote:
>
>> 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, including the names of everything,
>>
>> If the build system depends on renaming things from their defaults, then
>> it is truly broken and not worth my effort to learn. I think we're done.
>>
>> -Original Message-
>> From: Geertjan Wielenga 
>> Sent: Saturday, September 21, 2019 6:33 AM
>> To: Walter Oney 
>> Cc: Carl Mosca ; Neil C Smith <
>> neilcsm...@apache.org>; NetBeans Mailing List 
>> Subject: Re: FW: screenshot
>>
>> 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 key at that
>> point?
>>
>> -Original Message-
>> From: Walter Oney > walter.o...@oneylaw.com> >
>> Sent: Saturday, September 21, 2019 6:28 AM
>> To: 'Geertjan Wielenga' > geert...@apache.org> >
>> Cc: 'Carl Mosca' > carljmo...@gmail.com> >; 'Neil C Smith' > neilcsm...@apache.org> >; 'NetBeans Mailing List' <
>> users@netbeans.apache.org  >
>> Subject: RE: FW: screenshot
>>
>> When I follow those directions as accurately as I can, I end up
>> with what you see in the attached screen shot. The .java file is apparently
>> not part of the project, however, because I don't have the option to
>> compile it when I right-click on it within the project pane. You can also
>> see that the build says there are no source files to compile. Attempting to
>> run this app gives me the same pop-up error that I get with Ant, with a
>> list of alternative main classes containing just "".
>>
>> -Original Message-
>> From: Geertjan Wielenga > geert...@apache.org> >
>> Sent: Saturday, September 21, 2019 6:07 AM
>> To: Walter Oney > walter.o...@oneylaw.com> >
>> Cc: Carl Mosca mailto:carljmo...@gmail.com>
>> >; Neil C Smith mailto:neilcsm...@apache.org> >;
>> NetBeans Mailing List > users@netbeans.apache.org> >
>> Subject: Re: FW: screenshot
>>
>> 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 <
>> geert...@apache.org   > geert...@apache.org  > > 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 main class within it.
>>
>> Gj
>>
>> On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga <
>> geert...@apache.org   > geert...@apache.org  > > wrote:
>>
>>
>> What is “a project with a class but no source
>> file”?
>>
>> Gj
>>
>> On Sat, 21 Sep 2019 at 11:50, Walter Oney <
>> walter.o...@oneylaw.com   > walter.o...@oneylaw.com  > > 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" earns me a
>> message that there's no valid Java platform for key default_platform.
>>
>> -Original Message-
>> From: Geertjan Wielenga <
>> geert...@apache.org   > geert...@apache.org  > >
>> Sent: Saturday, 

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:
> > 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,
>
> 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
>
>

-- 
Carl J. Mosca


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 Oney 
wrote:

> 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, including the names of everything,
>
> If the build system depends on renaming things from their defaults, then
> it is truly broken and not worth my effort to learn. I think we're done.
>
> -Original Message-
> From: Geertjan Wielenga 
> Sent: Saturday, September 21, 2019 6:33 AM
> To: Walter Oney 
> Cc: Carl Mosca ; Neil C Smith ;
> NetBeans Mailing List 
> Subject: Re: FW: screenshot
>
> 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 key at that
> point?
>
> -Original Message-
> From: Walter Oney  walter.o...@oneylaw.com> >
> Sent: Saturday, September 21, 2019 6:28 AM
> To: 'Geertjan Wielenga'  geert...@apache.org> >
> Cc: 'Carl Mosca'  carljmo...@gmail.com> >; 'Neil C Smith'  neilcsm...@apache.org> >; 'NetBeans Mailing List' <
> users@netbeans.apache.org  >
> Subject: RE: FW: screenshot
>
> When I follow those directions as accurately as I can, I end up
> with what you see in the attached screen shot. The .java file is apparently
> not part of the project, however, because I don't have the option to
> compile it when I right-click on it within the project pane. You can also
> see that the build says there are no source files to compile. Attempting to
> run this app gives me the same pop-up error that I get with Ant, with a
> list of alternative main classes containing just "".
>
> -Original Message-
> From: Geertjan Wielenga  geert...@apache.org> >
> Sent: Saturday, September 21, 2019 6:07 AM
> To: Walter Oney  walter.o...@oneylaw.com> >
> Cc: Carl Mosca mailto:carljmo...@gmail.com>
> >; Neil C Smith mailto:neilcsm...@apache.org> >;
> NetBeans Mailing List  users@netbeans.apache.org> >
> Subject: Re: FW: screenshot
>
> 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 <
> geert...@apache.org    geert...@apache.org  > > 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 main class within it.
>
> Gj
>
> On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga <
> geert...@apache.org    geert...@apache.org  > > wrote:
>
>
> What is “a project with a class but no source
> file”?
>
> Gj
>
> On Sat, 21 Sep 2019 at 11:50, Walter Oney <
> walter.o...@oneylaw.com    walter.o...@oneylaw.com  > > 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" earns me a
> message that there's no valid Java platform for key default_platform.
>
> -Original Message-
> From: Geertjan Wielenga <
> geert...@apache.org    geert...@apache.org  > >
> Sent: Saturday, September 21, 2019 5:45 AM
> To: Walter Oney     > >
> Cc: Carl Mosca     > >; Neil C Smith  neilcsm...@apache.org>   > >; NetBeans Mailing List <
> users@netbeans.apache.org    users@netbeans.apache.org  > >
> Subject: Re: FW: screenshot
>
>  

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, Sep 21, 2019 at 12:34 PM Geertjan Wielenga 
wrote:

> 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 find it so that we can take a look at it.
>
> Gj
>
> On Sat, Sep 21, 2019 at 12:32 PM Geertjan Wielenga 
> wrote:
>
>> 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 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' <
>>> neilcsm...@apache.org>; 'NetBeans Mailing List' <
>>> users@netbeans.apache.org>
>>> Subject: RE: FW: screenshot
>>>
>>> When I follow those directions as accurately as I can, I end up with
>>> what you see in the attached screen shot. The .java file is apparently not
>>> part of the project, however, because I don't have the option to compile it
>>> when I right-click on it within the project pane. You can also see that the
>>> build says there are no source files to compile. Attempting to run this app
>>> gives me the same pop-up error that I get with Ant, with a list of
>>> alternative main classes containing just "".
>>>
>>> -Original Message-
>>> From: Geertjan Wielenga 
>>> Sent: Saturday, September 21, 2019 6:07 AM
>>> To: Walter Oney 
>>> Cc: Carl Mosca ; Neil C Smith <
>>> neilcsm...@apache.org>; NetBeans Mailing List >> >
>>> Subject: Re: FW: screenshot
>>>
>>> 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 main class within it.
>>>
>>> Gj
>>>
>>> On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga <
>>> geert...@apache.org  > wrote:
>>>
>>>
>>> What is “a project with a class but no source file”?
>>>
>>> Gj
>>>
>>> On Sat, 21 Sep 2019 at 11:50, Walter Oney <
>>> walter.o...@oneylaw.com  > 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" earns me a message that
>>> there's no valid Java platform for key default_platform.
>>>
>>> -Original Message-
>>> From: Geertjan Wielenga >>  >
>>> Sent: Saturday, September 21, 2019 5:45 AM
>>> To: Walter Oney >>  >
>>> Cc: Carl Mosca >> carljmo...@gmail.com> >; Neil C Smith >> neilcsm...@apache.org> >; NetBeans Mailing List <
>>> users@netbeans.apache.org  >
>>> Subject: Re: FW: screenshot
>>>
>>> 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 <
>>> walter.o...@oneylaw.com   >> walter.o...@oneylaw.com  > > wrote:
>>>
>>>
>>> I chose category "Java with Ant" and
>>> project "Java Application"
>>>
>>> -Original Message-
>>> From: Walter Oney <
>>> walter.o...@oneylaw.com   >> walter.o...@oneylaw.com  > >
>>> Sent: Saturday, September 21, 2019 5:22
>>> AM
>>> To: 'Geertjan Wielenga' <
>>> geert...@apache.org   >> geert...@apache.org  > >
>>> Cc: 'Carl Mosca' >> 

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, including the names of everything, 

If the build system depends on renaming things from their defaults, then it is 
truly broken and not worth my effort to learn. I think we're done.

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 21, 2019 6:33 AM
To: Walter Oney 
Cc: Carl Mosca ; Neil C Smith ; 
NetBeans Mailing List 
Subject: Re: FW: screenshot

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 mailto:walter.o...@oneylaw.com> > wrote:


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 mailto:walter.o...@oneylaw.com> > 
Sent: Saturday, September 21, 2019 6:28 AM
To: 'Geertjan Wielenga' mailto:geert...@apache.org> >
Cc: 'Carl Mosca' mailto:carljmo...@gmail.com> >; 
'Neil C Smith' mailto:neilcsm...@apache.org> >; 
'NetBeans Mailing List' mailto:users@netbeans.apache.org> >
Subject: RE: FW: screenshot

When I follow those directions as accurately as I can, I end up with 
what you see in the attached screen shot. The .java file is apparently not part 
of the project, however, because I don't have the option to compile it when I 
right-click on it within the project pane. You can also see that the build says 
there are no source files to compile. Attempting to run this app gives me the 
same pop-up error that I get with Ant, with a list of alternative main classes 
containing just "".

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 21, 2019 6:07 AM
To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Carl Mosca mailto:carljmo...@gmail.com> >; 
Neil C Smith mailto:neilcsm...@apache.org> >; NetBeans 
Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: FW: screenshot

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 mailto:geert...@apache.org>   > > 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 
main class within it.

Gj

On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga 
mailto:geert...@apache.org>   > > wrote:


What is “a project with a class but no source file”?

Gj

On Sat, 21 Sep 2019 at 11:50, Walter Oney 
mailto:walter.o...@oneylaw.com>  
 > > 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" earns me a message 
that there's no valid Java platform for key default_platform.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org>   > > 
Sent: Saturday, September 21, 2019 5:45 AM
To: Walter Oney mailto:walter.o...@oneylaw.com>   > >
Cc: Carl Mosca mailto:carljmo...@gmail.com>   > >; Neil C Smith mailto:neilcsm...@apache.org>   > >; NetBeans Mailing List 
mailto:users@netbeans.apache.org>  
 > >
Subject: Re: FW: screenshot

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 
mailto:walter.o...@oneylaw.com>  

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 find it so that we can take a look at it.

Gj

On Sat, Sep 21, 2019 at 12:32 PM Geertjan Wielenga 
wrote:

> 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 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' <
>> neilcsm...@apache.org>; 'NetBeans Mailing List' <
>> users@netbeans.apache.org>
>> Subject: RE: FW: screenshot
>>
>> When I follow those directions as accurately as I can, I end up with what
>> you see in the attached screen shot. The .java file is apparently not part
>> of the project, however, because I don't have the option to compile it when
>> I right-click on it within the project pane. You can also see that the
>> build says there are no source files to compile. Attempting to run this app
>> gives me the same pop-up error that I get with Ant, with a list of
>> alternative main classes containing just "".
>>
>> -Original Message-
>> From: Geertjan Wielenga 
>> Sent: Saturday, September 21, 2019 6:07 AM
>> To: Walter Oney 
>> Cc: Carl Mosca ; Neil C Smith <
>> neilcsm...@apache.org>; NetBeans Mailing List 
>> Subject: Re: FW: screenshot
>>
>> 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
>> main class within it.
>>
>> Gj
>>
>> On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga <
>> geert...@apache.org  > wrote:
>>
>>
>> What is “a project with a class but no source file”?
>>
>> Gj
>>
>> On Sat, 21 Sep 2019 at 11:50, Walter Oney <
>> walter.o...@oneylaw.com  > 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" earns me a message that
>> there's no valid Java platform for key default_platform.
>>
>> -Original Message-
>> From: Geertjan Wielenga >  >
>> Sent: Saturday, September 21, 2019 5:45 AM
>> To: Walter Oney > walter.o...@oneylaw.com> >
>> Cc: Carl Mosca > carljmo...@gmail.com> >; Neil C Smith > neilcsm...@apache.org> >; NetBeans Mailing List <
>> users@netbeans.apache.org  >
>> Subject: Re: FW: screenshot
>>
>> 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 <
>> walter.o...@oneylaw.com   > walter.o...@oneylaw.com  > > wrote:
>>
>>
>> I chose category "Java with Ant" and
>> project "Java Application"
>>
>> -Original Message-
>> From: Walter Oney <
>> walter.o...@oneylaw.com   > walter.o...@oneylaw.com  > >
>> Sent: Saturday, September 21, 2019 5:22 AM
>> To: 'Geertjan Wielenga' <
>> geert...@apache.org   > geert...@apache.org  > >
>> Cc: 'Carl Mosca' >    carljmo...@gmail.com> > >; 'Neil C Smith' > neilcsm...@apache.org>   neilcsm...@apache.org> > >; 'NetBeans Mailing List' <
>> users@netbeans.apache.org   > users@netbeans.apache.org  > >
>> Subject: RE: FW: screenshot
>>
>> > No, I don’t. Are you using ‘Java with
>> Maven’ or ‘Java with Ant’?

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 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' <
> neilcsm...@apache.org>; 'NetBeans Mailing List'  >
> Subject: RE: FW: screenshot
>
> When I follow those directions as accurately as I can, I end up with what
> you see in the attached screen shot. The .java file is apparently not part
> of the project, however, because I don't have the option to compile it when
> I right-click on it within the project pane. You can also see that the
> build says there are no source files to compile. Attempting to run this app
> gives me the same pop-up error that I get with Ant, with a list of
> alternative main classes containing just "".
>
> -Original Message-
> From: Geertjan Wielenga 
> Sent: Saturday, September 21, 2019 6:07 AM
> To: Walter Oney 
> Cc: Carl Mosca ; Neil C Smith ;
> NetBeans Mailing List 
> Subject: Re: FW: screenshot
>
> 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
> main class within it.
>
> Gj
>
> On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga <
> geert...@apache.org  > wrote:
>
>
> What is “a project with a class but no source file”?
>
> Gj
>
> On Sat, 21 Sep 2019 at 11:50, Walter Oney <
> walter.o...@oneylaw.com  > 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" earns me a message that
> there's no valid Java platform for key default_platform.
>
> -Original Message-
> From: Geertjan Wielenga   >
> Sent: Saturday, September 21, 2019 5:45 AM
> To: Walter Oney  walter.o...@oneylaw.com> >
> Cc: Carl Mosca  carljmo...@gmail.com> >; Neil C Smith  neilcsm...@apache.org> >; NetBeans Mailing List   >
> Subject: Re: FW: screenshot
>
> 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 <
> walter.o...@oneylaw.com    walter.o...@oneylaw.com  > > wrote:
>
>
> 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' <
> geert...@apache.org    geert...@apache.org  > >
> Cc: 'Carl Mosca'     > >; 'Neil C Smith'  neilcsm...@apache.org>   > >; 'NetBeans Mailing List' <
> users@netbeans.apache.org    users@netbeans.apache.org  > >
> Subject: RE: FW: screenshot
>
> > 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-vetted tools rarely make
> mistakes. Since this isn't my first rodeo, I tend to think that something
> about the automatic class creation logic is mismatched with the build
> environment -- probably because I installed the wrong version of something
> through ignorance.
>
> Hopefully, you'll accept a friendly
> suggestion about how 

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' 
; 'NetBeans Mailing List' 
Subject: RE: FW: screenshot

When I follow those directions as accurately as I can, I end up with what you 
see in the attached screen shot. The .java file is apparently not part of the 
project, however, because I don't have the option to compile it when I 
right-click on it within the project pane. You can also see that the build says 
there are no source files to compile. Attempting to run this app gives me the 
same pop-up error that I get with Ant, with a list of alternative main classes 
containing just "".

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 21, 2019 6:07 AM
To: Walter Oney 
Cc: Carl Mosca ; Neil C Smith ; 
NetBeans Mailing List 
Subject: Re: FW: screenshot

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 mailto:geert...@apache.org> > 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 main 
class within it.

Gj

On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga mailto:geert...@apache.org> > wrote:


What is “a project with a class but no source file”?

Gj

On Sat, 21 Sep 2019 at 11:50, Walter Oney 
mailto:walter.o...@oneylaw.com> > 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" earns me a message that 
there's no valid Java platform for key default_platform.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 21, 2019 5:45 AM
To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Carl Mosca mailto:carljmo...@gmail.com> >; Neil C Smith mailto:neilcsm...@apache.org> >; NetBeans Mailing List 
mailto:users@netbeans.apache.org> >
Subject: Re: FW: screenshot

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 
mailto:walter.o...@oneylaw.com>  
 > > wrote:


I chose category "Java with Ant" and project 
"Java Application"

-Original Message-
From: Walter Oney mailto:walter.o...@oneylaw.com>   > > 
Sent: Saturday, September 21, 2019 5:22 AM
To: 'Geertjan Wielenga' mailto:geert...@apache.org>   > >
Cc: 'Carl Mosca' mailto:carljmo...@gmail.com>   > >; 'Neil C Smith' mailto:neilcsm...@apache.org>   > >; 'NetBeans Mailing List' 
mailto:users@netbeans.apache.org>  
 > >
Subject: RE: FW: screenshot

> 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-vetted tools rarely make mistakes. Since this 
isn't my first rodeo, I tend to think that something about the automatic class 
creation logic is mismatched with the build environment -- probably because I 
installed the wrong version of something through ignorance.

Hopefully, you'll accept a friendly suggestion 
about how to provide tech support and/or volunteer help: it never hurts to 
assume that you're dealing with an accurate report of a 

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 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 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" earns me a message that there's no valid Java
>>> platform for key default_platform.
>>>
>>> -Original Message-
>>> From: Geertjan Wielenga 
>>> Sent: Saturday, September 21, 2019 5:45 AM
>>> To: Walter Oney 
>>> Cc: Carl Mosca ; Neil C Smith <
>>> neilcsm...@apache.org>; NetBeans Mailing List >> >
>>> Subject: Re: FW: screenshot
>>>
>>> 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: Walter Oney >> walter.o...@oneylaw.com> >
>>> Sent: Saturday, September 21, 2019 5:22 AM
>>> To: 'Geertjan Wielenga' >> geert...@apache.org> >
>>> Cc: 'Carl Mosca' >> carljmo...@gmail.com> >; 'Neil C Smith' >> neilcsm...@apache.org> >; 'NetBeans Mailing List' <
>>> users@netbeans.apache.org  >
>>> Subject: RE: FW: screenshot
>>>
>>> > 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-vetted tools rarely make mistakes. Since this isn't my
>>> first rodeo, I tend to think that something about the automatic class
>>> creation logic is mismatched with the build environment -- probably because
>>> I installed the wrong version of something through ignorance.
>>>
>>> Hopefully, you'll accept a friendly suggestion about how to
>>> provide tech support and/or volunteer help: it never hurts to assume that
>>> you're dealing with an accurate report of a problem from someone who is
>>> missing a crucial piece of information that experienced users possess. In
>>> my salad days, I used to send academic users out of the assistance office
>>> to lookup something in one of the dozens of IBM manuals that were
>>> conveniently mounted in a rack next to the keypunches. I eventually learned
>>> that what was transparent to me as a systems programmer was completely
>>> opaque to real users.
>>>
>>> --
>>> Walter C. Oney, Jr., Esq.
>>> 267 Pearl Hill Rd., Fitchburg, MA 01420
>>> Tel.: 978-343-3390
>>> http://www.oneylaw.com
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -
>>> 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: 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 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" earns me a message that there's no valid Java
>> platform for key default_platform.
>>
>> -Original Message-
>> From: Geertjan Wielenga 
>> Sent: Saturday, September 21, 2019 5:45 AM
>> To: Walter Oney 
>> Cc: Carl Mosca ; Neil C Smith <
>> neilcsm...@apache.org>; NetBeans Mailing List 
>> Subject: Re: FW: screenshot
>>
>> 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: Walter Oney > walter.o...@oneylaw.com> >
>> Sent: Saturday, September 21, 2019 5:22 AM
>> To: 'Geertjan Wielenga' > geert...@apache.org> >
>> Cc: 'Carl Mosca' > carljmo...@gmail.com> >; 'Neil C Smith' > neilcsm...@apache.org> >; 'NetBeans Mailing List' <
>> users@netbeans.apache.org  >
>> Subject: RE: FW: screenshot
>>
>> > 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-vetted tools rarely make mistakes. Since this isn't my
>> first rodeo, I tend to think that something about the automatic class
>> creation logic is mismatched with the build environment -- probably because
>> I installed the wrong version of something through ignorance.
>>
>> Hopefully, you'll accept a friendly suggestion about how to
>> provide tech support and/or volunteer help: it never hurts to assume that
>> you're dealing with an accurate report of a problem from someone who is
>> missing a crucial piece of information that experienced users possess. In
>> my salad days, I used to send academic users out of the assistance office
>> to lookup something in one of the dozens of IBM manuals that were
>> conveniently mounted in a rack next to the keypunches. I eventually learned
>> that what was transparent to me as a systems programmer was completely
>> opaque to real users.
>>
>> --
>> Walter C. Oney, Jr., Esq.
>> 267 Pearl Hill Rd., Fitchburg, MA 01420
>> Tel.: 978-343-3390
>> http://www.oneylaw.com
>>
>>
>>
>>
>>
>>
>>
>> -
>> 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: 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" earns me a message that there's no valid Java
> platform for key default_platform.
>
> -Original Message-
> From: Geertjan Wielenga 
> Sent: Saturday, September 21, 2019 5:45 AM
> To: Walter Oney 
> Cc: Carl Mosca ; Neil C Smith ;
> NetBeans Mailing List 
> Subject: Re: FW: screenshot
>
> 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: Walter Oney  walter.o...@oneylaw.com> >
> Sent: Saturday, September 21, 2019 5:22 AM
> To: 'Geertjan Wielenga'  geert...@apache.org> >
> Cc: 'Carl Mosca'  carljmo...@gmail.com> >; 'Neil C Smith'  neilcsm...@apache.org> >; 'NetBeans Mailing List' <
> users@netbeans.apache.org  >
> Subject: RE: FW: screenshot
>
> > 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-vetted tools rarely make mistakes. Since this isn't my
> first rodeo, I tend to think that something about the automatic class
> creation logic is mismatched with the build environment -- probably because
> I installed the wrong version of something through ignorance.
>
> Hopefully, you'll accept a friendly suggestion about how to
> provide tech support and/or volunteer help: it never hurts to assume that
> you're dealing with an accurate report of a problem from someone who is
> missing a crucial piece of information that experienced users possess. In
> my salad days, I used to send academic users out of the assistance office
> to lookup something in one of the dozens of IBM manuals that were
> conveniently mounted in a rack next to the keypunches. I eventually learned
> that what was transparent to me as a systems programmer was completely
> opaque to real users.
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
>
>
>
> -
> 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: 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: Geertjan Wielenga  
Sent: Saturday, September 21, 2019 5:45 AM
To: Walter Oney 
Cc: Carl Mosca ; Neil C Smith ; 
NetBeans Mailing List 
Subject: Re: FW: screenshot

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 mailto:walter.o...@oneylaw.com> > wrote:


I chose category "Java with Ant" and project "Java Application"

-Original Message-
From: Walter Oney mailto:walter.o...@oneylaw.com> > 
Sent: Saturday, September 21, 2019 5:22 AM
To: 'Geertjan Wielenga' mailto:geert...@apache.org> >
Cc: 'Carl Mosca' mailto:carljmo...@gmail.com> >; 
'Neil C Smith' mailto:neilcsm...@apache.org> >; 
'NetBeans Mailing List' mailto:users@netbeans.apache.org> >
Subject: RE: FW: screenshot

> 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-vetted tools rarely make mistakes. Since this isn't my first rodeo, I tend 
to think that something about the automatic class creation logic is mismatched 
with the build environment -- probably because I installed the wrong version of 
something through ignorance.

Hopefully, you'll accept a friendly suggestion about how to provide 
tech support and/or volunteer help: it never hurts to assume that you're 
dealing with an accurate report of a problem from someone who is missing a 
crucial piece of information that experienced users possess. In my salad days, 
I used to send academic users out of the assistance office to lookup something 
in one of the dozens of IBM manuals that were conveniently mounted in a rack 
next to the keypunches. I eventually learned that what was transparent to me as 
a systems programmer was completely opaque to real users.

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com






-
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: 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: Walter Oney 
> Sent: Saturday, September 21, 2019 5:22 AM
> To: 'Geertjan Wielenga' 
> Cc: 'Carl Mosca' ; 'Neil C Smith' <
> neilcsm...@apache.org>; 'NetBeans Mailing List'  >
> Subject: RE: FW: screenshot
>
> > 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-vetted tools rarely make mistakes. Since this isn't my first rodeo, I
> tend to think that something about the automatic class creation logic is
> mismatched with the build environment -- probably because I installed the
> wrong version of something through ignorance.
>
> Hopefully, you'll accept a friendly suggestion about how to provide tech
> support and/or volunteer help: it never hurts to assume that you're dealing
> with an accurate report of a problem from someone who is missing a crucial
> piece of information that experienced users possess. In my salad days, I
> used to send academic users out of the assistance office to lookup
> something in one of the dozens of IBM manuals that were conveniently
> mounted in a rack next to the keypunches. I eventually learned that what
> was transparent to me as a systems programmer was completely opaque to real
> users.
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
>
>
> -
> 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: 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 ‘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-vetted 
tools rarely make mistakes. Since this isn't my first rodeo, I tend to think 
that something about the automatic class creation logic is mismatched with the 
build environment -- probably because I installed the wrong version of 
something through ignorance.

Hopefully, you'll accept a friendly suggestion about how to provide tech 
support and/or volunteer help: it never hurts to assume that you're dealing 
with an accurate report of a problem from someone who is missing a crucial 
piece of information that experienced users possess. In my salad days, I used 
to send academic users out of the assistance office to lookup something in one 
of the dozens of IBM manuals that were conveniently mounted in a rack next to 
the keypunches. I eventually learned that what was transparent to me as a 
systems programmer was completely opaque to real users.

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com






-
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: 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 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-vetted tools rarely make mistakes. Since this isn't my first rodeo, I
> tend to think that something about the automatic class creation logic is
> mismatched with the build environment -- probably because I installed the
> wrong version of something through ignorance.
>
> Hopefully, you'll accept a friendly suggestion about how to provide tech
> support and/or volunteer help: it never hurts to assume that you're dealing
> with an accurate report of a problem from someone who is missing a crucial
> piece of information that experienced users possess. In my salad days, I
> used to send academic users out of the assistance office to lookup
> something in one of the dozens of IBM manuals that were conveniently
> mounted in a rack next to the keypunches. I eventually learned that what
> was transparent to me as a systems programmer was completely opaque to real
> users.
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
>
>


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-vetted 
tools rarely make mistakes. Since this isn't my first rodeo, I tend to think 
that something about the automatic class creation logic is mismatched with the 
build environment -- probably because I installed the wrong version of 
something through ignorance.

Hopefully, you'll accept a friendly suggestion about how to provide tech 
support and/or volunteer help: it never hurts to assume that you're dealing 
with an accurate report of a problem from someone who is missing a crucial 
piece of information that experienced users possess. In my salad days, I used 
to send academic users out of the assistance office to lookup something in one 
of the dozens of IBM manuals that were conveniently mounted in a rack next to 
the keypunches. I eventually learned that what was transparent to me as a 
systems programmer was completely opaque to real users.

--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com






-
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: 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,

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: 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
> formatting:
>
> -Dnb.internal.action.name=build jar
> init:
> Deleting:
> /home/walt/NetBeansProjects/JavaApplication1/build/built-jar.properties
> deps-jar:
> Updating property file:
> /home/walt/NetBeansProjects/JavaApplication1/build/built-jar.properties
> Compiling 1 source file to
> /home/walt/NetBeansProjects/JavaApplication1/build/classes
> compile:
> Copying 1 file to /home/walt/NetBeansProjects/JavaApplication1/build
> Building jar:
> /home/walt/NetBeansProjects/JavaApplication1/dist/JavaApplication1.jar
> To run this application from the command line without Ant, try:
> /usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp
> /home/walt/NetBeansProjects/JavaApplication1/dist/JavaApplication1.jar
> javaapplication1.JavaApplication1
> deploy:
> jar:
> BUILD SUCCESSFUL (total time: 0 seconds)
>
> > I noticed you referenced "Applet" instead of "Application".  Can you
> provide the steps you followed in NetBeans?
>
> Create new project, Java, Java application, then accept all defaults.



Nope, if you’re doing the above, you’re not using 11.1.

Gj





I wouldn't dignify a throwaway program like this as an "application"  
> The million-line bankruptcy petition program I wrote in C++ is an
> "application", as was the 3GL called Express for which I was the lead
> programmer back in the 80's. Maybe the thing I wrote for my Android phone
> to track Boston commuter rail, or the little MFC thingy I wrote to control
> my model railroad. But "javaapplication1"? No way.
>
> > If right click on the project and then select Properties and then Run,
> can you browse for the main class using the Browse button?
>
> 
>
>
> --
> Walter C. Oney, Jr., Esq.
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> Tel.: 978-343-3390
> http://www.oneylaw.com
>
>
>
>
> -
> 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
>
>