Re: How to maintain *.java and *.form in different directories?

2022-10-18 Thread Neil C Smith
On Tue, 18 Oct 2022 at 17:51, Thorsten Schöning wrote: > Mostly that non-Java is exactly what is meant to be maintained in > "resources". There's not that much difference between images or XML > form files. This might even allow to not publish those files as part > of the

Re: How to maintain *.java and *.form in different directories?

2022-10-18 Thread Thorsten Schöning
Guten Tag László Kishalmi, am Dienstag, 18. Oktober 2022 um 18:27 schrieben Sie: > Just would like to know what is the motivation behind separating the java > and the form files? Mostly that non-Java is exactly what is meant to be maintained in "resources". There's not that

Re: How to maintain *.java and *.form in different directories?

2022-10-18 Thread László Kishalmi
Hi there, Just would like to know what is the motivation behind separating the java and the form files? On Tue, Oct 18, 2022 at 9:12 AM Thorsten Schöning wrote: > Hi everyone, > > I would like to switch historically grown projects in NetBeans own > directory layout with its own se

How to maintain *.java and *.form in different directories?

2022-10-18 Thread Thorsten Schöning
Hi everyone, I would like to switch historically grown projects in NetBeans own directory layout with its own settings files to Gradle using the common distinction of Java source files vs. resources of other kinds. Currently I have a mixup of Java files, assoicted *.form files for the UI designer

Can't attach to a debug process on Java 17

2022-08-28 Thread Blake McBride
Greetings, I am using NetBeans 15-rc4 on Fedora Linux. I see the same problem under NetBeans 14. I have been debugging my Java app by attaching to a process under Java 8 with no problem. I upgraded my app and system to Java 17. I can no longer attach to the process. NetBeans says, "Conne

Re: Java NetBeans IDE14 Project (Unloadable) pom.xml Error

2022-08-12 Thread Michael Bien
if you want). more info here, see first code snippet: https://maven.apache.org/plugins/maven-assembly-plugin/usage.html regards, michael On 12.08.22 01:21, M. Hagen wrote: Hello, I am fairly new to NetBeans and a novice user of Java 1.8... (Most of my Java programming has been done

Re: Java NetBeans IDE14 Project (Unloadable) pom.xml Error

2022-08-11 Thread David Green
1.8 is a long way back but I think I used this article as a starting point: https://crunchify.com/how-to-create-build-java-project-including-all-dependencies-using-maven-maven-resources-maven-dependency-maven-jar-plugin-tutorial/ Dave On Thu, Aug 11, 2022 at 6:22 PM M. Hagen wrote: > He

Java NetBeans IDE14 Project (Unloadable) pom.xml Error

2022-08-11 Thread M. Hagen
Hello, I am fairly new to NetBeans and a novice user of Java 1.8... (Most of my Java programming has been done with Notepad at the command prompt.) While attempting to created a packaged JAR file for distribution with NetBeans Maven, I get an error of "No MANIFEST.MF attributes found&

Re: NB 14, 15 Platform Applications and Java 8 compatibility

2022-08-01 Thread Mike Hallan
hing since there are a lot of application modules, many obfuscated, plus all the jars that are part of the netbeans platform itself. I've seen some docs and demos on simpler java applications but none on a NB Platform Ant application. Hopefully it'll be basically a case of jdeps with a recursive

Re: NB 14, 15 Platform Applications and Java 8 compatibility

2022-07-30 Thread Neil C Smith
On Sat, 30 Jul 2022 at 11:53, Michael Bien wrote: > Bundling a custom runtime (jlink) with the application might be also a > consideration. > > There is also ... jpackage etc which might help there. And of course, https://github.com/apache/netbeans-tools/tree/master/nbpackage jpackage is

Re: NB 14, 15 Platform Applications and Java 8 compatibility

2022-07-30 Thread Michael Bien
On 29.07.22 12:28, Mike Hallan wrote: I want to know whether to tell end users that they must move to J11+, or that J8 is still OK. it highly depends on what user base you have, but there is usually no good reason to use anything else outside of the latest java LTS release. You get

Re: NB 14, 15 Platform Applications and Java 8 compatibility

