Re: Java Call Hierarchy Bug?

2024-06-19 Thread Mitch Claborn
Any further feedback on this? Mitch On 6/14/24 12:30, Mitch Claborn wrote: See attached zip file with minimal source and a screen shot of what I see in the Java Call Hierarchy output. I contend that test1()::Test1 should not appear in the output, because it is not a caller of getFullSku

Re: Java Call Hierarchy Bug?

2024-06-14 Thread Mitch Claborn
See attached zip file with minimal source and a screen shot of what I see in the Java Call Hierarchy output. I contend that test1()::Test1 should not appear in the output, because it is not a caller of getFullSku()::OrderDetail which is stated (or at least strongly implied) in the hierarchy

Re: Java Call Hierarchy Bug?

2024-06-14 Thread Pieter van den Hombergh
ike a bug. Do you agree? Want to confirm > before I file a bug report. > > Class OrderDetailBase defines method: public String getSku(). I am doing > a Java Call Hierarchy on this method. > > Class OrderDetail is a subclass of OrderDetailBase and defines this > method that calls

Java Call Hierarchy Bug?

2024-06-14 Thread Mitch Claborn
See details below. This seems like a bug. Do you agree? Want to confirm before I file a bug report. Class OrderDetailBase defines method: public String getSku(). I am doing a Java Call Hierarchy on this method. Class OrderDetail is a subclass of OrderDetailBase and defines this method

Glassfish Java DB

2024-04-18 Thread Tom
I am trying to start Java DB from Glassfish 7.0.14, but it hangs, nothing happens. Has somebody got it working? - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h

Re: Can;t link src/test/java to package being tested.

2024-04-03 Thread slipbits
ening Start... JPDA Address: 127.0.0.1:52253 Port:52253 cd D:\home\skidmarks\Projects\Unique\Project\slip; "JAVA_HOME=C:\\Program Files\\Java\\jdk-17.0.1" cmd /c "\"C:\\Program Files\\NetBeans\\NetBeans-20\\netbeans\\java\\maven\\bin\\mvn.cmd\" -Dexec.vmArgs=-agen

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread Michael Bien
d out how changing effects the folder architecture but a little word of wisdom would save me a lot of time. thanks The run output dialog is below. JPDA Listening Start... JPDA Address: 127.0.0.1:52253 Port:52253 cd D:\home\skidmarks\Projects\Unique\Project\slip; "JAVA_HOME=C:\\Program

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread slipbits
2253 cd D:\home\skidmarks\Projects\Unique\Project\slip; "JAVA_HOME=C:\\Program Files\\Java\\jdk-17.0.1" cmd /c "\"C:\\Program Files\\NetBeans\\NetBeans-20\\netbeans\\java\\maven\\bin\\mvn.cmd\" -Dexec.vmArgs=-agentlib:jdwp=transport=dt_socket,server=n,address=52253

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread Tamás Cservenák
Howdy, src/main/java and src/test/java is the maven standard... T On Tue, Apr 2, 2024, 19:46 slipbits wrote: > I know this is a dumb question but I'm stumped. I created a new project > and NB created src/main and src/test subdirectories. When I created my test > code in src/te

Can;t link src/test/java to package being tested.

2024-04-02 Thread slipbits
I know this is a dumb question but I'm stumped. I created a new project and NB created src/main and src/test subdirectories. When I created my test code in src/test/... NB recognized the main package and I could link to it i n the editor and run compiles. But when I try to execute in in the

Java Import NetBeans 21

2024-03-22 Thread Chris Luff
Hey, as of NetBeans 21 I have some Java classes that hitherto have been fine on using the “Fix All Imports” command SHIFT+COMMAND+I now always wanting to import “com.google<http://com.google>.protobuf.JavaFeaturesProto.java”. Any idea on why this might be? The project is maven 3.8.8, J

How to activate "Java Web and EE" plugin ?

2024-03-08 Thread Klerman
Hello again, I'm trying to activate the Java Web and EE plugin in NetBeans 21. I have activated the "HTML5", "PHP", and "Base IDE", but the button "Activate" for the "Java Web and EE" plugin is disabled. I'm working with the "OpenJDK 21

No new project from "Java Project from existing Sources"

