NetBeans 11.2 - how to use Remote Java SE for example with Raspberry Pi?

2020-01-15 Thread Lister Jonathan
I can create the remote Java SE platform OK via Tools / Java Platforms: [cid:image001.png@01D5CBCD.9CCC8140] And Test Platform works fine (but I can't show the console output here because it is removed before I can copy / paste it).. But when I right click a project and select Project

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-06 Thread Neil C Smith
On Sat, 4 Jan 2020 at 19:41, ronald marangwanda wrote: > Im on Ubuntu 18.04 and the java im using is openjdk version "11.0.5" Thanks. Just had a bit of time to dig into this. I can replicate your issue with the duplicate launcher icon appearing, as of 11.2 - earlier versions are f

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread ronald marangwanda
Im on Ubuntu 18.04 and the java im using is openjdk version "11.0.5" Thanks, On Sat, 4 Jan 2020 at 04:49, Neil C Smith wrote: > > > On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, > wrote: > >> It shall work, here is the line from the Snap package: >> >&

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread Neil C Smith
On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, wrote: > It shall work, here is the line from the Snap package: > > StartupWMClass=Apache NetBeans IDE 11.2 > > It was confirmed to work for 11.2 > Given the xprop output in the original email I'm not sure it is everywhere. It also feels familiar. I'll

Re: STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
> developing upon struts in 10+ years OMG! I guess I better go on Spring MVC . I hope that i still current. On 04/01/2020 00:53, Laszlo Kishalmi wrote: Well try this one: https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html I'd recommend to start a Simple

Re: STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Well try this one: https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html I'd recommend to start a Simple Maven Web application. The graphical web designer had been retired ages ago as well as the tutorial page. Personally I haven't seen anyone developing upon

STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
Thank you sir, my particular interest is in struts2 framework. I was particularly drawn to NetBeans because of the page I found showing I can develop  stuts2  graphically. https://netbeans.org/kb/docs/web/quickstart-webapps-struts.html That page seems to show struts1 , may be it is out of

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Yes this is the user list. We have a separate one called dev for those who has the interest! On 1/3/20 3:23 PM, zahid wrote: is this the right emailing list for users of NetBeans because I have no interest in developing anything for  netbeans just use want to netbeans for developing web

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
is this the right emailing list for users of NetBeans because I have no interest in developing anything for  netbeans just use want to netbeans for developing web applications ? On 03/01/2020 23:16, Laszlo Kishalmi wrote: It shall work, here is the line from the Snap package:

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
It shall work, here is the line from the Snap package: StartupWMClass=Apache NetBeans IDE 11.2 It was confirmed to work for 11.2 On 1/3/20 3:10 PM, Neil C Smith wrote: On Fri, 3 Jan 2020, 21:36 ronald marangwanda, mailto:ronald.marangwa...@gmail.com>> wrote: I added that line to the

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020, 21:36 ronald marangwanda, wrote: > I added that line to the .desktop file but I do not know what the correct > WMClass for Apache Netbeans 11.2 is. > Ah, sorry, you're right - it should match the value you get from xprop. And does seem like the code to set WM_CLASS linked

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
You have not mentioned  ubuntu version , so I am hesitant to answer. I too have created  desktop shortcut manually. I prefer to use install kubuntu  directly after after I install ubuntu gnome. because I do not want of deprive myself of free  stuff. Anyway I have found the two important

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread ronald marangwanda
Hi Neil, Ok, thanks. I added that line to the .desktop file but I do not know what the correct WMClass for Apache Netbeans 11.2 is. When I enter the line you posted as is, I still get the duplicate icons when I launch the application, which means its not the correct WMClass. What is the correct

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Also if you install it from https://snapcraft.io/netbeans then the desktop file would be correct. On 1/3/20 9:21 AM, Neil C Smith wrote: On Fri, 3 Jan 2020 at 16:24, ronald marangwanda wrote: I created a .desktop file for Gnome 3 on Ubuntu. ... Does netbeans not set the WM_CLASS correctly?

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020 at 16:24, ronald marangwanda wrote: > I created a .desktop file for Gnome 3 on Ubuntu. ... > Does netbeans not set the WM_CLASS correctly? How do I fix this? The answer's in your question! ;-) Make sure to add the WM_CLASS line to the .desktop file eg. StartupWMClass=Apache

WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread ronald marangwanda
I created a .desktop file for Gnome 3 on Ubuntu. Everytime I launch netbeans 11.2, the launcher icon is duplicated on the Gnome dock. I checked the WM_CLASS property for netbeans 11.2: > $ xprop WM_CLASS > WM_CLASS(STRING) = "java-lang-Thread", "java-lang-Thread"

Re: [Java] Migration From Eclipse Questions

2019-11-30 Thread Oron Subayi
Thanks for replying Laszlo I think I need to elaborate a bit, since I think I described something wrong - Not an expert on these things : / So what I see [that is what I think I got wrong] is that the other projects were added under "classpath" tab in the Java application and

Re: [Java] Migration From Eclipse Questions

2019-11-30 Thread Laszlo Kishalmi
See https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-exttools.htm For 1: In Eclipse we have same project with multiple application configurations - So basically different Java applications for the same project, but the difference is that one a

[Java] Migration From Eclipse Questions

2019-11-29 Thread Oron Subayi
kspace_loc} - See https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-exttools.htm For 1: In Eclipse we have same project with multiple application configurations - So basically different Java applications for the same project, but the difference i

