Java Swing Problem

2021-08-31 Thread Zulfi Khan
: - Choose File > New Project. Alternately, you can click the New Project icon in the IDE toolbar. - In the Categories pane, select the Java node and in the Projects pane, choose Java Application. Click Next. In the step 2, I can't find Java node, somebody please guide me. Zulfi.

Jdbc connection unsuccessful [java][jdbc]

2021-08-24 Thread tuegor
Hello!I got in trouble when writing a java application with database access in NetBeans. The following string of code:Connection myConn = DriverManager.getConnection(jdbcUrl, user, pass);throws an exception with a message:"No suitable driver found for jdbc:mysql://localhost:3306/hb_student_tr

RE: Problem with maven build with Java 11...

2021-08-16 Thread Nelligan, Steven M
string worked with Java 7 and Java 8 Steven M Nelligan From: Anthony DeCarlo Sent: Thursday, July 29, 2021 11:50 AM To: Nelligan, Steven M ; users@netbeans.apache.org Subject: Re: Problem with maven build with Java 11... Steven, Not sure. The error is confusing as it says increase to 180k

In Java with Ant, how to write program in java application using 'switch' statements?

2021-08-13 Thread Winod Dhamnekar
Hello, Netbeans Apache users, [cid:image002.png@01D7903A.36815EF0] [cid:image006.png@01D7903A.36815EF0] How to write Java program using ‘switch’ statements? Can we write this program using Scanner class? How can I use the ‘help for this exercise ‘ in writing Java program as the answer

Fw: [Java] with Ant (Java Applications) If, If Else, Else statements.

2021-08-06 Thread Winod Dhamnekar
From: Winod Dhamnekar Sent: Friday, August 6, 2021 1:24 PM To: users@netbeans.apache.org Cc: dgreen...@gmail.com ; mithat.karao...@gmail.com Subject: Re: [Java] with Ant (Java Applications) If, If Else, Else statements. Hello, Netbeans users, I already

Re: [Java] with Ant (Java Applications) If, If Else, Else statements.

2021-08-06 Thread Winod Dhamnekar
Subject: Re: [Java] with Ant (Java Applications) If, If Else, Else statements. Looks like nothing is wrong in code. I tried exactly the same code and it worked as expected. Can you try to run it with Shift-F6 ? = Mithat Karaoglu Email: mithat.karao...@gmail.com<mailto:mithat.karao...@gmail.

Re: Java : HelloWorld

2021-08-05 Thread Nicholas
2021-08-04 9:41 a.m., Benjamin Neuman wrote: Hey Peter, That's an odd one. Is the C:\netbeans\java\maven\bin\mvn.cmd executable? On Sun, Aug 1, 2021 at 7:53 PM Peter Zimmermann mailto:zinn...@gmail.com>> wrote: Hi NetBeans users,  Although I have si

Re: Java : HelloWorld

2021-08-05 Thread Peter Zimmermann
hing(?). > > > > On 2021-08-04 9:41 a.m., Benjamin Neuman wrote: > > Hey Peter, > That's an odd one. Is the C:\netbeans\java\maven\bin\mvn.cmd executable? > > On Sun, Aug 1, 2021 at 7:53 PM Peter Zimmermann wrote: > >> Hi NetBeans users, >> >> Alth

Re: [Java] with Ant (Java Applications) If, If Else, Else statements.

2021-08-05 Thread Mithat Karaoglu
ote: > > > I am not accustomed to using Netbeans Apache IDE expeditiously and > skillfully. In the following picture of IFStatements Java application > (Java with Ant project) I used if , else if, else statements using int > user(34) variable, but it didn't show the correct st

Re: [Java] with Ant (Java Applications) If, If Else, Else statements.

2021-08-05 Thread David Green
On 5 Aug 2021, at 10:32, Winod Dhamnekar wrote: > I am not accustomed to using Netbeans Apache IDE expeditiously and > skillfully. In the following picture of IFStatements Java application (Java > with Ant project) I used if , else if, else statements using int user(34) &

Re: Java : HelloWorld

2021-08-04 Thread Nicholas
nothing to do with Maven nor Netbeans per se. Unsupported JDK or something(?). On 2021-08-04 9:41 a.m., Benjamin Neuman wrote: Hey Peter, That's an odd one. Is the C:\netbeans\java\maven\bin\mvn.cmd executable? On Sun, Aug 1, 2021 at 7:53 PM Peter Zimmermann <mailto:zinn...@gmail.com>&

Re: Java : HelloWorld