2024-03-07 Thread Ulf Zibis
Hi, I have old java sources, which I want to work on with NetBeans 21. Location of the existing sources is: ~/Projects/Palm/NetbeansProjects/DesktopFiles_src/ Location for the new project is: ~/Projects/Palm/NetbeansProjects/DesktopFiles/ So these are separate paths, but I get: ! Project

No new project from "Java Project from existing Sources"

2024-03-01 Thread Ulf Zibis
Hi, I have old java sources, which I want to work on with NetBeans 21. Location of the existing sources is: ~/Projects/Palm/NetbeansProjects/DesktopFiles_src/ Location for the new project is: ~/Projects/Palm/NetbeansProjects/DesktopFiles/ So these are separate paths, but I get: ! Project

Re: Netbeans 21 always showing wrong Java dependency for Maven project

2024-02-28 Thread Francesco Chicchiriccò
Hi Michael, thanks for your answer. On 2024/02/28 14:40:34 Michael Bien wrote: > Hi, > > On 28.02.24 11:23, Francesco Chicchiriccò wrote: > > Hi there, > > I am using Netbeans since 6.0 and still enjoying it as main > > development platform for Java: nice job

Re: Netbeans 21 always showing wrong Java dependency for Maven project

2024-02-28 Thread Michael Bien
Hi, On 28.02.24 11:23, Francesco Chicchiriccò wrote: Hi there, I am using Netbeans since 6.0 and still enjoying it as main development platform for Java: nice job! I am experiencing an annoying behavior with Maven projects: even though JDK 21 is correctly reported under project properties

Netbeans 21 always showing wrong Java dependency for Maven project

2024-02-28 Thread Francesco Chicchiriccò
Hi there, I am using Netbeans since 6.0 and still enjoying it as main development platform for Java: nice job! I am experiencing an annoying behavior with Maven projects: even though JDK 21 is correctly reported under project properties -> sources -> source/binary format and also under

Re: Java DB

2024-02-07 Thread Vic Ricker
You can probably install the Derby drivers from here: https://db.apache.org/derby/derby_downloads.html On 2/3/24 12:34, Tom wrote: Hi, I am trying to connec to the Glassfish Java DB sample database. I am getting this error message: Unable to connect. Connection failed: Unable to find

Java DB

2024-02-03 Thread Tom
Hi, I am trying to connec to the Glassfish Java DB sample database. I am getting this error message: Unable to connect. Connection failed: Unable to find a suitable driver (jdbc:derby:/localhost:1527/sample using org.apache.derby.jdbc.ClientDriver). How can I fix that? I have tried different

Re: Apache NetBeans 20 released - Java Versions

2023-12-21 Thread Eric Bresie
. Believe this is the version NB is running on (which should at minimum be compatible with version that NB was built with). Not to be confused with the Project Java property in use or the available installed Java Platforms. As I recall, Java 8 was the last non-openjdk release by Oracle after which

Re: Apache NetBeans 20 released - Java Versions

2023-12-21 Thread Michael Bien
it and it is going to use the default JDK as fallback. The "default JDK" is the JDK NetBeans is running on. You can select the JDK in the project properties window (right click on project -> properties). Registering new JDKs would be via tools -> java platforms as previously mentioned.

Re: Apache NetBeans 20 released - Java Versions

2023-12-21 Thread Judi Rastall
rote: On 20.12.23 01:30, Judi Rastall wrote: If I may introduce myself: I am a hobbyist. I am teaching myself Java through reading books and other online sources... cool! This is probably one of the best ways how to get into programming. Find something you want to write and then try to

Re: Apache NetBeans 20 released - Java Versions

2023-12-20 Thread Michael Bien
On 20.12.23 01:30, Judi Rastall wrote: If I may introduce myself: I am a hobbyist. I am teaching myself Java through reading books and other online sources... cool! This is probably one of the best ways how to get into programming. Find something you want to write and then try to get

Re: Apache NetBeans 20 released - Java Versions

