RE: JJazzLab : a music application based on the Netbeans Platform

2019-10-04 Thread Walter Oney
Done. Glad to help.

-Original Message-
From: Jerome Lelasseux  
Sent: Friday, October 4, 2019 5:49 PM
To: NetBeans Mailing List 
Subject: JJazzLab : a music application based on the Netbeans Platform

Dear Netbeans family,

After many many (too many) evenings and week-ends spent learning and coding, 
I'm proud to make the 1st release of my free music application based on the 
Netbeans Platform. 


It's here: https://www.jjazzlab.com(NOT www.jazzlab.com !)

If you're a musician and practice your instrument using backing tracks (maybe 
with apps like Band in a box or iReal Pro, or with backing tracks from 
YouTube), then you might be interested to try, and I would love to get your 
feedback (and bug reports!).


If you're not a musician but you're a Windows user, you can also help in 2 
minutes:  just download and install the app, then deinstall. You will probably 
get a Windows Smart Screen alert, don't worry, click on the "more info" text 
and you'll see the "Run Anyway" button. Explanations below.



Windows Smart Screen problem: 

Although I spent 80$ buying a 1 year code signing certificate from DigiCert, my 
installer is still blocked by Windows Smart Screen because Microsoft security 
servers don't have enough data (=people downloading the app and successfully 
installing it on Windows) to assess my installer's "reputation". So it's a 
chicken and egg problem : I need many people to install my app to remove the 
blocking by Windows, but Windows scares most people to do so ! I was 
recommended one solution: buy the 600$/year EV code signing certificate, 
obviously I would prefer to avoid this solution for a software I provide for 
free...


Of course don't hesitate to forward the link to your musician friends, or add a 
link to www.jjazzlab.com.


Thank you


Jerome



-
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: Apache 11.1 - build failed

2019-09-30 Thread Walter Oney
I think I accurately described my experience and my limitations. I think that's 
a point of view that should not be suppressed.

-Original Message-
From: Geertjan Wielenga  
Sent: Monday, September 30, 2019 8:23 AM
To: Walter Oney 
Cc: Sterpu Victor ; users@netbeans.apache.org
Subject: Re: Apache 11.1 - build failed

Walter,

You’ve seen in the responses you received that you appear to have configured 
multiple JDK’s on your path, JDK 8 being the first of these, which is why JDK 8 
was picked up when you tried to run a JavaFX sample targeted for JDK 13.

Can you focus on configuring your environment correctly, please, and not advise 
people to revert to old releases?

Thanks,

Gj


On Mon, 30 Sep 2019 at 14:19, Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


From: Sterpu Victor  
> I want to migrate from a old Netbeans 8 version to Apache Netbeans 
11.1. I use JDK 13.

First off, I am a highly unofficial interloper on this list -- a 
hobbyist and newbie user of Java and NetBeans. So take everything I say with a 
huge dose of skepticism.

Second, I recently tried to do approximately what you're trying to do 
and had to give up because I kept running into problems with my configuration, 
the mix of versions I was using, and the way I had installed the tools. In the 
end, I reverted back to releases that are still available from Oracle -- 
NetBeans 8.2 and JDK 1.8. I'm far from the ideal user of new tools, because I 
don't have the patience to try to reproduce and document problems so that 
responsible people can investigate and solve them. I just wanted to get my code 
working. And I've succeeded in doing that by abandoning all thought of 
upgrading to more current releases.

All of that said, there are very knowledgeable and helpful people 
hanging out on this list. If you decide to move ahead with your migration 
plans, you can rely on them to bail you out if you're patient enough to give 
them the help they need.

--
    Walter Oney
267 Pearl Hill Rd., Fitchburg, MA 01420
978-343-3390




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
<mailto:users-unsubscr...@netbeans.apache.org> 
For additional commands, e-mail: users-h...@netbeans.apache.org 
<mailto: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: Apache 11.1 - build failed

2019-09-30 Thread Walter Oney
From: Sterpu Victor  
> I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1. I 
> use JDK 13.

First off, I am a highly unofficial interloper on this list -- a hobbyist and 
newbie user of Java and NetBeans. So take everything I say with a huge dose of 
skepticism.

Second, I recently tried to do approximately what you're trying to do and had 
to give up because I kept running into problems with my configuration, the mix 
of versions I was using, and the way I had installed the tools. In the end, I 
reverted back to releases that are still available from Oracle -- NetBeans 8.2 
and JDK 1.8. I'm far from the ideal user of new tools, because I don't have the 
patience to try to reproduce and document problems so that responsible people 
can investigate and solve them. I just wanted to get my code working. And I've 
succeeded in doing that by abandoning all thought of upgrading to more current 
releases.

All of that said, there are very knowledgeable and helpful people hanging out 
on this list. If you decide to move ahead with your migration plans, you can 
rely on them to bail you out if you're patient enough to give them the help 
they need.