2022-07-30 Thread Neil C Smith
On Fri, 29 Jul 2022 at 11:28, Mike Hallan wrote: > Does this mean that a NB Platform Application, compiled on NB 15 as described > above, is compatible to run on Java 8? Or is this just luck that it ran on > Java 8 and the error msg saying 1.8 is something that hasn't yet been updated?

NB 14, 15 Platform Applications and Java 8 compatibility

2022-07-29 Thread Mike Hallan
I know NB 15 is still not released but I'm using rc1 it because 14 had an issue that made it unusable for me (forms designer frequently freezing). After migrating from NB 12, the NB Platform's project 'Manage Platform' remained at Java 8. I found that the produced NB Platform Application ran

Re: Java Platform Javadoc

2022-07-11 Thread Neil C Smith
On Mon, 11 Jul 2022 at 11:01, Neil C Smith wrote: > On Mon, 11 Jul 2022 at 10:20, Michael Bien wrote: > > On 11.07.22 06:56, Bradley Willcott wrote: > > > For JDK 18 for instance, using the root address: > > > https://docs.oracle.com/en/java/javase/18/docs/api/

Re: Java Platform Javadoc

2022-07-11 Thread Neil C Smith
On Mon, 11 Jul 2022 at 10:20, Michael Bien wrote: > On 11.07.22 06:56, Bradley Willcott wrote: > > For JDK 18 for instance, using the root address: > > https://docs.oracle.com/en/java/javase/18/docs/api/ does not work > > because of the modularity introduced some versions

Re: Java Platform Javadoc

2022-07-11 Thread Michael Bien
. For JDK 18 for instance, using the root address: https://docs.oracle.com/en/java/javase/18/docs/api/ does not work because of the modularity introduced some versions ago. Why has this not been fixed within NB? there is probably no conspiracy going on, its likely that just nobody found

Java Platform Javadoc

2022-07-10 Thread Bradley Willcott
: https://docs.oracle.com/en/java/javase/18/docs/api/ does not work because of the modularity introduced some versions ago. Why has this not been fixed within NB? Where is the Java Platform info stored within NB's config? I have put up with this situation for too long now, so I need to fix

Re: Windows with blank background, java, Nvidia, 30bit colors

2022-07-03 Thread Guy Daniel
thought maybe can be useful to others... It's more related to the java engine I guess. I'm using Ubuntu studio 22.04 and Openjdk 11.0.15 2022-04-19. And I had the same situation with both Netbeans 12.x and 14. Last week I've changed the graphic card with an Nvidia rtx 2060 and I've selected

Windows with blank background, java, Nvidia, 30bit colors

2022-07-03 Thread Marco Penitenti
Hello, I'm new to the list I've seen there is no FAQ or info configured, so I hope doing just fine writing here. I've encounter a weird situation and solved it and I thought maybe can be useful to others... It's more related to the java engine I guess. I'm using Ubuntu studio 22.04

Re: setting default Java platform

2022-06-03 Thread Neil C Smith
On Fri, 3 Jun 2022, 18:16 Michael Bien, wrote: > just because java -version works in your shell does not mean everything > is correctly set up. > Worth remembering too that the important thing is the location of the javac on the path (not java) and the output of javac -version. The

Re: setting default Java platform

