Re: Java project now needs classpaths to run it

2019-10-22 Thread Peter Toye
to support both GNU style and POSIX style arguments with both alternatives for most things. From running "java --help", I learn that --module will do the same as -m and -p is an alternative to --module-path On 10/21/19 5:56 AM, Peter Toye wrote: Re: Java project now needs classpaths to

Re: Java project now needs classpaths to run it

2019-10-21 Thread Eric J. Schwarzenbach
0/21/19 5:56 AM, Peter Toye wrote: Re: Java project now needs classpaths to run it Why the Java designer can't just stick to a single syntax is beyond me.

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
Dear Geertjan, Much happier :-)> . Many thanks. I owe you another beer Where are you based? Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 21, 2019, 4:15:08 PM, you wrote: https://issues.apache.org/jira/browse/NETBEANS-3260 Hope th

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
https://issues.apache.org/jira/browse/NETBEANS-3260 Hope the above investigation makes you happy. :-) Gj On Mon, Oct 21, 2019 at 4:07 PM Geertjan Wielenga wrote: > > It is copied and pasted from there. > > Gj > > On Mon, 21 Oct 2019 at 16:06, Peter Toye wrote: > >> Dear Geertjan, >> >> Fine.

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
It is copied and pasted from there. Gj On Mon, 21 Oct 2019 at 16:06, Peter Toye wrote: > Dear Geertjan, > > Fine. I agree. A shame that OpenJDK don't put this on the mailing list > page you sent me. > > > Best regards, > > Peter > mailto:netbe...@ptoye.com > www.ptoye.com > > --

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
Dear Geertjan, Fine. I agree. A shame that OpenJDK don't put this on the mailing list page you sent me. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 21, 2019, 2:53:18 PM, you wrote: Who is “they”? Why are thousands of people able t

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
Who is “they”? Why are thousands of people able to write to that mailing list apparently without a problem. https://mail.openjdk.java.net/mailman/listinfo/discuss Go to the above and sign up, ignoring this topic on mailing lists now. Gj On Mon, 21 Oct 2019 at 15:48, Peter Toye wrote: > Dear

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
Dear Geertjan, I wasn't expecting you to, but I hope you can see my frustration. I mail OpenJDK at the address they give you, and get an auto-reject telling me to contact that same address. This is for information - just don't bother trying to contact OpenJDK. Best regards, Peter mailto:netbe

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
I don’t know who the ‘they’ are you’re referring to, but I’m sorry this is where I’m going to draw a line: I am not going to help you subscribe to a mailing list. Gj On Mon, 21 Oct 2019 at 13:54, Peter Toye wrote: > Dear Geertjan, > > Agreed - but the address they give is the one that's auto-re

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
Dear Geertjan, Agreed - but the address they give is the one that's auto-rejected! Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 21, 2019, 11:35:13 AM, you wrote: You’ll need to subscribe to the mailing lists you want to write to. Gj O

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
You’ll need to subscribe to the mailing lists you want to write to. Gj On Mon, 21 Oct 2019 at 12:31, Peter Toye wrote: > Dear Geertjan, > > Thanks. I wrote to the mailing list address and got the following answer: > > You are not allowed to post to this mailing list, and your message has >

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
Dear Geertjan, Thanks. I wrote to the mailing list address and got the following answer: You are not allowed to post to this mailing list, and your message has been automatically rejected. If you think that your messages are being rejected in error, contact the mailing list owner at mail

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
File an issue with steps, and we can investigate and see where to fix that output. If it still gives problems, can you say what those problems are, or how can we help? Gj On Mon, 21 Oct 2019 at 11:56, Peter Toye wrote: > Dear Geertjan, > > Thanks again. I'd found that page, and the code I prod

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
Dear Geertjan, Thanks again. I'd found that page, and the code I produced was a copy of the code there. It seems that a "-m" option is needed to indicate the main class. It still gives problems, but I'll try your suggestion of trying to join the openJDK mailing list. So the Ant script output n

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
https://openjdk.java.net/projects/jigsaw/quick-start That should help, it includes the java command line syntax you're looking for. Gj On Sun, Oct 20, 2019 at 11:21 PM Geertjan Wielenga wrote: > To be honest, I'd love to help but I'm not going to spend any time > guessing about your applicatio

Re: Java project now needs classpaths to run it

2019-10-20 Thread Geertjan Wielenga
To be honest, I'd love to help but I'm not going to spend any time guessing about your application, you're going to need to provide a way to access it, e.g., put it on GitHub, so that it can be downloaded, e.g., sorry, "import com.ptoye.astro.World", no idea what that is, and please do not try to e

Re: Java project now needs classpaths to run it

2019-10-20 Thread Geertjan Wielenga
OK, JDK 12. Can someone reproduce or help? Gj On Sun, 20 Oct 2019 at 20:18, Geertjan Wielenga wrote: > What is the version of Java you’re using on the command line? > > Gj > > On Sun, 20 Oct 2019 at 20:10, Peter Toye wrote: > >> Dear Geertjan, >> >> OK, I've read up on modules and written my f

Re: Java project now needs classpaths to run it

2019-10-20 Thread Geertjan Wielenga
What is the version of Java you’re using on the command line? Gj On Sun, 20 Oct 2019 at 20:10, Peter Toye wrote: > Dear Geertjan, > > OK, I've read up on modules and written my first Hello World program which > compiles and runs fine using NetBeans. However, it doesn't run from a > command line

Re: Java project now needs classpaths to run it

2019-10-20 Thread Peter Toye
Dear Geertjan, OK, I've read up on modules and written my first Hello World program which compiles and runs fine using NetBeans. However, it doesn't run from a command line, even after I've removed the mistakes in the Ant-generated suggestion: D:\>"C:\Program Files\Java\jdk-12.0.1/bin/java" --m

Re: Java project now needs classpaths to run it

2019-10-15 Thread Peter Toye
Dear Geertjan, Thanks - I’ll try that. I don't think OpenJDK existed when I last looked at Java. Astonishing how you can get out-of-date so fast. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, October 14, 2019, 10:18:27 AM, you wrote: On Mon,

Re: Java project now needs classpaths to run it

2019-10-14 Thread Geertjan Wielenga
On Mon, Oct 14, 2019 at 11:16 AM Peter Toye wrote: > Dear Geertjan, > > I agree that the "java" command has nothing to do with Netbeans. I'll try > to be more explicit: > > I have a project which dates back to about 2006 and has a main class which > I'll call A. This uses a separate class B which

Re: Java project now needs classpaths to run it

2019-10-14 Thread Peter Toye
Dear Geertjan, I agree that the "java" command has nothing to do with Netbeans. I'll try to be more explicit: I have a project which dates back to about 2006 and has a main class which I'll call A. This uses a separate class B which I developed separately. I included B as a library using A's p

Re: Java project now needs classpaths to run it

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

Java project now needs classpaths to run it

2019-10-05 Thread Peter Toye
and Netbeans are in the "Program Files" or "Program Files (x86)" folder. This should have quotes round it to run successfully. 2) In NB 11.1, the output mentions "Netbeans 11" - Shouldn't this be C:\Program Files\NetBeans-11.1? Regards, Peter mailto:netbe.

Java project now needs classpaths to run it

2019-09-20 Thread Peter Toye
Having just moved from NB version 8 to 11.1 there seems to have been a change in the command line needed to run a project. The OS is Windows 7 Home. The project has two external libraries: one in the Java modules in the NetBeans 11 directory, and one of my own. In version 8 it was possible to r