2021-08-04 Thread Klaus Martinschitz
Hello, Try this… https://stackoverflow.com/questions/58411279/java-with-maven-wouldnt-build-cannot-run-program-cmd-malformed-argument-has I remember that I had the same problem some month ago. As far as I can remember it is a Java problem. Regards, Klaus Carl Mosca schrieb am Do. 5. Aug. 2021

Re: Java : HelloWorld

2021-08-04 Thread Carl Mosca
gt; >> Scott >> >> On Aug 4, 2021, at 2:02 PM, Geertjan Wielenga < >> geertjan.wiele...@googlemail.com.INVALID> wrote: >> >> Maybe connected to installing in a dir with spaces, i.e., C:\Program >> Files\Java\jdk-16.0.2\bin\java.exe >> >> Gj

Re: Java : HelloWorld

2021-08-04 Thread Geertjan Wielenga
; > Scott > > On Aug 4, 2021, at 2:02 PM, Geertjan Wielenga < > geertjan.wiele...@googlemail.com.INVALID> wrote: > > Maybe connected to installing in a dir with spaces, i.e., C:\Program > Files\Java\jdk-16.0.2\bin\java.exe > > Gj > > On Wed, Aug 4, 2021 at

Re: Java : HelloWorld

2021-08-04 Thread Scott Palmer
That’s the standard install location on Windows. If it doesn’t work with NetBeans it would be broken for most people on Windows. Scott > On Aug 4, 2021, at 2:02 PM, Geertjan Wielenga > wrote: > > Maybe connected to installing in a dir with spaces, i.e., C:\Program > Files\

Re: Java : HelloWorld

2021-08-04 Thread Geertjan Wielenga
Maybe connected to installing in a dir with spaces, i.e., C:\Program Files\Java\jdk-16.0.2\bin\java.exe Gj On Wed, Aug 4, 2021 at 6:41 PM Benjamin Neuman wrote: > Hey Peter, > That's an odd one. Is the C:\netbeans\java\maven\bin\mvn.cmd executable? > > On Sun, Aug 1, 2021 at 7

Re: Java : HelloWorld

2021-08-04 Thread Benjamin Neuman
Hey Peter, That's an odd one. Is the C:\netbeans\java\maven\bin\mvn.cmd executable? On Sun, Aug 1, 2021 at 7:53 PM Peter Zimmermann wrote: > Hi NetBeans users, > > Although I have significant programming experience I’m new to NetBeans > and Java and I’m having trouble getting

Java : HelloWorld