2022-06-03 Thread Michael Bien
ke that. I do have also JDK 8, 11, 17 and 18 installed locally via manjaro's package manager, but I don't use those for NetBeans (since the projects aren't using those either post deployment. I test on whatever the program is supposed to run on in production. as general note: just because

Re: setting default Java platform

2022-06-03 Thread Andreas Reichel
Glen, something is definitely wrong with your JVM Folder or your JAVA_HOME because this works for me like a charm. Default is derived from the Folder of the currently running JVM instance. When I change the Default instance, Netbeans just follows. Have you tried to set JAVA_HOME to the actual

Re: setting default Java platform

2022-06-03 Thread Glenn Holmer
because it would break too many dependencies, but instead use a symlink "/opt/java" pointing to jdk-17.0.2 or whatever version I want to use (with the $PATH pointing to /opt/java before the Debian one). Just for fun, I ran "bin/java -version" from the "default's" d

Re: setting default Java platform

2022-06-03 Thread Michael Bien
ire to set it in netbeans.conf and restart https://github.com/apache/netbeans#log-config-and-cache-locations NB 13 supports running on JDK 17 (NB 14 supports 18 etc), so it should be no problem regards, michael On 03.06.22 16:06, Glenn Holmer wrote: Why can't I remove the default Java platfo

Re: setting default Java platform

2022-06-03 Thread Andreas Reichel
Greetings Glen. Looks correct to me (from the Netbeans point of view), but your need to check the directories. Mine looks like: are@archlinux ~> ls /usr/lib/jvm/ …/lib/jvm/default/ …/lib/jvm/java-17-jetbrains/ …/lib/jvm/default-runtime/ …/lib/jvm/java-17-openjdk/ …/lib/jvm/j

setting default Java platform

2022-06-03 Thread Glenn Holmer
Why can't I remove the default Java platform? How do I set 17.0.2 as the default? See attached screenshot. -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and

Re: NetBeans interface with Java

2022-05-11 Thread Bernd Michaely
… and also available through the "Settings…" item in the context menu of the output window On 10.05.22 17:35, Laszlo Kishalmi wrote: Tools > Options > Miscellaneous > Output > Font Size On 5/10/22 07:38, Michael Rootshtain wrote: Hi, I have increased the size of the font in the editor in

Re: NetBeans interface with Java

2022-05-10 Thread Laszlo Kishalmi
Tools > Options > Miscellaneous > Output > Font Size On 5/10/22 07:38, Michael Rootshtain wrote: Hi, I have increased the size of the font in the editor in Apache NetBeans but where do I manage to increase the size of the font in the output console. Best regards, Mike Rootshtain

NetBeans interface with Java

2022-05-10 Thread Michael Rootshtain
Hi, I have increased the size of the font in the editor in Apache NetBeans but where do I manage to increase the size of the font in the output console. Best regards, Mike Rootshtain

remote debug with java 17 (any version > 8) and netbeans 13 and ant template

2022-04-29 Thread Alain Vitry
Hello, I've tried to fix remote debug a raspberry pi with netbeans 13 and jdk 17 which fails because the build script relies on a javascript scriptdef and javascript engine is not available since jdk 9. In the remote-platform-impl.xml the failing bit is :

[java] What is the license of the new project templates?

2022-03-16 Thread julian
I am curious what the license is for the files generated by the various "New Project..." wizards. I am specifically interested in the "Java with Maven/Gradle/Ant" and JavaFX projects. I am aware that NetBeans is licensed under the Apache License Version 2

Re: [java] library management with wildcards

2022-02-08 Thread Juan Algaba
I remember dealing with this when I was using Windows 7 / JDK 8 Tried manually modifying build-impl.xml to achieve what you're talking about, and although it worked for compiling through the command line, the editor still showed errors like it couldn't find my libraries. Does someone know if the

[java] library management with wildcards

2022-02-07 Thread Stefan Holst
Hi! I have a small add-on class that is referencing a huge class library. The class library is installed on a relatively long base path, and with that the library can happily be created, but on compilation on windows the CreateProcess error=206 problem arises, as ant will expand the compilation

Free Java (and More) Short Sessions Live Today

2022-02-05 Thread Geertjan Wielenga
Hi all, Virtual FOSDEM is taking place today and tomorrow and since it's all on-line instead of in Brussels, simply go here to attend the Friends of OpenJDK room, where a lot of short Java sessions (plus more e.g., Kotlin) will be held throughout today and tomorrow: https://fosdem.org/2022

Re: Introduction to Profiling Java Applications in NetBeans IDE

2022-01-30 Thread Michael Bien
-- Now time to go and optimise my sequential scan! John *From: *Peter Ream <mailto:todive...@gmail.com> *Sent: *29 January 2022 19:18 *To: *users@netbeans.apache.org *Subject: *RE: Re: Introduction to Profiling Java Applications in NetBeans IDE I found this intriguing. I know nothing ab

Re: Strange surefire problem using wrong Java version

2022-01-30 Thread Peter Nabbefeld
m expected exports java.awt.image; [...] I've already tried to fix the problem by adding "/usr/lib64/jvm/java-8-openjdk/jre/bin/java" to the configuration element, but that doesn't work either. The project is of "NetBeans Module" type. If suref

RE: Re: Introduction to Profiling Java Applications in NetBeans IDE

2022-01-29 Thread John
ime:  47.465 sFinished at: 2022-01-29T20:56:58Z Now time to go and optimise my sequential scan! John  From: Peter ReamSent: 29 January 2022 19:18To: users@netbeans.apache.orgSubject: RE: Re: Introduction to Profiling Java

Strange surefire problem using wrong Java version

2022-01-29 Thread Peter Nabbefeld
by adding "/usr/lib64/jvm/java-8-openjdk/jre/bin/java" to the configuration element, but that doesn't work either. The project is of "NetBeans Module" type. If surefire needs its own Java version configuration, this should be done automatically (as long as I'm using the "Projec

[JAVA] Profiler

2022-01-21 Thread Khalil El Mazouari
Hi, Whene I run the profiler on Netbeans 12.5 and 12.6 I am getting the = following error: [ERROR] Failed to execute goal = org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project = ae: The parameters 'executable' for goal = org.codehaus.mojo:exec-maven-plugin:1.2.1:exec are

NetBeans 12.6/Java 11 Remote Debug Fails - Property "debug-args-line" has not been set

2022-01-21 Thread Blaine Heinfeld
My attempts to debug on a remote Raspberry Pi 4 are failing with the following error: Error: Could not find or load main class args-line Caused by: java.lang.ClassNotFoundException: args-line This seems to be a result of the following message earlier in the output stream: Property

Re: [java] how to set the platform for a project?

2022-01-20 Thread Danielle Honigstein
Hi all, I want to use Netbeans to program Java remotely on a Raspberry Pi. I successfully added it to Tools->Java Platforms. It now appears under Remote Java SE, and "Test platform" is successful. However, I haven't been able to find anywhere in the configuration or project pro

Re:Re: RE: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-19 Thread 王东华
The tutorial is for Java Ant Application, we can integrate JavaFX in Netbeans Java Ant Application. Now, we can not integrated JavaFX for Netbeans Platform Application 在 2022-01-19 21:50:47,"Jean-Marc Borer" 写道: Have a look here. There is a JavaFX tutori

Re: RE: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-19 Thread Jean-Marc Borer
Have a look here. There is a JavaFX tutorial. https://netbeans.apache.org/kb/docs/java/index.html On Fri, Jan 14, 2022 at 11:08 AM wdh_456 wrote: > Thank you very much, I will try this way. > > > > 发自我的小米手机 > 在 Giovanni Dal Maso ,2022年1月14日 下午6:05写道: > > We had similar

Re: Java Copy Paste plugin

2022-01-15 Thread Mitch Claborn
Interested: +1 Willing to test: +1 Mitch On 1/15/22 11:39 AM, Andreas Reichel wrote: Greetings All. Apologies upfront for leaning myself far out of the window. I have written similar stuff before for myself in order to copy'n paste SQL from Java and back from Java Code to SQL. (You may

Re: Java Copy Paste plugin

2022-01-15 Thread Andreas Reichel
On Sun, 2022-01-16 at 00:39 +0700, Andreas Reichel wrote: > > (You may look for JSQLFormatter ar Github as reference.) https://github.com/manticore-projects/jsqlformatter#import-java-string-from-clipboard

Re: Java Copy Paste plugin

2022-01-15 Thread Andreas Reichel
Greetings All. Apologies upfront for leaning myself far out of the window. I have written similar stuff before for myself in order to copy'n paste SQL from Java and back from Java Code to SQL. (You may look for JSQLFormatter ar Github as reference.) I could turn that into a generic revival

Re: Java Copy Paste plugin

2022-01-15 Thread Mitch Claborn
/20210304034453/http://plugins.netbeans.org/plugin/2748/java-text-copy-paste-module I was gonna say that you could compile it from source, but unfortunately it doesn't list any. Not even on the creators github account. I'm afraid this may be lost to the sands of time :( On Fri, Jan 14, 2022 at 9

Re: Java Copy Paste plugin

2022-01-14 Thread Juan Algaba
Was it this one? http://web.archive.org/web/20210304034453/http://plugins.netbeans.org/plugin/2748/java-text-copy-paste-module I was gonna say that you could compile it from source, but unfortunately it doesn't list any. Not even on the creators github account. I'm afraid this may be lost

Java Copy Paste plugin

2022-01-14 Thread Mitch Claborn
Back in earlier versions of NetBeans (12.2?) I was using a plugin called "Java Copy Paste". You could select a multi-line String constant and copy it as plain text, eliminating the surrounding double quotes. I used it frequently. I can no longer find it to install. Can anyone help?

Re:RE: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-14 Thread wdh_456
Thank you very much, I will try this way. 发自我的小米手机在 Giovanni Dal Maso ,2022年1月14日 下午6:05写道: We had similar problems and in the end it was better to switch to maven. Just create your Netbeans Platform Application using “Java with Maven” > “NetBeans Application” and add JavaFX as a ma

RE: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-14 Thread Giovanni Dal Maso
We had similar problems and in the end it was better to switch to maven. Just create your Netbeans Platform Application using “Java with Maven” > “NetBeans Application” and add JavaFX as a maven dependency to the module that requires it. For example, add the following to the inside the pom.

Re:Re: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread 王东华
I have added javafx-graphics jar into the wrapper jars. In fact, only Netbeans Platform Application will throw this runtime exception. The JavaFX is correct for Ant Java Application of Netbeans. And in Eclipse, it is ok when I add vm parameters: --module-path "lib/javafx\lib" --a

Re: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread Mark Eggers
First of all, when I do development it's for Java EE web containers. Second of all, I use Maven, so if you're using Ant or Gradle I will have even less of a clue. That being said, I did a quick search for: Error initializing QuantumRenderer: no suitable pipeline found a StackOverflow

Re:Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread 王东华
nvironment: Netbeans IDE 12.6, JavaFX 17, Java 11 I have create a Netbeans Platform Application and want to use JavaFX, I have add JavaFX jar into the wrapped jars, and there are no compile error for JavaFX in Netbeans IDE, However, when I run the application, IDE will show following

Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread 王东华
Dear, Our development environment: Netbeans IDE 12.6, JavaFX 17, Java 11 I have create a Netbeans Platform Application and want to use JavaFX, I have add JavaFX jar into the wrapped jars, and there are no compile error for JavaFX in Netbeans IDE, However, when I run the application, IDE will show

Re: [java] NetBeans 12.6 Run Remote on Raspberry Pi

2022-01-01 Thread Blaine Heinfeld
I think I have successfully resolved this issue by creating a new run configuration and a new remote runtime platform from within NetBeans 12.6. As far as I can tell, the parameters for the configuration and the platform are all identical to those I imported with the project from NetBeans

[java] NetBeans 12.6 Run Remote on Raspberry Pi

2021-12-31 Thread Blaine Heinfeld
I am hoping someone on this list can help me with this issue. I have been using NetBeans 8.2 and Oracle Java 8 on Windows 10 to cross develop for a headless Raspberry Pi (various models) for a number of years.  The Raspberry Pi started with Java 8, but has been running Java 11 for 2+ years

Specify Java JDK/platform from gradle.properties

2021-12-16 Thread * William
gradle.properties file. - org.gradle.java.home= /prod/lib/java/jdk/v01.08 - From all project directories. Presumably the gradle model sets the compiler for al subprojects. We need Java 9+ (I have Java 17, currently) to run netbeans and that becomes the default "Java Platform&

Re: Java modular project and libraries

2021-12-12 Thread Helmut Leininger
, I am using NB 12.6 and have created a Ant Java Modular project. Some of the modules use libraries (e.g. access to databases, ...) I can run the project from NetBeans without problems. Clean and build suggests the following: C:\OpenSourceTools\AdoptiumJava\jdk-17/bin/java --module-path D:\Disk_D\D

Java modular project and libraries

2021-12-12 Thread Helmut Leininger
Hi, I am using NB 12.6 and have created a Ant Java Modular project. Some of the modules use libraries (e.g. access to databases, ...) I can run the project from NetBeans without problems. Clean and build suggests the following: C:\OpenSourceTools\AdoptiumJava\jdk-17/bin/java --module-path D

NetBeans 12.6 Java parsing error - "that.type" NullPointerException

2021-12-06 Thread Tim Mullé
Hi, Just installed 12.6 running with JDK17 on M1 Mac opening existing Maven applications and noticed this error: I think I’ve seen this with 12.5 and JDk17 as well.. anyone else see the same? Thanks, - TIm java.lang.NullPointerException: Cannot invoke

RE: Mysql [mysql] and Netbeans [java]

2021-12-01 Thread Richard Grin
Send more details, please. The server logs for instance. Envoyé depuis mon appareil Galaxy Message d'origine De : Nigel Evenden Date : 01/12/2021 11:23 (GMT+01:00) À : James Ostrowick Cc : Apache Netbeans Mailing List Objet : Re: Mysql [mysql] and Netbeans [java] Tried

Re: Mysql [mysql] and Netbeans [java]

2021-12-01 Thread Nigel Evenden
Tried but still get the error. Nigel On Wed, 1 Dec 2021, 03:50 James Ostrowick, wrote: > I’ve seen this happen before, especially on a linux machine, I usually > just make sure that the entity has this at the top: > > @Entity > *@Table(name = “accounts”)* > > i.e. ensure that the declaration

Re: Mysql [mysql] and Netbeans [java]

2021-11-30 Thread James Ostrowick
I’ve seen this happen before, especially on a linux machine, I usually just make sure that the entity has this at the top: @Entity @Table(name = “accounts”) i.e. ensure that the declaration for the table is in the correct case. Kind Regards, James Ostrowick > On 30 Nov 2021, at 22:49, Nigel

Mysql [mysql] and Netbeans [java]

2021-11-30 Thread Nigel Evenden
I get an EJB error when running List.xhtml. It's looking for ACCOUNTS when I have an accounts table. I have set my.cnf to accept caps, but still get the error.

Re: Toggle (i.e. activate/deactivate) a java swing button

2021-11-26 Thread Mithat Karaoglu
You can try to change the line if (btnCallIntrest.setEnabled(true) To if(btnCallInterest.isEnabled()) = Mithat Karaoglu Email: mithat.karao...@gmail.com On Fri, Nov 26, 2021 at 10:22 PM Zulfi Khan wrote: > Hi, > > I have written the following code: > > private void

Toggle (i.e. activate/deactivate) a java swing button

2021-11-26 Thread Zulfi Khan
Hi, I have written the following code: private void savAccRBActionPerformed(java.awt.event.ActionEvent evt) {           // TODO add your handling code here:     if (btnCalInterest.setEnabled(true))     btnCalInterest.setEnabled(false); I am

[java] Incorrect cursor position on newline

2021-11-25 Thread Chris Mackey
I'm not sure if I'm missing something stupid, but I've just upgraded to Netbeans 12.5 and when I take a new line, the cursor position on the new line is now always at 0. In every previous version of Netbeans I have used, the cursor position on a new line was automatically indented to the

Re: [java] Netbeans and apache TomEE microprofile

2021-11-18 Thread Santino Nervetti
ache.org Subject: Re: [java] Netbeans and apache TomEE microprofile I will try this, thanks! Sent: Thursday, November 18, 2021 at 3:39 PM From: "Som Lima" To: "Santino Nervetti" Cc: "NetBeans Mailing List" Subject: Re: [java] Netbeans and apache TomEE micropr

Re: [java] Netbeans and apache TomEE microprofile

2021-11-18 Thread Som Lima
There a couple of suggestion found at link below including putting it in the pom file with tomee plug-in which should mean your project will work in both IDEs. https://stackoverflow.com/questions/60932960/tomeemicroprofile-unsatisfiedresolutionexception/64437680#64437680 On Thu, 18 Nov 2021,

Re: [java] Netbeans and apache TomEE microprofile

2021-11-18 Thread Geertjan Wielenga
Maybe put -J-Dtomee.mp.scan=all in the netbeans.config file in the place where the other arguments are found there, the file is in your NetBeans installation directory in the etc folder. Gj On Thu, Nov 18, 2021 at 3:25 PM Santino Nervetti wrote: > Hi everyone! > > I'm trying to setup a simple

[java] Netbeans and apache TomEE microprofile

2021-11-18 Thread Santino Nervetti
Hi everyone!   I'm trying to setup a simple jakarta rs project on netbeans using apache tomee microprofile as application server (apache-tomee-microprofile-9.0.0-M7). I have trouble starting the project because of errors like these:   18-Nov-2021 09:27:47.270 SEVERE [http-nio-8080-exec-6]

Re: [java] Netbeans documentation regarding custom actions and configuration

2021-11-03 Thread Geertjan Wielenga
Some answers to these questions are here: https://netbeans.apache.org/wiki/MavenBestPractices.asciidoc Gj On Wed, Nov 3, 2021 at 9:13 PM Santino Nervetti wrote: > Hi, is there a detailed documentation about custom actions, configuration, > profiles in netbeans ? Or netbeans in general? > For

[java] Netbeans documentation regarding custom actions and configuration

2021-11-03 Thread Santino Nervetti
Hi, is there a detailed documentation about custom actions, configuration, profiles in netbeans ?  Or netbeans in general? For example when I add a custom action a new file nbactions.xml is created, and all actions have a %classpath reference and often questions arise, as such: where is this

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-11-01 Thread Owen Thomas
On Fri, 29 Oct 2021 at 11:48, Owen Thomas wrote: > I say the following. Have an abstract checked exception class in the Java > SE API. Call it, say, Checked*Managed*Exception. Descendents of this > class behave like any other checked exception, with perhaps a few caveats &

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-11-01 Thread Owen Thomas
On Tue, 2 Nov 2021 at 06:35, Emilian Bold wrote: > It looks to me that the JVM doesn't have the concept of checked > exceptions, only Java has. So, it may be valid bytecode to just rip out > checked exception from the method signatures. New compilations, targeting a >

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-11-01 Thread Emilian Bold
It looks to me that the JVM doesn't have the concept of checked exceptions, only Java has. So, it may be valid bytecode to just rip out checked exception from the method signatures. New compilations, targeting a modified JAR, will not complain about the checked exception. At runtime

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-11-01 Thread Alonso Del Arte
uld be on the honor system. As you might know, Scala inventor Martin Odersky wrote the Java 1.3 compiler. Java was not evolving as fast as he wanted it to. He put a lot of things into Scala that Java eventually adopted later, and some that will be added to future versions of Java. But his approach was to m

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-31 Thread Owen Thomas
On Mon, 1 Nov 2021 at 09:51, Alonso Del Arte wrote: > > Although I do it often enough, I'm not a fan of wrapping a checked > exception in a RuntimeException or even another checked exception like > IOException. > > I'm not either. Nor do I like how AssertionError has a constructor that > takes

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-31 Thread Alonso Del Arte
u'll find some sense in what I'm trying to talk about in this >> reply. :) >> >> Please also note that I speak from a position of ignorance about Java >> modules. I hope you can fill in the blanks with your own understanding of >> Java modules which I assume is better th

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-31 Thread Owen Thomas
it hard to speak directly. > Hopefully you'll find some sense in what I'm trying to talk about in this > reply. :) > > Please also note that I speak from a position of ignorance about Java > modules. I hope you can fill in the blanks with your own understanding of > Java modu

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-31 Thread Owen Thomas
what I'm trying to talk about in this reply. :) Please also note that I speak from a position of ignorance about Java modules. I hope you can fill in the blanks with your own understanding of Java modules which I assume is better than mine. > For eg. not sure what "ignored" mean

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-31 Thread Emilian Bold
aradigms in > software development may be putting a strain on Java, I just wish to put > some comments that others might find interesting down about how a specific > Java feature, namely checked exceptions, can be improved so that again, > Java perhaps can show how to do something well e

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-30 Thread Owen Thomas
On Sat, 30 Oct 2021 at 17:53, Owen Thomas wrote: > If checked exceptions could be selectively suppressed like this, then > perhaps I could override Object.equals() with a throws clause that threw > any exception [that extends CheckedException] I chose. Developers of > libraries that were

Fwd: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-30 Thread Owen Thomas
If checked exceptions could be selectively suppressed like this, then perhaps I could override Object.equals() with a throws clause that threw any exception I chose. Developers of libraries that were dependent on mine could "ignore" this if that's what they wanted. Thinking about it now, I can't

Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-29 Thread Owen Thomas
just need a > compelling reason to) know much about Java modules, this system of > selectively dealing with checked exceptions appears as a very good > candidate for expression there. > It definitely looks like the best place to express a feature like this is in a Java module descripto

OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-28 Thread Owen Thomas
G'day. Upon seeing some recent emails from this group expressing a somewhat philosophical tone about how the evolving landscape of paradigms in software development may be putting a strain on Java, I just wish to put some comments that others might find interesting down about how a specific Java

Re: 12.6-rc1: Can't set breakpoints in Groovy until a Java file is displayed

2021-10-28 Thread Geertjan Wielenga
Sounds about right. When you think you want Groovy, you need to be reminded that what you actually need in the background is Java. NetBeans — your helpful reminder of what’s what. Gj On Thu, 28 Oct 2021 at 23:53, Blake McBride wrote: > If I bring up NetBeans 12.6-rc1 on a project with J

12.6-rc1: Can't set breakpoints in Groovy until a Java file is displayed

2021-10-28 Thread Blake McBride
If I bring up NetBeans 12.6-rc1 on a project with Java & Groovy source files and go to a Groovy source file, the system will not allow me to set a breakpoint. However, if I display a Java file and then go back to the Groovy file, I can then set a breakpoint in the Groovy file. It appears

Re: Where to see and report Java bugs most effectively?

2021-10-16 Thread Thomas Wolf
ttp://cr.openjdk.java.net/~rlewis/BugTracking/OpenJDKBugtTracking.html (from > Sun days perspective) > > Hope this helps. > Eric Bresie > ebre...@gmail.com > > >> On Fri, Oct 15, 2021 at 3:47 PM Thomas Wolf wrote: >> Sorry for this is off-topic subject, but I