--
Walter Oney
267 Pearl Hill Rd., Fitchburg, MA 01420
978-343-3390




-
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: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
Look, I'm just tired. This isn't the main focus of my life, after all. If I can 
recreate the build that failed so spectacularly, I will post the log. But I'm 
in the middle of reverting to JDK right now. Once again, thanks for your 
efforts.

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 2:10 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

The OpenJFX samples work out of the box.

However, it appears your Java environment is misconfigured in some way -- 
though we're not going to know unless you provide the error messages you're 
seeing with the OpenJFX samples. Is it during the build, or during deployment? 
What are the error messages, please?

Gj

On Sat, Sep 28, 2019 at 8:08 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


From: Geertjan Wielenga mailto:geert...@apache.org> > 

> You're going to have to do better than this in terms of error 
reporting.

I don't want to be on the leading edge here -- I just want to get back 
to developing my app. I got sidetracked by not knowing I needed JNA.JAR in 
addition to JNA-PLATFORM.JAR. But thanks all the same -- today's experience 
reinforces my notion that the toolset, considered as a whole, isn't yet ready 
for prime time. In the fullness of time, I may try to help fix the installers 
so they're more robust in terms of version management.

--
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: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
Sure it does. You just didn't see the stackoverflow thread where I got help 
installing JNA, which I need as part of my app. I wandered down the rathole of 
newer JDK versions trying to solve the problem. I'm back to being a happy bunny 
now that I've reverted to JDK 8.

As I said I would, I'm attaching the log from trying to run HelloFXWithMaven. I 
would like to return to my regularly scheduled nap. I realize that I'm probably 
cutting myself off from getting any help in the future, but I'm massively sleep 
deprived and have no choice today.

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 2:21 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence



On Sat, Sep 28, 2019 at 8:14 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


Look, I'm just tired. This isn't the main focus of my life, after all. 
If I can recreate the build that failed so spectacularly,


But that's a question of creating a new sample from the OpenJFX category and 
then building it and running it -- how is that hard to achieve, we just need to 
see the error message so we can help you further and the above takes about 3 
minutes?

Indeed, JNA has nothing at all to do with any of this.

Gj


 

I will post the log. But I'm in the middle of reverting to JDK right 
now. Once again, thanks for your efforts.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 28, 2019 2:10 PM
    To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Neil C Smith mailto:neilcsm...@apache.org> 
>; NetBeans Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of platform 
independence

The OpenJFX samples work out of the box.

However, it appears your Java environment is misconfigured in some way 
-- though we're not going to know unless you provide the error messages you're 
seeing with the OpenJFX samples. Is it during the build, or during deployment? 
What are the error messages, please?

Gj

On Sat, Sep 28, 2019 at 8:08 PM Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > wrote:


From: Geertjan Wielenga mailto:geert...@apache.org>  <mailto:geert...@apache.org 
<mailto:geert...@apache.org> > > 

> You're going to have to do better than this in terms of error 
reporting.

I don't want to be on the leading edge here -- I just want to 
get back to developing my app. I got sidetracked by not knowing I needed 
JNA.JAR in addition to JNA-PLATFORM.JAR. But thanks all the same -- today's 
experience reinforces my notion that the toolset, considered as a whole, isn't 
yet ready for prime time. In the fullness of time, I may try to help fix the 
installers so they're more robust in terms of version management.

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









cd C:\railroad\HelloFXWithMaven1; "JAVA_HOME=C:\\Program 
Files\\Java\\jdk-11.0.4" cmd /c "\"\"C:\\Program 
Files\\NetBeans-11.1\\netbeans\\java\\maven\\bin\\mvn.cmd\" 
-Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 clean javafx:run\""
Scanning for projects...


Building HelloFXWithMaven 1.0-SNAPSHOT


--- maven-clean-plugin:2.5:clean (default-clean) @ HelloFXWithMaven ---
Deleting C:\railroad\HelloFXWithMaven1\target

--- javafx-maven-plugin:0.0.2:run (default-cli) @ HelloFXWithMaven ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 1 resource
Changes detected - recompiling the module!
Compiling 3 source files to C:\railroad\HelloFXWithMaven1\target\classes
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: --module-path
Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)
at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at 
org.openjfx.JavaFXBaseMojo.execut

RE: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
From: Scott Palmer  
Oracle does not state that JavaFX is included in Java 11. 

>From https://www.oracle.com/technetwork/java/javafx/overview/index.html: "As 
>of JDK 7u6 JavaFX is included with the standard JDK and JRE bundles.  Please 
>download the JDK or JRE to use JavaFX." The link is to a download page for 
>several versions of the JDK. I think I can be excused confusion for not 
>realizing that version 11 is not "as of 7u6".