Re: [java] [openjpa] [gradle] can't get weaving to work in Netbeans 11

2019-11-28 Thread Dr. Matthias Laux
t:/openjpa-3.1.0.jar on the > command line. I am not able to figure out how to get this into the > execution > path of Gradle within Netbeans. It always fails with not getting the > -javaagent argument passed to the JVM from within NB. I can try the Run > button in the menu bar or >

Re: [java] [openjpa] [gradle] can't get weaving to work in Netbeans 11

2019-11-27 Thread Laszlo Kishalmi
Netbeans. It always fails with not getting the -javaagent argument passed to the JVM from within NB. I can try the Run button in the menu bar or right-click "run ", same problem. OpenJPA doesn't work because the weaving is not possible ... the Java Agent is missing. I have tried the bu

[java] [openjpa] [gradle] can't get weaving to work in Netbeans 11

2019-11-27 Thread Dr. Matthias Laux
can try the Run button in the menu bar or right-click "run ", same problem. OpenJPA doesn't work because the weaving is not possible ... the Java Agent is missing. I have tried the build config in Netbeans under Project - Properties - Build - BuildActions with run and run.single, no lu

Re: NB on Linux platform and Java FX trouble

2019-11-25 Thread Gustavo Castro
te: > >> Use Maven, like this: >> >> https://www.youtube.com/watch?v=l9aoicDiQ_A >> >> Gj >> >> On Mon, Nov 25, 2019 at 3:53 PM Luciano Schiavone < >> luciano.schiav...@gmail.com> wrote: >> >>> I installed NB 11.2 on Linux Mint 19 (Tina) w

Re: NB on Linux platform and Java FX trouble

2019-11-25 Thread Geertjan Wielenga
ne < > luciano.schiav...@gmail.com> wrote: > >> I installed NB 11.2 on Linux Mint 19 (Tina) with openjdk-11-jdk and >> libopenjfx-java. >> >> When I try to create a Java FXML application NB tells me that the >> platform doesn't support Java FX. There is anybody else who had the same >> problem? >> >

Re: NB on Linux platform and Java FX trouble

2019-11-25 Thread Geertjan Wielenga
Use Maven, like this: https://www.youtube.com/watch?v=l9aoicDiQ_A Gj On Mon, Nov 25, 2019 at 3:53 PM Luciano Schiavone < luciano.schiav...@gmail.com> wrote: > I installed NB 11.2 on Linux Mint 19 (Tina) with openjdk-11-jdk and > libopenjfx-java. > > When I try to create a Jav

NB on Linux platform and Java FX trouble

2019-11-25 Thread Luciano Schiavone
I installed NB 11.2 on Linux Mint 19 (Tina) with openjdk-11-jdk and libopenjfx-java. When I try to create a Java FXML application NB tells me that the platform doesn't support Java FX. There is anybody else who had the same problem?

Re: NetBeans java minimum requirements

2019-11-07 Thread Gustavo Castro
Product Version: Apache NetBeans IDE 11.2 Java: 1.8.0_232; OpenJDK 64-Bit Server VM 25.232-b09 Runtime: OpenJDK Runtime Environment 1.8.0_232-8u232-b09-1-b09 System: Linux version 5.3.0-1-amd64 running on amd64; UTF-8; es_NI (nb) Apache NetBeans IDE 11.2 run on jdk 8 and support jdk 13

NetBeans java minimum requirements