2023-12-19 Thread Judi Rastall
that earlier. If I may introduce myself: I am a hobbyist. I am teaching myself Java through reading books and other online sources (some of which are more help than others) and feel I'm making good progress. So I guess I fall half way between an end-user and a developer. I have inherited

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-05 Thread Andreas Reichel
yet turn back > to Ant.  definitely a good choice and I would be the last one trying to evangelise you. > > I think Gradle is making things too complicated for Java users. Bad. Although this is where is disagree strongly: One of the beauties of Gradle is its ability to include java cod

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-05 Thread Owen Thomas
seem to have a material influence on what is being built), but I may yet turn back to Ant. Although in a future time I may, I currently use no third party libraries. I think Gradle is making things too complicated for Java users. Bad. >

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-05 Thread Michael Bien
, languages which are implemented on top of java (its more complicated but this is the simple version). They will always lack a bit behind in supporting the latest java version. Gradle has to wait for all dependencies to be ready before it can claim in a release that it supports Java X. The exact

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-05 Thread Andreas Reichel
Owen, from what I understand, Gradle solves 2 different tasks: 1) dependency resolution (including the understanding, what Class format the artifact is providing) 2) compiling and packaging based on the built classpath For 2), any Gradle will do. But for 1) Gradle needs to understand the

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-05 Thread Owen Thomas
Thanks for that; Maybe I'm not keeping enough attention to what is going on here to really make a constructive comment, butI was looking more for justification of the existence of this "compatibility matrix" and Gradle's future intentions in supporting Java. This matrix is just doi

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-05 Thread Bernd Michaely
https://docs.gradle.org/current/userguide/compatibility.html On 04.12.23 01:24, Owen Thomas wrote: Is there a page I can read that outlines how Gradle will work with Java in the future? This stuff is giving me a headache. OpenPGP_signature.asc Description: OpenPGP digital signature

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-04 Thread Laszlo Kishalmi
Indeed you are right! It seems the bootclasspath is set to the runtime classpath, that means the Java 21 syntax elements would be available in the editor, but the new API won't. Oh, so many things to do... On 12/4/23 16:41, Ernie Rael wrote: Thanks for the discussion Laszlo, After reading

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-04 Thread Ernie Rael
er https://github.com/apache/netbeans/pull/4711 which fixed this value for gradle because "This information is used by editor/hints.", but things evolve). And when I change gradleproject1 > properties > Build > GradleExecution > Java Runtime to JDK 21, the editor err

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Laszlo Kishalmi
Well, the rapid changes of Java put pressure on the tool platforms, and JVM based languages. That makes our life more difficult. As of NetBeans, it was quite a fight to move away from Java 8 as a runtime platform. That does not mean that  NetBeans does not support Java 8 any more, rather

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Michael Bien
gradle 8.4 release notes:  > Java 21 is now supported for compiling, testing, and running such projects. gradle 8.5 release notes:  > Gradle now supports running on Java 21. (I fell for it too the first time I read it, Gradle 8.4 can not run on Java 21) -mbien On 04.12.23

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Ernie Rael
On 23/12/03 3:51 PM, Laszlo Kishalmi wrote: Well, unfortunately gradle init only supports java version specification since Gradle 8.5 NB20 is bundled with Gradle 8.4. The gradle 8.4 release notes say "Java 21 is now supported" if that matters. There is a bit workaround nee

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Owen Thomas
What's going on with Java and Gradle? Would I be right in supposing that it would be simpler just to go back to Ant? Is there a page I can read that outlines how Gradle will work with Java in the future? This stuff is giving me a headache. On Mon, 4 Dec 2023 at 10:51, Laszlo Kishalmi wrote

Re: Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Laszlo Kishalmi
Well, unfortunately gradle init only supports java version specification since Gradle 8.5 NB20 is bundled with Gradle 8.4. There is a bit workaround needed to run Java 21 projects with Gradle. Set the Java Runtime version for Gradle in Tools > Options > Java > Gradle to Java 20

Java version: 21 ... not supported by Gradle 8.5

2023-12-03 Thread Ernie Rael
Running NB-20, jdk21. The goal is to play with some JDK-21 APIs... Creating a project using NB's "New Project > Java with Gradle". I can build and run the default "Library" and test. But there's the warning icon and "Resolve Project Problems". Any way t

Java Wrapper around the fast FPNG encoder, AVX/SSE optimised

2023-11-24 Thread Andreas Reichel
Greetings. Please allow me to apologise for hijacking this list: I assume there are a lots of Java interested people gathered here. We wrapped the SSE/AVX optimised PNG encoders into a Java library. The results look promising: 27x faster than ImageIO and still 11x faster than Java PNG Encoder