--
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: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
From: Geertjan Wielenga  

> You're going to have to do better than this in terms of error reporting.

I don't want to be on the leading edge here -- I just want to get back to 
developing my app. I got sidetracked by not knowing I needed JNA.JAR in 
addition to JNA-PLATFORM.JAR. But thanks all the same -- today's experience 
reinforces my notion that the toolset, considered as a whole, isn't yet ready 
for prime time. In the fullness of time, I may try to help fix the installers 
so they're more robust in terms of version management.

--
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: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
Still not working -- many error messages. How about I just revert to version 
8-something of the JDK?

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 1:52 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

Whatever it is you're trying to do, please do not try and download any JavaFX 
SDK or whatever.

Use the samples in the OpenJFX category, which means you're using the Gluon 
samples, which download the JARs that you need via Maven.

https://netbeans.apache.org/download/nb111/index.html


Gj


On Sat, Sep 28, 2019 at 7:50 PM Geertjan Wielenga mailto:geert...@apache.org> > wrote:


https://netbeans.apache.org/download/nb111/index.html


Gj

On Sat, Sep 28, 2019 at 7:50 PM Geertjan Wielenga mailto:geert...@apache.org> > wrote:


The samples in the OpenJFX category use Maven, they are the 
Gluon samples, yes, they will build with JDK 11 or later.

The category, as stated by Neil, is named OpenJFX, you can see 
a picture of them in the 11.1 features page:


On Sat, Sep 28, 2019 at 7:46 PM Walter Oney 
mailto:walter.o...@oneylaw.com> > wrote:


I just noticed that you said to pick a "JavaFX" sample. 
Duh. I got a message to the effect that my JDK doesn't support JavaFX, so the 
wizard doesn't even build an app.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 28, 2019 1:41 PM
    To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Neil C Smith mailto:neilcsm...@apache.org> >; NetBeans Mailing List 
mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of 
platform independence

What is the name of the sample that you picked?

Gj

    On Sat, Sep 28, 2019 at 7:40 PM Walter Oney 
mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> > > wrote:


A follow-on: I *did* previously change the 
value of JAVA_HOME. I happened to check in a stale cmd window.

    -----Original Message-
From: Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > 
Sent: Saturday, September 28, 2019 1:39 PM
To: 'Geertjan Wielenga' mailto:geert...@apache.org>  <mailto:geert...@apache.org 
<mailto:geert...@apache.org> > >
Cc: 'Neil C Smith' mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> > >; 'NetBeans Mailing List' 
mailto:users@netbeans.apache.org>  
<mailto:users@netbeans.apache.org <mailto:users@netbeans.apache.org> > >
Subject: RE: A Bad Thing has happened to the 
promise of platform independence

Well, Maven downloaded a whole bunch of things 
(probably good). The run step failed with these three messages:

Error: opening registry key 
'Software\JavaSoft\Java Runtime Environment' [sure enough, it's not there]
Error: could not find java.dll [it's in 
\Program Files\Java\jdk-11.0.4\bin, whereas JAVA_HOME is still pointing to 
jdk-13 even though I thought I previously changed it by hand.]
Error: Could not find the Java SE Runtime 
Environment

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org>  <mailto:geert...@apache.org 
<mailto:geert...@apache.org> > > 
Sent: Saturday, September 28, 2019 1:25 PM
To: Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > >
Cc: Neil C Smith mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> > >; NetBeans Mailing List 
mailto:users@netbeans.apache.org>  
<mailto:users@netbeans.apache.org <mailto:users@netbeans.apache.org> > >

RE: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
I just noticed that you said to pick a "JavaFX" sample. Duh. I got a message to 
the effect that my JDK doesn't support JavaFX, so the wizard doesn't even build 
an app.

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 1:41 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

What is the name of the sample that you picked?

Gj

On Sat, Sep 28, 2019 at 7:40 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


A follow-on: I *did* previously change the value of JAVA_HOME. I 
happened to check in a stale cmd window.

-Original Message-
    From: Walter Oney mailto:walter.o...@oneylaw.com> > 
Sent: Saturday, September 28, 2019 1:39 PM
To: 'Geertjan Wielenga' mailto:geert...@apache.org> >
Cc: 'Neil C Smith' mailto:neilcsm...@apache.org> >; 'NetBeans Mailing List' 
mailto:users@netbeans.apache.org> >
Subject: RE: A Bad Thing has happened to the promise of platform 
independence

Well, Maven downloaded a whole bunch of things (probably good). The run 
step failed with these three messages:

Error: opening registry key 'Software\JavaSoft\Java Runtime 
Environment' [sure enough, it's not there]
Error: could not find java.dll [it's in \Program 
Files\Java\jdk-11.0.4\bin, whereas JAVA_HOME is still pointing to jdk-13 even 
though I thought I previously changed it by hand.]
Error: Could not find the Java SE Runtime Environment

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 28, 2019 1:25 PM
To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Neil C Smith mailto:neilcsm...@apache.org> 
>; NetBeans Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of platform 
independence