Re: Where to see and report Java bugs most effectively?

2021-10-16 Thread Eric Bresie
to see and report Java bugs? I see two different > possibilities: > https://bugs.openjdk.java.net/ > and > https://bugs.java.com/bugdatabase/ > > I’m running into what appears to be a macOS-specific one and am having > trouble searching either effectively to see if it’s a known

Where to see and report Java bugs most effectively?

2021-10-15 Thread Thomas Wolf
Sorry for this is off-topic subject, but I’m wondering where the most effective place is to see and report Java bugs? I see two different possibilities: https://bugs.openjdk.java.net/ and https://bugs.java.com/bugdatabase/ I’m running into what appears to be a macOS-specific one and am having

RE: Java 17 and NetBeans

2021-10-01 Thread Richard Grin
Yes, it is what I have done in order to use Java 17 in my application. If the default Java version is not Java 17, I receive an error message. Envoyé depuis mon appareil Galaxy Message d'origine De : Pieter van den Hombergh Date : 01/10/2021 21:47 (GMT+01:00) À : Richard

Re: Java 17 and NetBeans

2021-10-01 Thread Pieter van den Hombergh
Richard, Typically the default that the maven compiler assumes is not the Java version you run it on. You need to set the release to 17 in your case. Easiest is to do that in a property in the pom file. The property is named maven.compiler.release On Fri, Oct 1, 2021, 14:07 Richard Grin wrote