Re: [EXTERNAL] Re: Converting Java 8 to 17+, conflicts with modules

2023-11-11 Thread John Manko
; users@netbeans.apache.org Subject: [EXTERNAL] Re: Converting Java 8 to 17+, conflicts with modules CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. >From my experience, minim

Re: Converting Java 8 to 17+, conflicts with modules

2023-11-11 Thread Stephen G. Parry
at a time. Some of your dependencies may fail to load because they are not fully modular yet. Your options then are: a) make your application non-modular, for now. This still works for most things apart from Java FX. Doing non-modular FX is like urinating into a stiff breeze. b) use

Re: Converting Java 8 to 17+, conflicts with modules

2023-11-11 Thread Bradley Willcott
to assist, or someone can answer a quick question. I'm in the middle of converting Java 8 project to Java 17/21 (A little late in the game, I know!  I'm beholden to other forces beyond my control.), and I have a library module with a module-info like such: module com.my.lib { requires

Converting Java 8 to 17+, conflicts with modules

2023-11-10 Thread John Manko
This might not be a purely Netbeans issue, but maybe NB has some tooling to assist, or someone can answer a quick question. I'm in the middle of converting Java 8 project to Java 17/21 (A little late in the game, I know! I'm beholden to other forces beyond my control.), and I have a library

Re: How to hide a secret value in my Java code?

2023-10-04 Thread Richard Grin
* Java project in NetBeans? ... I use Maven to build the project. Incidentally, to do this with Maven projects, use the project properties. Under Actions, choose eg. `Run project` or `Run file via main()`. Use the Add button under Set Properties and choose New Environment Variable. This will add

RE: How to hide a secret value in my Java code?

2023-10-04 Thread Nelligan, Steven M
I use keepass and the command line interface to access passwords through java. Keepass would require a password and I also use a Key File(stored on a server), and by isolate this password in one class, you should be able to limit access to this one source. Steven M Nelligan From: Laszlo

Re: How to hide a secret value in my Java code?