Now don't do anything other than this -- open the New Project dialog, 
go to the Samples category, in the JavaFX category pick one of the two samples 
you see there. Complete the wizard. Run the sample.
    
    Gj

On Sat, Sep 28, 2019 at 7:23 PM Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > wrote:


Here you go.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org>  <mailto:geert...@apache.org 
<mailto:geert...@apache.org> > > 
Sent: Saturday, September 28, 2019 1:17 PM
To: Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > >
Cc: Neil C Smith mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> > >; NetBeans Mailing List 
mailto:users@netbeans.apache.org>  
<mailto:users@netbeans.apache.org <mailto:users@netbeans.apache.org> > >
Subject: Re: A Bad Thing has happened to the promise of 
platform independence

Cab you go to Help | About in Apache NetBeans 11.1 and copy 
what you see there and paste it here and send it so we can really see what the 
environment is that you're making use of?

Gj

On Sat, Sep 28, 2019 at 7:12 PM Walter Oney 
mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> >  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> > > > wrote:


I'm doing this particular project on Windows 10. By 
"installing" I mean running the .exe (if there is one) from a web site or 
downloading a JAR file and putting it some place where I can find it.

I keep having private conversations with Geertjan 
without meaning to -- from long habit, I hardly ever hit reply-all. Anyhow, he 
wondered what version of the JDK I was using. Initially, I think I had 11.0 or 
11.1. Then I decided to get the latest and greatest, so I uninstalled that and 
installed 13 without realizing it didn't come with JavaFX (which I need for the 
graphics). I'm back to 11.1 now, which I downloaded from Oracle. It appears not 
to have JavaFX built-in like Oracle says it should. 

I'm grateful that you guys are working on a Saturday 
and trying to help a newbie out.

-Original Message-
From: Neil C Smith mailto:neilcs

RE: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
A follow-on: I *did* previously change the value of JAVA_HOME. I happened to 
check in a stale cmd window.

-Original Message-
From: Walter Oney  
Sent: Saturday, September 28, 2019 1:39 PM
To: 'Geertjan Wielenga' 
Cc: 'Neil C Smith' ; 'NetBeans Mailing List' 

Subject: RE: A Bad Thing has happened to the promise of platform independence

Well, Maven downloaded a whole bunch of things (probably good). The run step 
failed with these three messages:

Error: opening registry key 'Software\JavaSoft\Java Runtime Environment' [sure 
enough, it's not there]
Error: could not find java.dll [it's in \Program Files\Java\jdk-11.0.4\bin, 
whereas JAVA_HOME is still pointing to jdk-13 even though I thought I 
previously changed it by hand.]
Error: Could not find the Java SE Runtime Environment

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 1:25 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

Now don't do anything other than this -- open the New Project dialog, go to the 
Samples category, in the JavaFX category pick one of the two samples you see 
there. Complete the wizard. Run the sample.

Gj

On Sat, Sep 28, 2019 at 7:23 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


Here you go.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 28, 2019 1:17 PM
    To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Neil C Smith mailto:neilcsm...@apache.org> 
>; NetBeans Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of platform 
independence

Cab you go to Help | About in Apache NetBeans 11.1 and copy what you 
see there and paste it here and send it so we can really see what the 
environment is that you're making use of?

Gj

On Sat, Sep 28, 2019 at 7:12 PM Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > wrote:


I'm doing this particular project on Windows 10. By 
"installing" I mean running the .exe (if there is one) from a web site or 
downloading a JAR file and putting it some place where I can find it.

I keep having private conversations with Geertjan without 
meaning to -- from long habit, I hardly ever hit reply-all. Anyhow, he wondered 
what version of the JDK I was using. Initially, I think I had 11.0 or 11.1. 
Then I decided to get the latest and greatest, so I uninstalled that and 
installed 13 without realizing it didn't come with JavaFX (which I need for the 
graphics). I'm back to 11.1 now, which I downloaded from Oracle. It appears not 
to have JavaFX built-in like Oracle says it should. 

I'm grateful that you guys are working on a Saturday and trying 
to help a newbie out.

-Original Message-
From: Neil C Smith mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> > > 
    Sent: Saturday, September 28, 2019 11:37 AM
To: Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > >
Cc: NetBeans Mailing List mailto:users@netbeans.apache.org>  <mailto:users@netbeans.apache.org 
<mailto:users@netbeans.apache.org> > >
Subject: Re: A Bad Thing has happened to the promise of 
platform independence