Java 17 and NetBeans

2021-10-01 Thread Richard Grin
Hello, I created a Maven project with Java 17 and I received an error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project XXXWithRecord: Fatal error compiling: error: release version 17 not supported -> [Help 1] In order to wr

Re: Specify Java Platform?

2021-09-15 Thread Carl Burke
JDK is used for both. I've usually needed that for a gradle plugin that only works in a different version of Java than the program will be deployed in. If you use the toolchain feature, you don't use sourceCompatability or targetCompatability. Toolchains replace that earlier method, and aren't

Re: Specify Java Platform?

2021-09-08 Thread Carl Burke
Gradle changed the way you specify target platforms. If Netbeans is using a recent gradle you may need to investigate the 'toolchain' support in the java plugin. That allows you to separate the java that gradle runs in from the version you are compiling against; if necessary gradle

Specify Java Platform?

2021-09-08 Thread * William
Hello all, I hope you are going well in your part of the world. In the past, with the Gradle plugin it was possible to specify the Java runtime and libries used when exercising and testing the program. [image: image.png] How may I do this with the current Netbeans 12 release? We are using

Re: Java Swing Problem

2021-08-31 Thread Geertjan Wielenga
Probably, if you're a complete beginner, start with "Java with Ant". Gj On Tue, Aug 31, 2021 at 5:03 PM Mithat Karaoglu wrote: > There are three Java nodes: > Java with Maven > Java with Gradle > Java with Ant > > Under each node there is 'Java Application'. >

Re: Java Swing Problem

2021-08-31 Thread Mithat Karaoglu
There are three Java nodes: Java with Maven Java with Gradle Java with Ant Under each node there is 'Java Application'. = Mithat Karaoglu Email: mithat.karao...@gmail.com On Tue, Aug 31, 2021 at 10:53 AM Zulfi Khan wrote: > Hi, > > I am trying to following the following

<    1   2   3   4   5   6   7   8   >