2019-11-07 Thread Leo Donahue
er jdks into /opt/jdk and then configure alternatives. I have an old 11.0.1 openjdk installed in /opt/jdk that you can get from here: https://jdk.java.net/archive/ (it was new at the time) leo@debvmw01:~$ java -version openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment 18

Re: "New Project->Java with Maven -> Netbean" Module fails

2019-11-01 Thread William Reynolds
Confirmed that it works in 11.2. One weird thing - upon creation, the pom was showing an error, didn't recognize nbm. Adding removing some text to the pom and saving caused it to reload and to work. This was immediately after installing 11.2. Subsequent restarts and project creation did not

Re: Platform App, JavaFX, and Java 11

2019-10-31 Thread Steven Yi
chain now to Java 11 JDK and it's bringing up other issues now. (Some oddities compiling with source=11 and invalid class format at runtime ring a bell for anyone?) Will be some more days before this is ironed out. For now though, if anyone is interested, the JavaFX part seems to be working well

RE: Platform App, JavaFX, and Java 11

2019-10-31 Thread Eric Barboni
, JavaFX, and Java 11 Following up, I dug into this a lot today with the debugger and stepping though the platform startup process. I found that the issue wasn't related to JavaFX at all but rather a native library I use via SWIG bindings. I'm exploring a JNA-based solution now

Re: Platform App, JavaFX, and Java 11

2019-10-30 Thread Steven Yi
, JavaFX+Swing did run on Java 11 for me in the end, which was a big relief. I'll follow up one last time on this thread when there is a fixed up solution in case anyone is interested in the maven wrapper module I put together to get JavaFX integrated. All best, Steven On Tue, Oct 29, 2019 at 9:53 PM

Platform App, JavaFX, and Java 11

2019-10-29 Thread Steven Yi
Hi All, I've been working on migrating my platform application Blue to Maven. I have this working with RELEASE111 and Java 8. However, when I move to Java 11, my app starts up, show the splash screen, shows messages about loading modules, then disappears and nothing happens. My application

Re: Java project now needs classpaths to run it

2019-10-22 Thread Peter Toye
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 run it Wh

Re: Java project now needs classpaths to run it

2019-10-21 Thread Eric J. Schwarzenbach
It's pretty common-place (at least in *nix) for commands 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/

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

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

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

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

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

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
t 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 now has

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
otes round the Java executable directory "Program Files" "-module-path" should read "--module-path" "-m" needed before the main class. Why the Java designer can't just stick to a single syntax is beyond me. Best regards, Peter mailto:netbe...@ptoye.c

Re: Java project now needs classpaths to run it

2019-10-21 Thread Geertjan Wielenga
s: > > >1. No double quotes round the Java executable directory "Program Files" >2. "-module-path" should read "--module-path" >3. "-m" needed before the main class. > > > > Why the Java designer can't just stick to a s

Re: Java project now needs classpaths to run it

2019-10-21 Thread Peter Toye
ipt output now has three bugs: No double quotes round the Java executable directory "Program Files" "-module-path" should read "--module-path" "-m" needed before the main class. 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-20 Thread Geertjan Wielenga
do not try to explain -- just take your application and put it on GitHub or somewhere else (please not as a ZIP file) and then I'll be happy to help. Indeed, yes, it would be very useful to everyone if you'd join the openjdk mailing lists and explain the problems you're having running java on the co

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

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/

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: {NetBeans IDE] {JAVA]

2019-10-15 Thread Neil C Smith
On Wed, 9 Oct 2019, 05:13 Lou, wrote: > -Dremote.platform.home=/home/pi/jre/ > ... > '/home/pi/jre//bin/java' > That double slash looks suspicious. Maybe the slashes at the end of the various remote location properties need removing? Best wishes, Neil

Re: {NetBeans IDE] {JAVA]

2019-10-14 Thread Lou
Pete, thanks for the clue.  Looking at the file structure remotely, I think you are correct there is another install of java. I need to check the documentation. ("When all else fails, read the ... manual") Lou On 10/14/2019 3:34 AM, Pete Whelpton wrote: Hi Lou, Sounds like

Re: {NetBeans IDE] {JAVA]

2019-10-14 Thread Pete Whelpton
Hi Lou, Sounds like one of two things: 1) The linker needs to access that .so file and can't - probably because it is in the home directory of the pi user. If you move the jdk folder under /usr/lib/ (on my Linux laptop I tend to stick all the different version of Java I have in /usr/lib/jdk

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

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

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
t;>> version of NetBeans? Which steps did you follow, what must we do to >>> reproduce the problem? >>> >>> Gj >>> >>> On Sun, Oct 13, 2019 at 10:53 PM Lou wrote: >>> >>>> I could use some help here. I'm new to NetBeans an

