Re: Run File option not enable in Run Menu

2024-10-28 Thread Zulfi Khan
Dear Sean and Rene-I tried your option both from pop up menu and Run menu but Run File option is not enabled. Actually I tried to install Javascript on Netbeans after that it happened. I think insatalltion removed some plugin. Somebody please guide me. I have attached the images. Following i

Netbeans and .gitignore

2024-10-28 Thread Sam Lalani
I use Git with my Java projects created in NetBeans to commit to GitHub. However, I want to ignore some files, such as *.class and the dist directory. Is there a GUI available in NetBeans for creating a .gitignore file for my project? Or do I have to create it outside the project and add it to th

RE: Upgrading embedded Tomcat instance

2024-10-28 Thread Tellis, Wyatt
Hi Michael, I agree that the embedded instance isn't usually web-facing, but our info-sec team scans all systems to reduce the feasibility of lateral movement attacks. As for the dev version, it looks like it addresses the Tomcat vulnerabilities. Will this be in the next release? Thanks, Wy

Re: Upgrading embedded Tomcat instance

2024-10-28 Thread Michael Bien
Hi Wyatt, the embedded tomcat instance is used to preview generated javadoc and similar usecases. Since it isn't facing the web, the typical CVEs often don't apply there. Are you worried about something in particular? The embedded instance is a regular NetBeans dependency which can't be upda

Upgrading embedded Tomcat instance

2024-10-28 Thread Tellis, Wyatt
Hi, I'm using NB23 and our security scanners have flagged it for running Tomcat 9.0.71, which contains numerous vulnerabilities: https://tomcat.apache.org/security-9.html Is there a way to update the embedded version of Tomcat? Thanks, Wyatt

Re: Adding new features

2024-10-28 Thread Michael Bien
Text blocks are part of the java language since JDK 15 or so. You can simply start using them if the JDK you target is recent enough. Make sure the language level on the project is set accordingly. -mbien On 28.10.24 09:17, Arbol One wrote: java 22.0.2 2024-07-16 Java(TM) SE Runtime Environ

Re: Run File option not enable in Run Menu

2024-10-28 Thread Sean Carrick
Zulfi, If your project uses the Maven build system and is a POM project with multiple sub-projects, the you need to set the sub-project that has your main class as the "Main Project". Doing this will enable the "Run" action in the menu. If you do not set a main project, then you will need to right

Adding new features

2024-10-28 Thread Arbol One
java 22.0.2 2024-07-16 Java(TM) SE Runtime Environment (build 22.0.2+9-70) Java HotSpot(TM) 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing) Hello. How to add new features like textblock to netbeans 23. Thanks in advance. -- */ArbolOne ™/* Using Fire Fox and Thunderbird. ArbolOne is co

Re: Run File option not enable in Run Menu

2024-10-28 Thread René Pöpperl
Hi Zulfi, the run menu relates to the file you have selected in the projects view. So, single click the file you want to run in the projects view. Then you can open the „run“ menu and choose „Run file“. You can also right click the file in the projects view and select „Run File“ within the pop