On Sat, 28 Sep 2019 at 12:04, Walter Oney 
mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> > > wrote:
> My current self-assigned task is to port the app to Linux in 
the hope that I’ll find more robust WiFi support than Win10 has. I was hopping 
along as a happy little bunny with NetBeans 8.4 and some version or another of 
the JDK that included JavaFX. I was misled by the incomplete instructions for 
installing JNA to omit downloading jna.jar. Someone later corrected my mistake 
on the stackoverflow forum, but not before I had installed JDK 13, a current 
release of OpenJFX, and NetBeans 11.1. I ended up in Version Hell, which is 
where you go when you have mismatched versions of your tools. I don’t even know 
what the path back might be.

My first thought is are you doing this on the Linux machine you 
talk
about or still on Windows 10?  If Linux, which OS?  And what 
exactly
do you mean by "installing"?  Some of the things you mention 
there
should probably be part of your project but not installed.  
Relying

RE: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
HelloFXWithMaven

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 1:41 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

What is the name of the sample that you picked?

Gj

On Sat, Sep 28, 2019 at 7:40 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


A follow-on: I *did* previously change the value of JAVA_HOME. I 
happened to check in a stale cmd window.

-Original Message-
From: Walter Oney mailto:walter.o...@oneylaw.com> > 
Sent: Saturday, September 28, 2019 1:39 PM
To: 'Geertjan Wielenga' mailto:geert...@apache.org> >
Cc: 'Neil C Smith' mailto:neilcsm...@apache.org> >; 'NetBeans Mailing List' 
mailto:users@netbeans.apache.org> >
Subject: RE: A Bad Thing has happened to the promise of platform 
independence

Well, Maven downloaded a whole bunch of things (probably good). The run 
step failed with these three messages:

Error: opening registry key 'Software\JavaSoft\Java Runtime 
Environment' [sure enough, it's not there]
Error: could not find java.dll [it's in \Program 
Files\Java\jdk-11.0.4\bin, whereas JAVA_HOME is still pointing to jdk-13 even 
though I thought I previously changed it by hand.]
Error: Could not find the Java SE Runtime Environment

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 28, 2019 1:25 PM
To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Neil C Smith mailto:neilcsm...@apache.org> 
>; NetBeans Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of platform 
independence

Now don't do anything other than this -- open the New Project dialog, 
go to the Samples category, in the JavaFX category pick one of the two samples 
you see there. Complete the wizard. Run the sample.

    Gj
    
On Sat, Sep 28, 2019 at 7:23 PM Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > wrote:


Here you go.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org>  <mailto:geert...@apache.org 
<mailto:geert...@apache.org> > > 
Sent: Saturday, September 28, 2019 1:17 PM
To: Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > >
Cc: Neil C Smith mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> > >; NetBeans Mailing List 
mailto:users@netbeans.apache.org>  
<mailto:users@netbeans.apache.org <mailto:users@netbeans.apache.org> > >
Subject: Re: A Bad Thing has happened to the promise of 
platform independence

Cab you go to Help | About in Apache NetBeans 11.1 and copy 
what you see there and paste it here and send it so we can really see what the 
environment is that you're making use of?

Gj

On Sat, Sep 28, 2019 at 7:12 PM Walter Oney 
mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> >  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> > > > wrote:


I'm doing this particular project on Windows 10. By 
"installing" I mean running the .exe (if there is one) from a web site or 
downloading a JAR file and putting it some place where I can find it.

I keep having private conversations with Geertjan 
without meaning to -- from long habit, I hardly ever hit reply-all. Anyhow, he 
wondered what version of the JDK I was using. Initially, I think I had 11.0 or 
11.1. Then I decided to get the latest and greatest, so I uninstalled that and 
installed 13 without realizing it didn't come with JavaFX (which I need for the 
graphics). I'm back to 11.1 now, which I downloaded from Oracle. It appears not 
to have JavaFX built-in like Oracle says it should. 

I'm grateful that you guys are working on a Saturday 
and trying to help a newbie out.

-Original Message-
From: Neil C Smith mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> >  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org>  <ma

RE: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
Well, Maven downloaded a whole bunch of things (probably good). The run step 
failed with these three messages:

Error: opening registry key 'Software\JavaSoft\Java Runtime Environment' [sure 
enough, it's not there]
Error: could not find java.dll [it's in \Program Files\Java\jdk-11.0.4\bin, 
whereas JAVA_HOME is still pointing to jdk-13 even though I thought I 
previously changed it by hand.]
Error: Could not find the Java SE Runtime Environment

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 1:25 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

Now don't do anything other than this -- open the New Project dialog, go to the 
Samples category, in the JavaFX category pick one of the two samples you see 
there. Complete the wizard. Run the sample.

Gj

On Sat, Sep 28, 2019 at 7:23 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


Here you go.

-Original Message-
From: Geertjan Wielenga mailto:geert...@apache.org> > 
Sent: Saturday, September 28, 2019 1:17 PM
    To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: Neil C Smith mailto:neilcsm...@apache.org> 
>; NetBeans Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of platform 
independence

Cab you go to Help | About in Apache NetBeans 11.1 and copy what you 
see there and paste it here and send it so we can really see what the 
environment is that you're making use of?

Gj

On Sat, Sep 28, 2019 at 7:12 PM Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > > wrote:


I'm doing this particular project on Windows 10. By 
"installing" I mean running the .exe (if there is one) from a web site or 
downloading a JAR file and putting it some place where I can find it.

I keep having private conversations with Geertjan without 
meaning to -- from long habit, I hardly ever hit reply-all. Anyhow, he wondered 
what version of the JDK I was using. Initially, I think I had 11.0 or 11.1. 
Then I decided to get the latest and greatest, so I uninstalled that and 
installed 13 without realizing it didn't come with JavaFX (which I need for the 
graphics). I'm back to 11.1 now, which I downloaded from Oracle. It appears not 
to have JavaFX built-in like Oracle says it should. 

I'm grateful that you guys are working on a Saturday and trying 
to help a newbie out.

-Original Message-
From: Neil C Smith mailto:neilcsm...@apache.org>  <mailto:neilcsm...@apache.org 
<mailto:neilcsm...@apache.org> > > 
    Sent: Saturday, September 28, 2019 11:37 AM
To: Walter Oney mailto:walter.o...@oneylaw.com>  <mailto:walter.o...@oneylaw.com 
<mailto:walter.o...@oneylaw.com> > >
Cc: NetBeans Mailing List mailto:users@netbeans.apache.org>  <mailto:users@netbeans.apache.org 
<mailto:users@netbeans.apache.org> > >
Subject: Re: A Bad Thing has happened to the promise of 
platform independence

On Sat, 28 Sep 2019 at 12:04, Walter Oney 
mailto:walter.o...@oneylaw.com>  
<mailto:walter.o...@oneylaw.com <mailto:walter.o...@oneylaw.com> > > wrote:
> My current self-assigned task is to port the app to Linux in 
the hope that I’ll find more robust WiFi support than Win10 has. I was hopping 
along as a happy little bunny with NetBeans 8.4 and some version or another of 
the JDK that included JavaFX. I was misled by the incomplete instructions for 
installing JNA to omit downloading jna.jar. Someone later corrected my mistake 
on the stackoverflow forum, but not before I had installed JDK 13, a current 
release of OpenJFX, and NetBeans 11.1. I ended up in Version Hell, which is 
where you go when you have mismatched versions of your tools. I don’t even know 
what the path back might be.

My first thought is are you doing this on the Linux machine you 
talk
about or still on Windows 10?  If Linux, which OS?  And what 
exactly
do you mean by "installing"?  Some of the things you mention 
there
should probably be part of your project but not installed.  
Relying on
Linux packages for anything other than perhaps OpenJDK is very 
hit and
miss!

Best wishes,

Neil




-
To unsubscribe, e-mail: users-unsubscr.

RE: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
I thought I was an old-timer by decades. Guess not -- my first program was 
written on paper tape for an Alwac 3-E (tubes, you know) at a math camp in 
1967. I've been a professional programmer since 1969, but my interests and 
economic realities steered me through IBM and Microsoft products.

My observation still stands, though. The world of Java and its offshoots is 
pretty much the wild west right now. When this kind of thing happened to 
hardware in the 70's, people banded together to define standards that were much 
easier to describe and enforce. Getting a bunch of programmers to agree on 
anything is like herding cats.

-Original Message-
From: Chris Olsen  
Sent: Saturday, September 28, 2019 12:56 PM
To: Jack Woehr 
Cc: NetBeans Mailing List 
Subject: Re: A Bad Thing has happened to the promise of platform independence

Jack and All --

  I fear that my jpackage question of a few days ago unintentionally ignited 
something of a contentious discussion, for which I must apologize!  I beat Jack 
by 5 years having been in this game (as a hobby mostly) for about 45 years.  I 
agree with Jack's sentiments below -- programming IS a pain in the butt -- but 
also brings the excitement of the hunt and pride of problem solved. (Easy for 
me to say -- I work in an academic environment without the real-world time 
pressure most of you probably work under.)

  As I try to move from 8 to 11 I, too, wish it were easier -- but until it is 
I (mostly) enjoy the hunt and (totally) appreciate the assistance and wisdom of 
the people on this list.

  -- Chris

  

- Original Message -
From: Jack Woehr 
To: Neil C Smith 
Cc: Walter Oney , NetBeans Mailing List 

Sent: Sat, 28 Sep 2019 12:14:35 -0400 (EDT)
Subject: Re: A Bad Thing has happened to the promise of platform independence

I apologize if my comment was unclear. I was trying to be light. I think
Mosca and Oney pretty much got what I was saying.