Re: {NetBeans IDE] {JAVA]

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

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Lou
roduce the problem? Gj On Sun, Oct 13, 2019 at 10:53 PM Lou mailto:lk...@knob.com>> wrote: I could use some help here. I'm new to NetBeans and don't have a clue where to start. Lou On 10/8/2019 10:13 PM, Lou wrote: When trying to add a remote e

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
;> Lou >> >> On 10/8/2019 10:13 PM, Lou wrote: >> >> When trying to add a remote embedded java platform on a Raspberry pi I >> get an error when I click >> >> Looking at the Raspberry file structure it looks like the jre gets >> properly insta

Re: {NetBeans IDE] {JAVA]

2019-10-13 Thread Geertjan Wielenga
where to start. > > Lou > > On 10/8/2019 10:13 PM, Lou wrote: > > When trying to add a remote embedded java platform on a Raspberry pi I get > an error when I click > > Looking at the Raspberry file structure it looks like the jre gets > properly installed, however the last

Re: {NetBeans IDE] {JAVA]

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

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

{NetBeans IDE] {JAVA]

2019-10-08 Thread Lou
When trying to add a remote embedded java platform on a Raspberry pi I get an error when I click Looking at the Raspberry file structure it looks like the jre gets properly installed, however the last step fails. The following output seems to indicate that the problem is "error

Re: Maven project with java modules

2019-10-07 Thread Richard Grin
Thanks Geertjan, all is clear for me now. Richard Le 07/10/2019 à 10:36, Geertjan Wielenga a écrit : If you’re using Maven, the point for you is to understand how Maven works with Jigsaw — there’s hundreds of tips and insights you can find on google about this. For the Java modular project

Re: Maven project with java modules

2019-10-07 Thread Geertjan Wielenga
If you’re using Maven, the point for you is to understand how Maven works with Jigsaw — there’s hundreds of tips and insights you can find on google about this. For the Java modular project, look in the “Java with Ant” category. To do something similar to that witb Maven, just create a Maven

Re: Maven project with java modules

2019-10-07 Thread Richard Grin
and explains clearly how to use modules with NetBeans like a simple Java project with a module-info.java. It's exactly what I was looking for. Just a question: In this YouTube video, you explain another way to use modules with NetBeans with a "Java modular project". I can't find it i

SOLVED -- Re: Creating a Java library project with Apache Netbeans

2019-10-06 Thread Peter L. Berghold
Thanks for the help folks. One suggested feature I'd like to put out there? Have an option for initializing the Git repo (local) at project start? -- Peter L. Berghold Professonally: IT Professional (DevOps, Puppet, Perl...) Advocations: Dog Training,

Re: Maven project with java modules

2019-10-06 Thread Geertjan Wielenga
a a écrit : > > A Jigsaw module is simply a Java SE project with a module-info.java file. > In other words, in NetBeans, the concept of a Jigsaw module is synonymous > with the Java project type. > > Gj > > On Sun, 6 Oct 2019 at 12:24, Richard Grin > wrote: > >>

Re: Maven project with java modules

2019-10-06 Thread Richard Grin
So, there is no reasons to create several modules into a NetBeans project? If I have understood you correctly. Le 06/10/2019 à 12:28, Geertjan Wielenga a écrit : A Jigsaw module is simply a Java SE project with a module-info.java file. In other words, in NetBeans, the concept of a Jigsaw module

Re: Maven project with java modules