2021-08-01 Thread Peter Zimmermann
Hi NetBeans users,  Although I have significant programming experience I’m new to NetBeans and Java and I’m having trouble getting the simplest “Hello World” program to run. I keep getting the message shown below: Cannot run program "cmd" (in directory "C:\Users\User\One

Re: Problem with maven build with Java 11...

2021-07-29 Thread Anthony DeCarlo
, Steven M *Sent:* Wednesday, July 28, 2021 1:07 PM *To:* users@netbeans.apache.org *Subject:* Problem with maven build with Java 11... I am running Netbeans version 12.3 and try to do a Maven build with Java 11. I am getting the following errors: cd C:\dev\projects\FsAimRestApi; "JAVA_H

RE: Problem with maven build with Java 11...

2021-07-29 Thread Nelligan, Steven M
Anyone have any insight on what could be wrong? Steven M Nelligan From: Nelligan, Steven M Sent: Wednesday, July 28, 2021 1:07 PM To: users@netbeans.apache.org Subject: Problem with maven build with Java 11... I am running Netbeans version 12.3 and try to do a Maven build with Java 11. I

Problem with maven build with Java 11...

2021-07-28 Thread Nelligan, Steven M
I am running Netbeans version 12.3 and try to do a Maven build with Java 11. I am getting the following errors: cd C:\dev\projects\FsAimRestApi; "JAVA_HOME=C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.11.9-hotspot" "M2_HOME=C:\\Program Files\\apache-maven-3.6.3" cmd /c &

Re: (Java) Remote debugging (and breakpoints) of App server internals

2021-07-25 Thread Will Hartung
On Fri, Jul 23, 2021 at 4:29 PM Stephan van Beerschoten < step...@vanbeerschoten.net> wrote: > Hi there, how would I go about setting breakpoints in server side modules > that are part of my App server? I'm using WildFly, but the same would be > true for any of them I guess. > > I can set

(Java) Remote debugging (and breakpoints) of App server internals

2021-07-23 Thread Stephan van Beerschoten
Hi there, how would I go about setting breakpoints in server side modules that are part of my App server? I'm using WildFly, but the same would be true for any of them I guess. I can set breakpoints in my own code that work just fine, but I need to get a breakpoint in the internal apache-cxf

Re: James Gosling podcast / Embedded Java

2021-07-22 Thread Owen Thomas
On Fri, 23 Jul 2021 at 04:25, Geertjan Wielenga wrote: > https://foojay.io/today/foojay-podcast-2/ > > A fun podcast, enjoy! > > Gj > Indeed, thanks Geertjan.

James Gosling podcast / Embedded Java

2021-07-22 Thread Geertjan Wielenga
https://foojay.io/today/foojay-podcast-2/ A fun podcast, enjoy! Gj

Re: [java] "Initializing view, please wait" for Main class

2021-07-10 Thread Geertjan Wielenga
Each new release of NetBeans, whether LTS or minor, requires to be installed from scratch. Good to hear 12.4 does the job for you. Gj On Sat, 10 Jul 2021 at 17:39, Jeremy Connin wrote: > Hi Gj, > > Your suggestion to use 12.4 solved my problem. Everything works as > expected now. I had

Re: [java] "Initializing view, please wait" for Main class

2021-07-10 Thread Jeremy Connin
Hi Gj, Your suggestion to use 12.4 solved my problem.  Everything works as expected now.  I had assumed that I should use the 12.0 version because it said it was the LTS version.  I also had used the update function within the program and it told me it was up to date.  Either way, things run

Re: [java] "Initializing view, please wait" for Main class

2021-07-10 Thread Geertjan Wielenga
You could at least right-click the file and choose Run. Also, use 12.4, the latest release. Gj On Sat, 10 Jul 2021 at 17:19, Jeremy Connin wrote: > Hi Glenn, > > I'll send a couple examples, but the code can be anything. Here are two > examples, the first being a code from my textbook, the

Re: [java] "Initializing view, please wait" for Main class

2021-07-10 Thread Jeremy Connin
Hi Glenn, I'll send a couple examples, but the code can be anything. Here are two examples, the first being a code from my textbook, the second being a very basic code in an attempt to "get it working." 1) https://pastebin.com/AzWy7Lc3 2) https://pastebin.com/sCAZMwQJ [image: image.png] On

Re: [java] "Initializing view, please wait" for Main class

2021-07-10 Thread Glenn Holmer
On 7/10/21 9:41 AM, Jeremy Connin wrote: I cannot get Netbeans 12.0 to find my Main Class in order to run any of the files I've created for my class. What can I do to get this working? Show us the code? -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the

[java] "Initializing view, please wait" for Main class

2021-07-10 Thread Jeremy Connin
Hi Netbeans Users, I'm brand new to Netbeans and fairly new to Java. I am not, however, new to computers and troubleshooting. I'm frustrated that I can't solve this problem and I'm hoping for help. I cannot get Netbeans 12.0 to find my Main Class in order to run any of the files I've created

Re: Re: Java 16 Javadocs?

2021-06-25 Thread Eric Bresie
ilto:are@ryzen) ~ [SIGINT]> yay openjdk-doc > > 1 extra/openjdk-doc 16.0.1.u9-1 (11.0 MiB 260.9 MiB) > > OpenJDK Java 16 documentation > > ==> Packages to install (eg: 1 2 3, 1-3 or ^4) > > > > > > are@ryzen (mailto:are@ryzen) ~> yay -Ql openjdk-doc > >

Re: Java 16 Javadocs?

2021-06-24 Thread Emilian Bold
t; > > I do not think that this is correct: > > are@ryzen ~ [SIGINT]> yay openjdk-doc > 1 extra/openjdk-doc 16.0.1.u9-1 (11.0 MiB 260.9 MiB) > OpenJDK Java 16 documentation > ==> Packages to install (eg: 1 2 3, 1-3 or ^4) > > > are@ryzen ~> yay -Ql openjdk-doc

Re: Java 16 Javadocs?

2021-06-23 Thread Andreas Reichel
MiB 260.9 MiB) OpenJDK Java 16 documentation ==> Packages to install (eg: 1 2 3, 1-3 or ^4) are@ryzen ~> yay -Ql openjdk-doc openjdk-doc /usr/ openjdk-doc /usr/share/ openjdk-doc /usr/share/doc/ openjdk-doc /usr/share/doc/java-openjdk/ openjdk-doc /usr/share/doc/java-openjdk/api/ openjdk-doc