I've been in this game for about 40 years.

Stuff comes and goes.

Programming is always a pain in the butt. If it wasn't, everyone would do
it and it would be a minimum wage job.

You learn something and then it's gone and you learn something else.

You wrestle with other people's code.

The late Stan Kelly-Bootle was joking about this decades ago in his *Devil's
DP Dictionary*.

I feel everyone's pain because it's my pain, too. Still wrestling with it.
Such is the life of the programmer!


-
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: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
Here you go.

-Original Message-
From: Geertjan Wielenga  
Sent: Saturday, September 28, 2019 1:17 PM
To: Walter Oney 
Cc: Neil C Smith ; NetBeans Mailing List 

Subject: Re: A Bad Thing has happened to the promise of platform independence

Cab you go to Help | About in Apache NetBeans 11.1 and copy what you see there 
and paste it here and send it so we can really see what the environment is that 
you're making use of?

Gj

On Sat, Sep 28, 2019 at 7:12 PM Walter Oney mailto:walter.o...@oneylaw.com> > wrote:


I'm doing this particular project on Windows 10. By "installing" I mean 
running the .exe (if there is one) from a web site or downloading a JAR file 
and putting it some place where I can find it.

I keep having private conversations with Geertjan without meaning to -- 
from long habit, I hardly ever hit reply-all. Anyhow, he wondered what version 
of the JDK I was using. Initially, I think I had 11.0 or 11.1. Then I decided 
to get the latest and greatest, so I uninstalled that and installed 13 without 
realizing it didn't come with JavaFX (which I need for the graphics). I'm back 
to 11.1 now, which I downloaded from Oracle. It appears not to have JavaFX 
built-in like Oracle says it should. 

I'm grateful that you guys are working on a Saturday and trying to help 
a newbie out.

-Original Message-
From: Neil C Smith mailto:neilcsm...@apache.org> > 
Sent: Saturday, September 28, 2019 11:37 AM
    To: Walter Oney mailto:walter.o...@oneylaw.com> >
Cc: NetBeans Mailing List mailto:users@netbeans.apache.org> >
Subject: Re: A Bad Thing has happened to the promise of platform 
independence

On Sat, 28 Sep 2019 at 12:04, Walter Oney mailto:walter.o...@oneylaw.com> > wrote:
> My current self-assigned task is to port the app to Linux in the hope 
that I’ll find more robust WiFi support than Win10 has. I was hopping along as 
a happy little bunny with NetBeans 8.4 and some version or another of the JDK 
that included JavaFX. I was misled by the incomplete instructions for 
installing JNA to omit downloading jna.jar. Someone later corrected my mistake 
on the stackoverflow forum, but not before I had installed JDK 13, a current 
release of OpenJFX, and NetBeans 11.1. I ended up in Version Hell, which is 
where you go when you have mismatched versions of your tools. I don’t even know 
what the path back might be.

My first thought is are you doing this on the Linux machine you talk
about or still on Windows 10?  If Linux, which OS?  And what exactly
do you mean by "installing"?  Some of the things you mention there
should probably be part of your project but not installed.  Relying on
Linux packages for anything other than perhaps OpenJDK is very hit and
miss!

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: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
I'm doing this particular project on Windows 10. By "installing" I mean running 
the .exe (if there is one) from a web site or downloading a JAR file and 
putting it some place where I can find it.

I keep having private conversations with Geertjan without meaning to -- from 
long habit, I hardly ever hit reply-all. Anyhow, he wondered what version of 
the JDK I was using. Initially, I think I had 11.0 or 11.1. Then I decided to 
get the latest and greatest, so I uninstalled that and installed 13 without 
realizing it didn't come with JavaFX (which I need for the graphics). I'm back 
to 11.1 now, which I downloaded from Oracle. It appears not to have JavaFX 
built-in like Oracle says it should. 

I'm grateful that you guys are working on a Saturday and trying to help a 
newbie out.

-Original Message-
From: Neil C Smith  
Sent: Saturday, September 28, 2019 11:37 AM
To: Walter Oney 
Cc: NetBeans Mailing List 
Subject: Re: A Bad Thing has happened to the promise of platform independence

On Sat, 28 Sep 2019 at 12:04, Walter Oney  wrote:
> My current self-assigned task is to port the app to Linux in the hope that 
> I’ll find more robust WiFi support than Win10 has. I was hopping along as a 
> happy little bunny with NetBeans 8.4 and some version or another of the JDK 
> that included JavaFX. I was misled by the incomplete instructions for 
> installing JNA to omit downloading jna.jar. Someone later corrected my 
> mistake on the stackoverflow forum, but not before I had installed JDK 13, a 
> current release of OpenJFX, and NetBeans 11.1. I ended up in Version Hell, 
> which is where you go when you have mismatched versions of your tools. I 
> don’t even know what the path back might be.