2023-10-04 Thread Neil C Smith
On Wed, 4 Oct 2023 at 10:16, Richard Grin wrote: > Is it possible to add an environment variable for *only one* Java > project in NetBeans? ... > I use Maven to build the project. Incidentally, to do this with Maven projects, use the project properties. Under Actions, choose eg. `Ru

Re: How to hide a secret value in my Java code?

2023-10-04 Thread Laszlo Kishalmi
: it could be, for example, a password of a user of a database, put in a Java variable or used in an annotation, or a secret key for an API. Any way of hiding the secret value in the  source code would be appropriate., using Maven or nor. Envoyé depuis mon appareil Galaxy Message

RE: How to hide a secret value in my Java code?

2023-10-04 Thread Richard Grin
I answer your question: it could be, for example, a password of a user of a database, put in a Java variable or used in an annotation, or a secret key for an API. Any way of hiding the secret value in the source code would be appropriate., using Maven or nor. Envoyé depuis mon appareil

Re: How to hide a secret value in my Java code?

2023-10-04 Thread Alonso Del Arte
for Maven's use? Al On Wed, Oct 4, 2023 at 5:16 AM Richard Grin wrote: > Hello, > > Is it possible to add an environment variable for *only one* Java > project in NetBeans? I have added a Windows user variable in the system > parameters but I find the process a bit cumbersome. > &

How to hide a secret value in my Java code?

2023-10-04 Thread Richard Grin
Hello, Is it possible to add an environment variable for *only one* Java project in NetBeans? I have added a Windows user variable in the system parameters but I find the process a bit cumbersome. Is there a better way of hiding a secret value than using an environment variable? A similar

Re: Java Swing Support

2023-08-24 Thread Neil C Smith
On Thu, 24 Aug 2023 at 06:20, Thomas Kellerer wrote: > Didn't NetBeans drop support for one specific Swing framework? > > I think the "Java Swing" project template used that framework, but I can't > remember the name. There used to be support for Swing Application Framew

Re: Java Swing Support

2023-08-23 Thread Thomas Kellerer
e and description on the > template you think is missing? And from what version? > Didn't NetBeans drop support for one specific Swing framework? I think the "Java Swing" project template used that framework, but I can't remember the name. --

Re: Java Swing Support

2023-08-23 Thread Neil C Smith
On Wed, 23 Aug 2023, 14:15 Plaza, Rob (JSC-CD111)[KBR Wyle Services, LLC], wrote: > My organization uses Netbeans 11.2. Recently we have noticed ... > Recently?! Why NetBeans 11.2? That's 4 years old and unsupported. There have been 14 releases since then! And another one in a week or so. No

Re: Java Swing Support

2023-08-23 Thread Mithat Karaoglu
You can choose the 'Java Application' under the Projects. It is a Java SE application. java swing support is still there including JDK17. I have been using Netbeans since version 5, I always have switched to the next version. Right now, it is Netbeans 18. I did not have any issue using the old

Java Swing Support

2023-08-23 Thread Plaza, Rob (JSC-CD111)[KBR Wyle Services, LLC]
My organization uses Netbeans 11.2. Recently we have noticed that the NetBeans "New Project" window no longer has an option to create a new Java Swing project. Is Netbeans dropping support for Swing? Please tell me what is happening and what will happen going forward to newe

NB-18 with Java 20.x

2023-07-29 Thread Arbol One
Just before I go ahead I'd like to ask if NB-18 is compatible with Java-20.x? Thanks folks! -- ArbolOne.ca Using Fire Fox and Thunderbird. ArbolOne is composed of students and volunteers dedicated to providing free services to charitable organizations. ArbolOne on Java Development

Re: java Netbeans 18 Test compile all JSP during build with jakarta namespace

2023-07-27 Thread Stefan Geelen
Just for completeness, this is the errormesg: error: incompatible types: javax.servlet.http.HttpServletRequest cannot be converted to jakarta.servlet.http.HttpServletRequest On Thu, 27 Jul 2023 at 20:00, Stefan Geelen wrote: > HI, > > I have a project I converted from javax.* to jakarta.*

java Netbeans 18 Test compile all JSP during build with jakarta namespace

2023-07-27 Thread Stefan Geelen
HI, I have a project I converted from javax.* to jakarta.* namespace where needed. At that time I was using Netbeans16 It was not possible to compile the jsp file (Test compile all JSP during build) I recently switched to NetBeans 18 but still cannot compile there JSPs. Is this not possible or

[ java ] Help needed: Netbeans Plattform Application (RELEASE150) with JavaHelp not working

2023-03-16 Thread Melvin Wulle
in Java 17 and can be found under: https://github.com/mwulle/rcp-javahelp-example. I've used these sources trying to get it working: - http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-javahelp/org/netbeans/api/javahelp/doc-files/help-guide.html - https://netbeans.apache.org/wiki

RE: ENC: [Java] - Não dá opção de executar o programa no NetBeans

2023-03-09 Thread Clayton Calixto
março de 2023 16:01 Para: users@netbeans.apache.org Assunto: Re: ENC: [Java] - Não dá opção de executar o programa no NetBeans I had many problems with NetBeans and Gradle before NetBeans 16u1 Please try to upgrade your NetBeans version (e.g. to the current version 17) and try again. Clayton

Re: ENC: [Java] - Não dá opção de executar o programa no NetBeans

2023-03-09 Thread Thomas Kellerer
*Enviado:* quinta-feira, 9 de março de 2023 15:03 *Para:* users-subscr...@netbeans.apache.org *Assunto:* ENC: [Java] - Não dá opção de executar o programa no NetBeans

ENC: [Java] - Não dá opção de executar o programa no NetBeans

2023-03-09 Thread Clayton Calixto
De: Clayton Calixto Enviado: quinta-feira, 9 de março de 2023 15:03 Para: users-subscr...@netbeans.apache.org Assunto: ENC: [Java] - Não dá opção de executar o programa no NetBeans De: Clayton Calixto Enviado: quinta-feira, 9

Re: java enterprise

2023-03-04 Thread Josh Juneau
Hi Robert, Hope you are doing well. Can I ask which option you chose when you created the project? Did you choose New - > "Java with Maven" -> "Web Application", or did you choose New -> "Java with Maven" -> "Enterprise Application"? I do

java enterprise

2023-03-03 Thread egrsimons
Hello, I try to develop an java enterprise web program with netbeans 17, glassfish 7 and maven. First, I've to update manually < org.apache.maven.plugins /maven war plugin > to 3.3.2 and < maven-dependency-plugin > to 3.5.0 in pom.xml because the project can't build and compi

Re: Easier way to change Java platform for all modules of a Gradle project

2023-02-27 Thread Thomas Kellerer
Thomas Kellerer schrieb am 27.02.2023 um 08:38: > Hello, > > we have a Gradle project with about 40sub-projects. > > I am running NetBeans on Java 17, but the project still uses Java 11. > > However, it does not seem to be enough to switch the JDK on the main Gradle > pro

Easier way to change Java platform for all modules of a Gradle project

2023-02-26 Thread Thomas Kellerer
Hello, we have a Gradle project with about 40sub-projects. I am running NetBeans on Java 17, but the project still uses Java 11. However, it does not seem to be enough to switch the JDK on the main Gradle project. I need to change the JDK for each sub-project individually (using the project's

Re: A plain Java module shared between multiple Netbeans modules

2023-02-01 Thread Neil C Smith
On Wed, 1 Feb 2023 at 10:36, Admin Netcrystals wrote: > I use Maven. Does this make a difference? Only that the way to do it might be a little different to that mentioned on those pages. > Honestly speaking wrapping each plan Java module is quite a lit if work and > putting them a

Re: A plain Java module shared between multiple Netbeans modules

2023-02-01 Thread Admin Netcrystals
I use Maven. Does this make a difference?Honestly speaking wrapping each plan Java  module is quite a lit if work and putting them all in one wrapper module is also not a good idea (I have 40 of them).However, I understand that Netbeans has to track the dependencies so I

Re: A plain Java module shared between multiple Netbeans modules

2023-01-31 Thread Neil C Smith
On Tue, 31 Jan 2023 at 15:53, Admin Netcrystals wrote: > I have got a question regarding modules in Rich Client Platform. > > I have got some plain Java modules. They are not related to Netbeans in any > way. They are general libraries. Lets call them A, B and C. > > Now, I

A plain Java module shared between multiple Netbeans modules

2023-01-31 Thread Admin Netcrystals
Hello,I have got a question regarding modules in Rich Client Platform.I have got some plain Java modules. They are not related to Netbeans in any way. They are general libraries. Lets call them A, B and C.Now, I program a Netbeans program having two Netbeans Modules, lets

Using the Libre Office UNO Java interface on MacOS with NetBeans

2023-01-31 Thread David Gradwell
Hi, I am trying to write Java programs to make use of the Libre Office UNO Java interface on MacOS. I am aware of: https://wiki.documentfoundation.org/Main_Page https://wiki.documentfoundation.org/Documentation/DevGuide/LibreOffice_Developers_Guide https://api.libreoffice.org/examples

Re: NetBeans 16 running on JDK 17 + Gradle 7.5/Java 11 not working

2023-01-25 Thread Thomas Kellerer
László Kishalmi schrieb am 25.01.2023 um 21:26: > You are most probably seeing https://github.com/apache/netbeans/pull/5271 > It is fixed in NB17 which has the first rc available last week, > or as a workaround use an up-to date Java 17 (Java 17.0.6) wich has a dot in > it's version

Re: NetBeans 16 running on JDK 17 + Gradle 7.5/Java 11 not working

2023-01-25 Thread László Kishalmi
You are most probably seeing https://github.com/apache/netbeans/pull/5271 It is fixed in NB17 which has the first rc available last week, or as a workaround use an up-to date Java 17 (Java 17.0.6) wich has a dot in it's version. On Wed, Jan 25, 2023 at 12:39 AM Thomas Kellerer wrote: > He

NetBeans 16 running on JDK 17 + Gradle 7.5/Java 11 not working

2023-01-25 Thread Thomas Kellerer
Hello, after the 16u1 path, I was able to work with my Gradle 7.5 again (thanks!) So far I have been running NetBeans on Java 11 (from adoptium if that matters) and had no problems. However, when I start NetBeans using Java 17 (but keep the Gradle projects at Java 11), NetBeans doesn't open

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Michael Bien
with a dropdown list of Gradle Distribution Versions. To find the drop down list I am talking about navigate as follows: Tools > Options > Java > Gradle > Execution > Gradle Distribution Version > Use Standard Gradle Version I think the problem is that the text I want to

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Laszlo Kishalmi
. To find the drop down list I am talking about navigate as follows: Tools > Options > Java > Gradle > Execution > Gradle Distribution Version > Use Standard Gradle Version I think the problem is that the text I want to see is white text on a white background for most of the en

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Emma Atkinson
opdown list of Gradle Distribution Versions. To find the drop down > > list I am talking about navigate as follows: > > > > Tools > Options > Java > Gradle > Execution > Gradle Distribution > > Version > Use Standard Gradle Version > > > > I think

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Amn Ojee Uw
> Options > Java > Gradle > Execution > Gradle Distribution Version > Use Standard Gradle Version I think the problem is that the text I want to see is white text on a white background for most of the entries.  The Gradle  version I am using is black text on white background. Ther

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Michael Bien
NB IDE 16 on UbuntuStudio and I have a minor problem with a dropdown list of Gradle Distribution Versions. To find the drop down list I am talking about navigate as follows: Tools > Options > Java > Gradle > Execution > Gradle Distribution Version > Use Standard Gradle V

Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Emma Atkinson
Hello I'm using NB IDE 16 on UbuntuStudio and I have a minor problem with a dropdown list of Gradle Distribution Versions. To find the drop down list I am talking about navigate as follows: Tools > Options > Java > Gradle > Execution > Gradle Distribution Version > Use Standard

New Simple Gradle Java Application with TestNG

2023-01-16 Thread Emma Atkinson
When NB IDE 16.0 creates a "simple" new Gradle Java project I presume it executes *gradle init *with some command line options. The *gradle init* command offers a choice of test frameworks. Netbeans chooses *JUnit Jupiter*. However, the *gradle init* command also offers *JUnit 4*

Re: Netbeans only Java 1.8 or less?

2023-01-04 Thread László Kishalmi
Java Module System is not supported, however Java classes with recent Java versions are. So you can have a module using Java 11, 17 On Wed, Jan 4, 2023 at 10:00 AM Admin Netcrystals wrote: > Is it correct that java classes and modules used for building a Rich > Client Netbeans Platfo

Re: Netbeans only Java 1.8 or less?

2023-01-04 Thread Geertjan Wielenga
The question is why you would want to do that, the NetBeans modules themselves provide the kinds of features that Jigsaw provides. Gj On Wed, Jan 4, 2023 at 7:00 PM Admin Netcrystals wrote: > > Is it correct that java classes and modules used for building a Rich Client > Netbeans Pla

Netbeans only Java 1.8 or less?

2023-01-04 Thread Admin Netcrystals
Is it correct that java classes and modules used for building a Rich Client Netbeans Platform App should have no Jave Source Format larger than 1.8? Can I use module-info.java JigSaw features and pack those files to an nbm module?Thanks.  Netcrystals

Re: [java] locale is changed for derby db in embedded mode

2022-12-21 Thread Arnaud bourree
gards, > Orange > -- > *From:* Orange Trees > *Sent:* 26 November 2022 10:23 > *To:* users@netbeans.apache.org > *Subject:* [java] locale is changed for derby db in embedded mode > > Hello, > > There is a simple program which gives different results when I r

Re: [java] locale is changed for derby db in embedded mode

2022-12-21 Thread Orange Trees
Hello, Any suggestions please what and where should I check? Regards, Orange From: Orange Trees Sent: 26 November 2022 10:23 To: users@netbeans.apache.org Subject: [java] locale is changed for derby db in embedded mode Hello, There is a simple program which

Re: [java] Netbeans 16 platforms

2022-12-11 Thread Geert Vancompernolle
>>>I was wondering if you were affected by this too No, I wasn't.  The moment my JDK was set correctly in NB16 I was able to select the same list of remote connections I had before with NB12.5 and they worked immediately. FYI: when selecting Tools -> Java Platforms I've

Re: [java] Netbeans 16 platforms

2022-12-11 Thread Michael Bien
mail I was wondering if you were affected by this too. this should hopefully fix it: https://github.com/apache/netbeans/pull/5067 best regards, michael On 10.12.22 17:53, Geert Vancompernolle wrote: Follow this <https://netbeans.apache.org/kb/docs/java/javase-embedded.html> meticu

RE: Re: [java] Netbeans 16 platforms

2022-12-10 Thread Geert Vancompernolle
Follow this <https://netbeans.apache.org/kb/docs/java/javase-embedded.html> meticulously. The most important thing you should take care of is that the JDK version selected for your Netbeans project on your Windows (or whatever) machine is the same as the one installed on the Raspbe

Re: [java] Netbeans 16 platforms

2022-12-10 Thread Michael Bien
how did you solve the issue? a similar issue just got filed which reports that the migration of remote platforms doesn't work: https://github.com/apache/netbeans/issues/5065 Looks like the config import did work in your case or did you patch something? -mbien On 10.12.22 16:00, Geert

Re: [java] Netbeans 16 platforms

2022-12-10 Thread Geert Vancompernolle
Ok, found the issue myself.  Everything is working fine again, I can see all my remote platforms. -- Best rgds, Geert On 08/12/2022 16:54, Geert Vancompernolle wrote: Hi, I just upgraded Netbeans from 12.5 to 16.  I have quite a few Remote Java SE platforms (connecting to different

[java] Netbeans 16 platforms

2022-12-08 Thread Geert Vancompernolle
Hi, I just upgraded Netbeans from 12.5 to 16.  I have quite a few Remote Java SE platforms (connecting to different Raspberry Pi SBCs) and they all work perfect with Netbeans 12.5. However, if I create a new Java project in Netbeans 16 and I want to connect the project to one of the Remote

[java] Netbeans profiler calibration failed

2022-12-05 Thread Khalil El Mazouari
Hi, Profiler calibration on Mac M1 Pro failed. Thanks in advance for any suggestion/fix. *** Profiler message (Mon Dec 05 21:58:59 CET 2022): Starting target = application... /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java = -agentpath:/Applications/NetBeans/Apache NetBeans

[java] locale is changed for derby db in embedded mode

2022-11-26 Thread Orange Trees
Hello, There is a simple program which gives different results when I run it from the NetBeans IDE and outside IDE: package derbytest4; import java.sql.*; import java.util.*; public class DerbyTest4 { public static void main(String... args) throws Exception { println("Default

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

2022-10-19 Thread Bernd Michaely
On 18.10.22 19:24, Thorsten Schöning wrote: But images referenced in the *.form files should work in "resources", correct? If i remember correctly, GUI designer and *.form files have nothing to do at all with the build process (in the sense of Gradle), it is part of generating sources and

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

2022-10-19 Thread Thorsten Schöning
Guten Tag Neil C Smith, am Mittwoch, 19. Oktober 2022 um 14:27 schrieben Sie: > Either we're using different definitions, or there's something odd in > your configuration.[...] I repeated my tests and *.form files are not deployed by default, as long as they are stored alongside *.java. I

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

2022-10-19 Thread Neil C Smith
On Wed, 19 Oct 2022 at 13:29, Bernd Michaely wrote: > In doubt *.form files could be deleted from the build dir after > compilation and before deployment, e.g. using doFirst in the deployment > task, something like this: .. > (never tried that myself…) So did you check if they're in there to

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

2022-10-19 Thread Bernd Michaely
in the deployment task, something like this: https://docs.gradle.org/current/userguide/common_caching_problems.html#custom_actions (never tried that myself…) Bernd On 18.10.22 18:57, Neil C Smith wrote: On Tue, 18 Oct 2022 at 17:51, Thorsten Schöning wrote: Mostly that non-Java is exactly what

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

2022-10-19 Thread Neil C Smith
On Tue, 18 Oct 2022 at 18:24, Thorsten Schöning wrote: > > Guten Tag Neil C Smith, > am Dienstag, 18. Oktober 2022 um 18:57 schrieben Sie: > > > There's a massive difference between images and .form files - .form > > files are not meant to be published as part of the deployment. > > But they are

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

2022-10-18 Thread Thorsten Schöning
Guten Tag Neil C Smith, am Dienstag, 18. Oktober 2022 um 18:57 schrieben Sie: > There's a massive difference between images and .form files - .form > files are not meant to be published as part of the deployment. But they are when using Gradle. > Also, as far as NetBeans is concerned, they are

  1   2   3   4   5   6   7   8   >