Re: Java 16 Javadocs?

2021-06-23 Thread Christian Pervoelz
10:15 AM Christian Pervoelz > wrote: > >> If you have added the Java Platform via Tools > Java Platforms it should >> be already there. >> >> If it's not, then: >> 1. Tools > Java Platforms >> 2. On the left side, select the JDK entry &g

Re: Java 16 Javadocs?

2021-06-23 Thread Emilian Bold
It's amazing there's no 3rd party place for Javadocs considering there's now so many OpenJDK distros. Luckily the IDE doesn't show the huge cookie consent you see on docs.oracle.com --emi On Wed, Jun 23, 2021 at 10:15 AM Christian Pervoelz wrote: > If you have added the Java Platform

Re: Java 16 Javadocs?

2021-06-23 Thread Owen Thomas
Thanks Christian. I'll give it a go. On Wed, 23 Jun 2021 at 17:15, Christian Pervoelz wrote: > If you have added the Java Platform via Tools > Java Platforms it should > be already there. > > If it's not, then: > 1. Tools > Java Platforms > 2. On the left side,

Re: Java 16 Javadocs?

2021-06-23 Thread Christian Pervoelz
If you have added the Java Platform via Tools > Java Platforms it should be already there. If it's not, then: 1. Tools > Java Platforms 2. On the left side, select the JDK entry 3. On the right side, click the tab Javadoc 4. Click "Add URL" 5. Enter https.//docs.oracle.com/en/jav

Java 16 Javadocs?

2021-06-22 Thread Owen Thomas
Can someone please point me in the direction of the Javadoc for JDK 16? I want to access it in NetBeans. Thanks, Owen.

Re: Java FX Project identity

2021-03-24 Thread Emma Atkinson
FXML files. It > has options to create them, if you double click on one it launches > SceneBuilder, etc. > > If you create a plain Java Maven project, it doesn't know about any of > those things. For example, you can not create an FXML file with the New > menu. > > Adding j

Re: Java FX Project identity

2021-03-22 Thread HRH
it launches SceneBuilder, etc. If you create a plain Java Maven project, it doesn't know about any of those things. For example, you can not create an FXML file with the New menu. Adding java fx dependencies doesn't do anything to the IDE. Now, I've "uplifted" a normal project a little

Re: Java FX Project identity

2021-03-22 Thread Lisa Ruby
Hi Will, Have you set up the location of Scenebuilder in Netbeans? Here is how to do it if you haven't: From Nebeans Menu: - Tools/Options - Select the Java tab in the options window - Select the JavaFX tab in the Java options - Enter the location of Scenebuilder and click Apply Lisa Ruby

Re: Java FX Project identity

2021-03-22 Thread Lisa Ruby
Hi Will, Have you set up the location of Scenebuilder in Netbeans? Here is how to do it if you haven't: From Nebeans Menu: - Tools/Options - Select the Java tab in the options window - Select the JavaFX tab in the Java options - Enter the location of Scenebuilder and click Apply Lisa On 3/22

Re: Java filing problem on Netbeans 12.2: File created but no data in it