2019-10-06 Thread Richard Grin
: https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples/tree/master/AnagramGameMaven Gj On Sun, 6 Oct 2019 at 12:03, Richard Grin mailto:richard.g...@univ-cotedazur.fr>> wrote: Hi, Where can I find a good example to create a Maven NetBeans project with java modules (not Ne

Re: Maven project with java modules

2019-10-06 Thread Geertjan Wielenga
A Jigsaw module is simply a Java SE project with a module-info.java file. In other words, in NetBeans, the concept of a Jigsaw module is synonymous with the Java project type. Gj On Sun, 6 Oct 2019 at 12:24, Richard Grin wrote: > Thanks Geertjan for this example I will study. > >

Re: Maven project with java modules

2019-10-06 Thread Geertjan Wielenga
https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples/tree/master/AnagramGameMaven Gj On Sun, 6 Oct 2019 at 12:03, Richard Grin wrote: > Hi, > > Where can I find a good example to create a Maven NetBeans project with > java modules (not NetBeans modules)? >

Java project now needs classpaths to run it

2019-10-05 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

Re: Creating a Java library project with Apache Netbeans

2019-10-03 Thread Laszlo Kishalmi
Also available on at Java with Gradle | Java Class Library On 10/3/19 11:39 AM, Emilian Bold wrote: You might be looking for 'Java with Ant | Java Class Library'? The same can be accomplished using 'Java with Maven | Java Application' I believe. It's all a matter of the build system. --emi

Re: Creating a Java library project with Apache Netbeans

2019-10-03 Thread Emilian Bold
You might be looking for 'Java with Ant | Java Class Library'? The same can be accomplished using 'Java with Maven | Java Application' I believe. It's all a matter of the build system. --emi On Thu, Oct 3, 2019 at 8:55 PM Peter L. Berghold wrote: > > I seem to be missing something here.

Creating a Java library project with Apache Netbeans

2019-10-03 Thread Peter L. Berghold
I seem to be missing something here. When I last used Netbeans 8.x I was able to from the menu create a Java library. That does not seem to be the case with NB 11.0. Please advise -- Peter L. Berghold Professonally: IT Professional (DevOps, Puppet, Perl

Re: [java] Cannot debug on Raspberry Pi using NetBeans 11

2019-10-01 Thread Donald F Clark Sr
There is a message previous to the Error message described below, which says "Property "debug-args-line" has not been set”. This appears to be the root cause, but I have not been able to determine how and/or where to set this property, and what it expected to contain. >

[java] Cannot debug on Raspberry Pi using NetBeans 11

2019-10-01 Thread Donald F Clark Sr
I have a Java project that is configured to cross-develop on a Raspberry Pi 3 Model B running Raspbian Stretch and JDK 8. The project can be Run on the RPi, but when I attempt to Debug the project the Output window shows this report: Error: Could not find or load main class args-line

Re: Java 8 still on Java.com

2019-10-01 Thread Scott Palmer
I would go with the jpackage EA build. That tool is going to be part of the JDK as of Java 14 after all. Scott > On Sep 30, 2019, at 9:06 PM, Derik Devecchio wrote: > >  > Emillian, > > Thanks for getting back to me.I am not trying to re-invent “write once > run a

Re: Java 8 still on Java.com

2019-10-01 Thread Derik Devecchio
p 30, 2019, at 12:20 PM, Emilian Bold mailto:emilian.b...@gmail.com>> wrote: Well, there is a public facing Java distribution such as AdoptOpenJDK and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu=DwIFaQ=euGZstcaTDllvi

Re : Re: Java 8 still on Java.com

2019-10-01 Thread Jerome Lelasseux
I had not thought of that. —derik On Sep 30, 2019, at 12:20 PM, Emilian Bold wrote: Well, there is a public facing Java distribution such as AdoptOpenJDK and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu=D

RE: Java 8 still on Java.com

2019-09-30 Thread Ed Sowell
: Re: Java 8 still on Java.com Emillian, Thanks for getting back to me.I am not trying to re-invent “write once run anywhere”.I accept that everything is going to need an installer now. The question is, how do I get from “Clean and Build” to .EXE file that includes a JRE

Re: Java 8 still on Java.com

2019-09-30 Thread Derik Devecchio
ep 30, 2019, at 12:20 PM, Emilian Bold mailto:emilian.b...@gmail.com>> wrote: Well, there is a public facing Java distribution such as AdoptOpenJDK and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu=DwIFaQ=euGZstcaTDllvimE

Re: Java 8 still on Java.com

2019-09-30 Thread Emilian Bold
Well, there is a public facing Java distribution such as AdoptOpenJDK and many Linux distros provide their own (see http://www.jchoice.eu ). So, at least on Linux, you will have some form of Java in their repositories. Although even there there's nothing stopping you to ship your own runtime

Re: Java 8 still on Java.com

2019-09-30 Thread Derik Devecchio
> On Sep 30, 2019, at 9:55 AM, Emilian Bold wrote: > > Java is no longer an user-facing product, it's middleware. > Okay, that sounds like an improvement from where I am standing, but… Can Netbeans help me with that now? The last time I looked into bundling the JRE with m

Re: Java 8 still on Java.com

2019-09-30 Thread Emilian Bold
Java is no longer an user-facing product, it's middleware. You are expected to provide Java bundled with your application in the future. Users will not have any Java already available nor will they download any new Java. --emi On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio wrote: > >

Re: Java 8 still on Java.com

2019-09-30 Thread Geertjan Wielenga
Best to join the mailing lists here and discuss further there: https://openjdk.java.net/ Gj On Mon, Sep 30, 2019 at 6:40 PM Scott Palmer wrote: > There are no JRE downloads after Java 8. > > You are expected to bundle Java with your application. > > Scott > > > On S

Re: Java 8 still on Java.com

2019-09-30 Thread Scott Palmer
There are no JRE downloads after Java 8. You are expected to bundle Java with your application. Scott > On Sep 30, 2019, at 12:39 PM, Derik Devecchio > wrote: > > I know that the Netbeans’s forum doesn’t maintain Java.com > <http://java.com/>. But I don’t know anyone

Java 8 still on Java.com

2019-09-30 Thread Derik Devecchio
I know that the Netbeans’s forum doesn’t maintain Java.com<http://Java.com>. But I don’t know anyone else to ask off hand. I went to Java.com<http://Java.com> to find out the “latest public stable release”. I was expecting Java 9 point something.But I was hoping for 10, 11

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-28 Thread Geertjan Wielenga
On Sat, Sep 28, 2019 at 1:05 AM Scott Palmer wrote: > This is a good first step. I think some rough edges remain though. > > For example, if you go to the project properties ->Build->Compile and flip > the JDK between Java from 8 to 11+, I’m guessing everything breaks. Ca

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Scott Palmer
This is a good first step. I think some rough edges remain though. For example, if you go to the project properties ->Build->Compile and flip the JDK between Java from 8 to 11+, I’m guessing everything breaks. Can we do anything helpful in that situation? JavaFX 13 requires Java 11

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Chuck Davis
Done. On Fri, Sep 27, 2019 at 8:09 AM Geertjan Wielenga wrote: > Also, please comment your support for this PR, which updates the Maven > plugin for OpenJFX to support both JDK 8 and beyond: > > https://github.com/openjfx/javafx-maven-plugin/pull/44 > > Gj > > >

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Geertjan Wielenga
e anything at all with Maven and > NetBeans, just tweak this file whenever you have an improvement, new > archetypes, new versions, and provide a pull request. Just this file is all > you need, print it out and stick it on your ceiling so you see it whenever > you wake up in the morning: &g

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Geertjan Wielenga
ps://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/newproject/MavenWizardIterator.java Gj > > On Fri, Sep 27, 2019 at 7:24 AM Geertjan Wielenga > wrote: > >> >> On Fri, Sep 27, 2019 at 3:21 PM Chuck Davis wrote: >> >>> I d

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Chuck Davis
I think that is a fabulous idea I've been advocating for since JDK11 was released. What is on the "create a new project" menu needs to create a project that will build and run in the IDE. On Fri, Sep 27, 2019 at 7:24 AM Geertjan Wielenga wrote: > > On Fri, Sep 27, 2019 at 3:21 PM Chuck Davis

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Scott Palmer
ckage java.lang in classpath or bootclasspath” This is running on macOS with OpenJDK 12.0.2 Build log follows: cd /Users/scott/NetBeansProjects/mvnjfx; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home "/Applications/NetBeans/NetBeans 11.2 Beta.app/Contents/Resources/Net

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Geertjan Wielenga
On Fri, Sep 27, 2019 at 3:24 PM Chuck Davis wrote: > If using a "sample" is required that should be indicated someplace where > users will find it a project creation time. I've been using NB for many > years and have never had to resort to using a sample to create a project. > It's not what a

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Chuck Davis
If using a "sample" is required that should be indicated someplace where users will find it a project creation time. I've been using NB for many years and have never had to resort to using a sample to create a project. It's not what a user would expect in my opinion. If NB wants to maintain

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Geertjan Wielenga
s registered, is there another one we >> should register instead: >> >> >> https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/newproject/MavenWizardIterator.java >> >> See line 76 to 80 in the above. >> >> Gj >>

Re: Hopefully close to the finish line with Java 11 & FX

2019-09-27 Thread Geertjan Wielenga
xist” >> >> Building the project also fails with the bizarre error "Fatal Error: >> Unable to find package java.lang in classpath or bootclasspath” >> >> This is running on macOS with OpenJDK 12.0.2 >> >> Build log follows: >> >> cd /Users/scot

<    1   2   3   4   5   6   7   8   >