My first thought is are you doing this on the Linux machine you talk
about or still on Windows 10?  If Linux, which OS?  And what exactly
do you mean by "installing"?  Some of the things you mention there
should probably be part of your project but not installed.  Relying on
Linux packages for anything other than perhaps OpenJDK is very hit and
miss!

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



A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Walter Oney
As a very experienced developer who is new to the world of Java, JavaFX, and
NetBeans I have to share a lament about the current state of the tools.
 
It should be possible for an untutored user to obtain a working development
environment with trivial ease. It is not. Instead, one appears to have to
navigate a maze of version and vendor incompatibilities with no certainty of
success. Do I get my JDK from Oracle or someone else? Ditto JAVAFX and
NetBeans. And which of the dozens of downloads do I pick?
 
In my particular situation, I'm trying to develop a Java version of an MFC
app I built for my model railroad. As a hobbyist, that is - no commercial
product is in prospect. My current self-assigned task is to port the app to
Linux in the hope that I'll find more robust WiFi support than Win10 has. I
was hopping along as a happy little bunny with NetBeans 8.4 and some version
or another of the JDK that included JavaFX. I was misled by the incomplete
instructions for installing JNA to omit downloading jna.jar. Someone later
corrected my mistake on the stackoverflow forum, but not before I had
installed JDK 13, a current release of OpenJFX, and NetBeans 11.1. I ended
up in Version Hell, which is where you go when you have mismatched versions
of your tools. I don't even know what the path back might be.
 
My point here is that Java is supposed to be a platform independent
language. To encourage its use, though, those of you who are responsible for
its development and evangelism need to do a better job of bundling
self-consistent versions of the tools and/or providing a tool manifest that
someone like me can easily find and follow in order to download the tools
separately. NetBeans would be a logical place to test for AND CORRECT
version incompatibilities. I don't have the patience to help in that effort,
so it looks like I'll have to abandon Java and craft a Linux-only solution
in C++.
 
--
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
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 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 
<mailto:users-unsubscr...@netbeans.apache.org> 
> For additional commands, e-mail: users-h...@netbeans.apache.org 
<mailto: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 
<

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

        Now can you try to reproduce the s

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

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 
<mailto:users-unsubscr...@netbeans.apache.org> 
For additional commands, e-mail: users-h...@netbeans.apache.org 
<mailto: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
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 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-20 Thread Walter Oney
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. 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



RE: Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
From: Carl Mosca  
> How was the project generated?  I am assuming it is a NetBeans ant project 
> based on the default names used.

Yes.

> Have you done a build?  If so, is that successful?  Can you provide the build 
> output.

The build was uneventful. It's hard for me to get a file from my dual-booted 
Win10/Ubuntu box onto my Windows network. Someday I'll figure out how to do 
that.

The applet actually runs fine from the command line using the command ant 
suggested. So the issue about the class appears to be within Netbeans.

--
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-20 Thread Walter Oney
I installed from netbeans.apache.org, and I'm now able to build Java and C++ 
programs (after installing the C++ plugin, that is). Thanks to the help I got 
on this list.

Now for the next problem: the Java program I generate using Netbeans 11.1 
appears fine, but it won't run because it claims that there is no main class. 
In skeleton, the program reads:

package javaapplication1;
public class JavaApplication1 {
 public static void main(String[] args){}
}

When I try to run this, I get a pop-up to the effect that 
javaapplication1.JavaApplication1 wasn't found in the project. Compare the 
result using NetBeans 8.2 with the 1.8 JDK under Win10, where I didn't have to 
tinker with anything to make it work.

--
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-20 Thread Walter Oney
From: Neil C Smith  

>>  I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2, 

> What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer supported. 
> There is a Snap available for Ubuntu as well as the installers and zip.

Somebody connected with Apache wrote the code that generated the About box in 
which 10.0 and 8.3 Patch 2 appear, so your guess is probably better than mine.

Anyhow, what is a "Snap" and why did I get version 10.0 of the IDE just a few 
days ago when I tried to install the current stable release?

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



Problem using NetBeans on Ubuntu

2019-09-20 Thread Walter Oney
I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2,
alongside the JDK v 11.0.4 on Ubuntu 5.0.0-27. Create a new Java
application, say HelloWorld. The generated app will neither build nor run.


The generated source program (HelloWorld.java) contains just this (not
counting comments):

package newhello;
public class HelloWorld {
 public static void main(String[] args) {
 }
}
 
The initial package statement is flagged because the IDE says it can't
access java.lang. The Projects pane lists "JDK 11 (Default)" under the
Libraries but nothing underneath that folder. The String declaration is
flagged as "can't find symbol". Alt+Enter offers no suggestions for how to
fix either problem.
 
--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
  http://www.oneylaw.com