2021-03-15 Thread Mark A. Flacy
Greetings, This is a generic Java problem, not a NetBeans issue. Try */FileWriter fileWritter = new FileWriter(f1, true); /*instead. -- Mark A. Flacy mfl...@verizon.net On Friday, March 12, 2021 7:01:44 PM CDT Zulfi Khan wrote: > Hi, > Subject: File created but message not stored &g

Re: Java filing problem on Netbeans 12.2: File created but no data in it

2021-03-11 Thread Mark A. Flacy
Greetings, You are going to need to provide a lot more information before anyone even attempts to help you. Why is this a Netbeans problem? Did you make a project of some kind? If so, what type of project? What did you do via Netbeans? You are essentially saying "I did some things and I

Java filing problem on Netbeans 12.2: File created but no data in it

2021-03-11 Thread Zulfi Khan
Hi,I am trying to run the following program: ackage com.mycompany.fileWrite; import java.io.File; import java.io.FileWriter; import java.io.BufferedWriter; import java.io.IOException; /**  *  * @author zulfi  */ public class Main {     public static void main( String[] args ) {   try {   

Adding jar to java modules maven project

2021-03-11 Thread Will Hartung
Working with a JDK 11 project that uses module-info, how do I add a dependency that's not modularized? That's just a plain, legacy jar? If I simply add the dependency, auto complete can't see it, fix imports can't see it, etc. So how is that done? Thanks, Will Hartung

Re: Having NetBeans form data hit Java derby DB automagically

2021-03-10 Thread antonio
Hi all, Maybe you want to follow these tutorials https://netbeans.apache.org/tutorials/nbm-crud.html (for Platform apps) https://netbeans.apache.org/kb/docs/javaee/ecommerce/entity-session.html (Java EE version) We'd appreciate new screenshots and a review :-). Kind regards, Antonio On 10

Fwd: Fwd: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally"

2021-03-10 Thread Achim Zielesny
. Best regards, Achim -- Forwarded message - Von: Laszlo Kishalmi Date: Di., 9. März 2021 um 17:37 Uhr Subject: Re: Fwd: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally" To: Well, I'd debug this one: Testcase: de.gnwi.mfsim.model.graphics.body.test.TestBodyS

Re: Having NetBeans form data hit Java derby DB automagically

2021-03-10 Thread Luff,Chris
Lot’s of scenarios and plenty of options. Usually, you would write a set of interfaces to the data structure of the database that encapsulate update, insert and delete methods. > On 10 Mar 2021, at 02:02, Amy Wolf wrote: > > I have a front end form and have set up a Java derby db wit

Having NetBeans form data hit Java derby DB automagically

2021-03-09 Thread Amy Wolf
I have a front end form and have set up a Java derby db with a table & columns. When the GUI is filled out, how does the record hit the db in the right fields? Is there Java code for this? Thanks! - To unsubscribe, e-

Re: Fwd: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally"

2021-03-09 Thread Laszlo Kishalmi
Achim -- Forwarded message - Von: *Laszlo Kishalmi* <mailto:laszlo.kisha...@gmail.com>> Date: Mo., 8. März 2021 um 20:09 Uhr Subject: Re: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally" To: mailto:users@netbeans.apache.org>> You might need to check the

Fwd: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally"

2021-03-09 Thread Achim Zielesny
-- Forwarded message - Von: Laszlo Kishalmi Date: Mo., 8. März 2021 um 20:09 Uhr Subject: Re: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally" To: You might need to check the VM args in the test, sometimes it passes some bootclasspath related arguments which got removed

Re: [java] JUnit 4 tests lead to "Forked Java VM exited abnormally"

2021-03-08 Thread Laszlo Kishalmi
wrote: Dear NetBeans-Community, the migration of several Java 8 projects from NetBeans 8.2 to Apache NetBeans 12.1/AdoptOpenJDK 11 worked very well and successfully. Only the JUnit tests (we still use junit-4.10.jar) do unfortunately no longer seem to work: A "Test file" or "Debug

[java] JUnit 4 tests lead to "Forked Java VM exited abnormally"

2021-03-08 Thread Achim Zielesny
Dear NetBeans-Community, the migration of several Java 8 projects from NetBeans 8.2 to Apache NetBeans 12.1/AdoptOpenJDK 11 worked very well and successfully. Only the JUnit tests (we still use junit-4.10.jar) do unfortunately no longer seem to work: A "Test file" or "Debug

Re: Java - Copying Project

2021-02-24 Thread Ken Miller K6CTW
All - This is now OBE. Was able to successfully move the project. Thanks again to Bradley for his response. 73 & God Bless - Ken Miller, K6CTW -Original Message- >From: Ken Miller K6CTW >Sent: Feb 23, 2021 2:00 PM >To: users@netbeans.apache.org >Subject: Java -

Re: Java - Copying Project

2021-02-24 Thread Paulo Toledo
Hi Ken, If you only have the .java and .form files, you can create a new project in Netbeans and in the src folder put these files inside it. Possibly a packet error will occur. Then, you will have to move it to the correct packages before recreating the project with the .jar file. Hope

Re: Java - Copying Project

2021-02-24 Thread Bradley Willcott
Hi Ken, A bit more info on the files you have would help. Like what type of app is it?  JavaFX/ML or Plain Java app, or what? However, I would look at creating a new project and manually adding in the source files. If they are already in the correct directory structure according

Java - Copying Project

2021-02-23 Thread Ken Miller K6CTW
All - Built a project on one Windows 10 platform and want to move it to another Windows 10 platform. Did not export it as a zip. The original platform is gone so all that remains are the .java and .form files. How can these be imported back to a project on the new platform? Thanks

Java 11 and the Netbeans platform

2021-02-15 Thread Stefan Murawski
have any purpose or could it be removed (preferably vom the 12.0 LTS stream)? https://github.com/apache/netbeans/blob/master/platform/o.n.bootstrap/src/java/lang/Module.java Cheers, Stefan

Netbeans 12.2 Java EE code completion (e.g. omnifaces) not always working as expected

2021-01-28 Thread Jens Zurawski
Hi all, I'm currently developing a new Java EE Web application (targeting a TomEE 8.x webprofile), and because it's a new development I already want to start it in Java EE 8/JSF 2.3 (but the code completion problems also shows in a Java EE 7/JSF 2.2 setup). I have to admit that I'm fairly new

Re: [java] Ant using incorrect JDK for building

2021-01-26 Thread Juan Algaba
Hello again. Now I'm a little suspicious on whether your problem is caused by ANT picking JDK 15 to compile. The presence of JDK 15 properties doesn't mean that it's using it to compile, >In build output in debug mode, it shows "Detected Java version 15" and "Java >Versio

Re: Java EE8 Status

2021-01-23 Thread Zahid Rahman
, 23 Jan 2021, 17:28 Som Lima, wrote: > https://www.amazon.com/Definitive-Guide-JSF-Java-Applications/dp/1484233867 > > This book is on par with any professional $3000 per week course. > > for example He explains broken IDE setup errors and solutions which are > relevant even wi

Re: Java EE8 Status

2021-01-23 Thread Som Lima
https://www.amazon.com/Definitive-Guide-JSF-Java-Applications/dp/1484233867 This book is on par with any professional $3000 per week course. for example He explains broken IDE setup errors and solutions which are relevant even with latest software versions, three years later. With this book

Re: [java] Ant using incorrect JDK for building

2021-01-23 Thread Karan Agrawal
Hi Juan, Platform update is done through the window; did not modify project.properties file manually. There is one modification to generate Java classes from a wsdl file, using "wsimport" which is present in JAVA_HOME/bin. This, however, works well as long as JDK 8 is used.

Re: [java] Ant using incorrect JDK for building

2021-01-23 Thread Juan Algaba
be sure because in my computer NB runs on JDK 11, and even when compiling with a JDK 8 the output always start with "Detected Java version: 11 in: ...", but I know it's compiling with the JDK8 that I set because I did a test (more on that later). >Q. How to make ANT

Re: [java] Ant using incorrect JDK for building

2021-01-21 Thread Zahid Rahman
Have a look at this page. I think the other way to get ANT to run specified JDK may be to specify in the build.xml https://stackoverflow.com/questions/949678/ant-is-using-wrong-java-version Z. https://www.backbutton.co.uk/ ¯\_(ツ)_/¯ ♡۶♡۶ ♡۶ On Thu, 21 Jan 2021, 11:53 Zahid Rahman, wrote

Re: [java] Ant using incorrect JDK for building

2021-01-21 Thread Zahid Rahman
> Although, JDK8 appears before JDK15 in the System's PATH variable I don't think you should have two JDKs in the PATH environment variable. It is a but messy. *ANT picks JDK 15 and compilation fails*. > It looks like ant build script is picking up from PATH. if you run java - v

Re: [java] Ant using incorrect JDK for building

2021-01-21 Thread Karan Agrawal
Yes Zahid. The point is - I would be using Netbeans for Java 11+ projects as well. Although, JDK8 appears before JDK15 in the System's PATH variable If I make a change in netbeans.conf, then I will have to start at least 2 instances of netbeans and also install nb-javac (probably) On Thu, Jan

Re: [java] Ant using incorrect JDK for building

2021-01-21 Thread Zahid Rahman
.2 > > My Java Projects uses JDK 8 with ANT. > Therefore, after opening the projects in Netbeans 12.2, I have added JDK8 > in the platform and updated *Project Properties* accordingly. > > With Netbeans 12.2, when "clean and build" is triggered, *ANT picks JDK > 15 an

[java] Ant using incorrect JDK for building

2021-01-21 Thread Karan Agrawal
Hello Experts, I have migrated from Netbeans 8.0 to Apache Netbeans 12.2 My Java Projects uses JDK 8 with ANT. Therefore, after opening the projects in Netbeans 12.2, I have added JDK8 in the platform and updated *Project Properties* accordingly. With Netbeans 12.2, when "clean and

Re: Java EE8 Status

2021-01-14 Thread Will Hartung
tic drop onward, so I am not sure how to construe this sharp drop. > Does this mean, the majority of the Java EE developers now have a matured > skillset and they do not need to ask those “how-to” questions anymore, not > many web-applications being developed across the board, Java developers

Re: Java EE8 Status

2021-01-14 Thread HRH
Recently (using the COVID downtime)I started to look at Java EE (JSF, EJB, CDI, JPA, and so on) using the Java EE7 tutorial. I am so amazed by the drastic improvements to the technologycompared to the time I used to develop web applications with Java, JDBC, J2EE,and JSPs technologies before I

Re: Java EE8 Status

2021-01-12 Thread nikita.zinov...@gmail.com
Will, that is a really interesting read, thank you! Speaking of modern JSF, I really enjoyed reading a 2018 book: "The Definitive Guide to JSF in Java EE 8: Building Web Applications with JavaServer Faces 1st ed. Edition" by Scholtz, Bauke, Tijms, Arjan Here's one of the links t

Re: Java EE8 Status

2021-01-12 Thread Will Hartung
On Tue, Jan 12, 2021 at 12:31 AM Som Lima wrote: > > My concerns layed to rest with my direction set. > > I feel I must ask one more question from this knowledge pool. A bonus > question if you please. > > It is my understanding struts is a competitor to spring but I don't > believe > It is part

Re: Java EE8 Status

2021-01-12 Thread Will Hartung
On Mon, Jan 11, 2021 at 11:13 PM nikita.zinov...@gmail.com < nikita.zinov...@gmail.com> wrote: > I'm really amazed that Payara finally made it to a fully clustered App > server setting, people say they have seamless green/blue deployments there > with a cluster of 2-3 payara servers. I wish we

Re: Java EE8 Status

2021-01-12 Thread Som Lima
painted ? On Tue, 12 Jan 2021, 00:22 Laszlo Kishalmi, wrote: > Java EE had bad reputation as it was over designed. Big companies trying > to sell pricey support for their bloated "good for everything" Application > Servers which required high level of knowledge as entry poi

Re: Java EE8 Status

2021-01-11 Thread nikita.zinov...@gmail.com
updated to EJB 3.1, annotations, etc. Then I had a break in my programming carrier in favor of pure mathematics. In 2008-9 while again working as a Software Engineer at Sun Microsystems at Java Platform Group SQE team I made up a Java EE 5 application, to monitor test job execution for Java SE, we had

Re: Java EE8 Status

2021-01-11 Thread Laszlo Kishalmi
Java EE had bad reputation as it was over designed. Big companies trying to sell pricey support for their bloated "good for everything" Application Servers which required high level of knowledge as entry point for developers. Then Spring came with it's bean context. It run

Re: Java EE8 Status

2021-01-11 Thread Som Lima
The journey with EE leads to success ! So jakarta EE and Spring.io are the two leading competitors in the same paradigm with popularity d) between the two 20:80 in favour of spring.io. Two of the popular opensource IDEs NetBeans and Eclipse IDE for java EE developers cater specifically

Re: Java EE8 Status

2021-01-11 Thread nikita.zinov...@gmail.com
friends pet project. Thank you so much, it's a really interesting read, with kind regards, Nikita Zinoviev p.s. Unfortunately, even though I live in a 5 million city, everybody is using Spring, 80% of (our local) Joker java conference is about Spring, and only 10-20% (1-2 talks) about Java EE

Re: Java EE8 Status

2021-01-08 Thread Josh Juneau
Hi Som, Great to meet you, and thanks for the post. I believe that if you were to invest time into learning how to develop Java EE 8 and “Jakarta EE” applications with NetBeans, then you would be on a path to success. Java EE 8 is still modern, although it will be outdated within the coming

Java EE8 Status

2021-01-08 Thread Som Lima
Hi, I don't get much time to go to software development conferences :) If I was to invest my COVID-19 stay at home time in JAVA EE8 technologies with Netbeans as one of those technologies. Assuming my target domain is e-commerce distributed dynamic web applications. Would I

Re: Java FX Scenebuilder w/12.2

2020-12-29 Thread Will Hartung
the Main menu. >2. In the Options window, click Java and then the JavaFX tab. >3. Specify the location of the *Scene Builder* installation folder and >then click OK. > > > Hope this helps > > David Johnson > > On Mon, 2020-12-28 at 19:35 -0800, Will Hartung w

Re: Java FX Scenebuilder w/12.2

2020-12-29 Thread David
menu.In the Options window, click Java and then the JavaFX tab.Specify the location of the Scene Builder installation folder and then click OK. Hope this helps David Johnson On Mon, 2020-12-28 at 19:35 -0800, Will Hartung wrote: > On Mon, Dec 28, 2020 at 4:03 PM Scott Palmer > wrote: > > I

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Clement Levallois
hild maven modules. Yes, I can open >> it in NetBeans and build it. >> >> The build creates a "mods" folder where all the JPMS jars are generated. >> Then, I run the app with a command which specifies the module-path and the >> start module: >> java --module

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Neil C Smith
On Tue, 29 Dec 2020 at 11:21, Clement Levallois wrote: > So... not sure at which step / how I can use the "debug" function in NetBeans > for such a project? You'll likely need to edit the actions for run / debug in project properties to use module path rather than class path (you can still use

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Geertjan Wielenga
with a command which specifies the module-path and the > start module: > java --module-path mods/gui --module net.clementlevallois.javafxtest.gui > > The result looks like: > https://github.com/seinecle/yetanotherjavafxjmpstest > > So... not sure at which step / how I can use t

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Clement Levallois
Hi, The project is made of a parent pom and child maven modules. Yes, I can open it in NetBeans and build it. The build creates a "mods" folder where all the JPMS jars are generated. Then, I run the app with a command which specifies the module-path and the start module: java --m

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Geertjan Wielenga
What happens when you use File | Open Project and browse to the root folder? Alternatively, create a new Java project in NetBeans and copy your code into the generated project template. Gj On Tue, 29 Dec 2020 at 12:05, Clement Levallois wrote: > Hi, > > At the moment I run my jigs

Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Clement Levallois
Hi, At the moment I run my jigsaw / JPMS project from the command line: java --module-path mods/core --module net.clementlevallois.certificateapp.core This works fine but this prevents me from using NetBeans debugging capabilities (line by line debugging in particular). How can I come back

Re: Java FX Scenebuilder w/12.2

2020-12-28 Thread HRH
I encountered a similar behavior in NB 12.0 in the past. In order to circumnavigate this behavior, before creating a FXML file, a FX project, or any FX related activity, I first go to Tool->Options->Java-JavaFx tab, make sure it is activated and JavaFx SceneBuilder Integration is visibl

Re: Java FX Scenebuilder w/12.2

2020-12-28 Thread Will Hartung
On Mon, Dec 28, 2020 at 4:03 PM Scott Palmer wrote: > I had similar issues until I manually launched SceneBuilder and opened > some FXML files. After that it seemed to work. > > Scott > One thing I think I noticed was that in 12.0, when I clicked on a FXML file, there was an Open and Edit

Re: Java FX Scenebuilder w/12.2

2020-12-28 Thread Scott Palmer
I had similar issues until I manually launched SceneBuilder and opened some FXML files. After that it seemed to work. Scott > On Dec 28, 2020, at 6:14 PM, Will Hartung wrote: > >  > I just installed 12.2 and imported my 12.0 settings. > > In 12.0, if you double click on an FXML file, it

Java FX Scenebuilder w/12.2

2020-12-28 Thread Will Hartung
I just installed 12.2 and imported my 12.0 settings. In 12.0, if you double click on an FXML file, it would open the file in SceneBuilder. In 12.2, it does not. Is there a setting I'm missing? Thanks Will Hartung

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-21 Thread Neil C Smith
On Mon, 21 Dec 2020 at 12:51, Oliver Rettig wrote: > It is only a warning that the file maybe is too big. There are lots of > configuration possibilities available for experiences users. There is already https://bits.netbeans.org/12.2/javadoc/properties.html although this is not listed there

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-21 Thread Oliver Rettig
Hi, It is only a warning that the file maybe is too big. There are lots of configuration possibilities available for experiences users. Maybe a central page in the wiki which collects all the settings/properties would be fine. Is there such a collection somewhere? Where can it place in the

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-21 Thread Som Lima
I think the software program sucks if the software did not advise user in the error message to adjust the parameter. J-Dorg.openide.text.big.file.size=10. On Mon, 21 Dec 2020, 08:34 Oliver Rettig, wrote: > Hi all, > > > > Neil is completely right - thanks for the hint. > > > > The

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-21 Thread Oliver Rettig
Hi all, Neil is completely right - thanks for the hint. The warning is opened if a configurable maximum file size is reached. The default value for this is 1MB and can be increased by by adding system property, e.g. -J-Dorg.openide.text.big.file.size=10 I will think about to use this

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-20 Thread Neil C Smith
On Sun, 20 Dec 2020 at 16:25, Oliver Rettig wrote: > I remember also got such messages in the past during opening big text files > in my netbeans-platform applications and with increasing heap-size I cauld > not get rid of the message. In my cases after closing the dialog all works > fine. So

<    1   2   3   4   5   6   7   8   >