Re: NB 22 - java.lang.ExceptionInInitializerError on opening JavaEE xhtml files

2024-06-07 Thread Michael Bien
sounds like https://github.com/apache/netbeans/issues/7436 -mbien On 07.06.24 12:55, Jens Zurawski wrote: I've just made a test with NB-21. The problem/Exception does not occur. Also tested both installs, with and without importing of my NB-20 settings. So it's new in 22. cu Jens Am

Re: Adding support for a file extension

2024-06-05 Thread Michael Bien
try options -> miscellaneous -> files This should be able to associate extensions with known mime types. -mbien On 05.06.24 18:33, Will Hartung wrote: I have my own little HTML templating files, but they have their own extension. So, even though they're 99% HTML, the IDE does not consider

Re: Netbeans notification requests permission for Maven repo. But how?

2024-06-03 Thread Michael Bien
you can click the links. Since this looks like a local repo, it won't have an index file anyway so you can click the "deny" link and it won't ask again for this repo ID. This is meant for remote repos like maven central which offer big index files. -mbien On 03.06.24 21:21, Mark Koch

Re: Using Netbeans with SE 22

2024-06-02 Thread Michael Bien
Hi Owen, regarding NetBeans: you will need NetBeans 22 or later for Java 22 features (NB 22 should be officially released soon). Also keep in mind that JEP 447 (Statements before super) is a preview feature and preview features create non-portable bytecode which lock the bytecode to one JDK

Re: Netbeans and Emmet

2024-04-23 Thread Michael Bien
this is likely the project you are looking for: https://github.com/emmetio/netbeans it seems to lack maintainers but the last release might still work. Simply download the nbm and try to install it using tools -> plugins -> downloaded -> add plugins -mbien On 23.04.24 22:09, Tom Rushworth

Re: New source files open near to "Output" tab

2024-04-16 Thread Michael Bien
you can probably fix this by moving the output out of the tab group of the files and then the files to the central area where you want them, but if this doesn't work you can always reset the UI with windows -> reset windows. -mbien On 16.04.24 14:29, Daehyun wrote: Hi, I just upgraded to the

Re: Problems with Printing from NetBeans

2024-04-16 Thread Michael Bien
print to html and then print the html with a browser? -mbien On 16.04.24 21:04, Hanley, Chris wrote: Hi, I am new to this user group. I teach at a high school in New York. We have successfully printed from NB printing option. My IMS imaged computers 2 months ago and we get No Print Services

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

2024-04-02 Thread Michael Bien
the exec.mainClass property of pom.xml is the main entry point of your program and becomes relevant if you want to run the project in the shell or once its built. NB can run anything which has a main method or any test simply via right click -> run/debug. It doesn't really care what is in the

Re: Run-Time Error: email Validation project still giving errors

2024-03-12 Thread Michael Bien
On 12.03.24 05:58, Zulfi Khan wrote: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project ValidateName3: Fatal error compiling: error: release version 11.0.19 not supported -> [Help 1] Something is wrong in your pom.xml. The

Re: [platform] Remove files referred to in update_tracking

2024-03-11 Thread Michael Bien
the native libs should be ok for removal on non-windows systems since DDE is windows specific: https://github.com/apache/netbeans/blob/643b64771c00c24d857773cd4d454c19f40bb57f/ide/extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java#L77-L96 -mbien On 11.03.24 14:41, Patrik

Re: No open files after updating

2024-03-04 Thread Michael Bien
unfortunately not. I looked into this a while ago, and the opened files are part of the regular UI state persistence like window positions etc which isn't imported to the next version. (Project groups are imported though since those aren't UI) if you want to live dangerously:  - start

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-02 Thread Michael Bien
On 01.03.24 17:42, Ulf Zibis wrote: Am 01.03.24 um 15:24 schrieb Michael Bien:   - The "force plugin install into shared directories" is not a good idea Why is it provided? For historic reasons and to solve some edge cases. I vaguely remember using this option for a native l

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-02 Thread Michael Bien
not be the case. On 01/03/2024 19:01, Michael Bien wrote: On 01.03.24 18:24, Noel Abela wrote: I am confused about all these versions. How come if you download the latest JRE from Oracle this explains it. The platform manager expects a JDK, not a JRE. The concept of JRE is a bit dated and no longer

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Michael Bien
On 01.03.24 22:56, Noel Abela wrote: Thanks again for your input. As you can see from the  attached screenshot I am getting the same error for Java 8. what Java distribution is this you tried to add? if its the one from the link you posted it would be a JRE I believe. Oracle has a separate

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Michael Bien
or a regular repository on linux, NB should automatically add it to the platform manager since it scans some well-known directories. best regards, -mbien On 01/03/2024 16:15, Michael Bien wrote: NetBeans 21 supports projects which use JDKs in the rage 8-21 with limited support for early access dev

Re: Netbeans 22 does not allow JDK 1.7 or 1.8

2024-03-01 Thread Michael Bien
NetBeans 21 supports projects which use JDKs in the rage 8-21 with limited support for early access dev builds 22, 23 etc. javac itself dropped support for the 1.7 target in Java 20. So your best bet would be to try NetBeans 17 which used nb-javac based on JDK 19. Although I can't promise

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-01 Thread Michael Bien
On 01.03.24 14:43, Ulf Zibis wrote: Am 29.02.24 um 22:12 schrieb Geertjan Wielenga: The Apache NetBeans 21 binary releases require JDK 11+, and officially supports running on JDK 11, 17 and 21. Thanks for the info. In the meantime I solved the problem still using JDK 18 as follows. -

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

Re: Issues/capabilities of the NetBeans GUI builder

2024-02-22 Thread Michael Bien
Hi, not everything has to use GroupLayout. Since you already have three tables in a JPanel, you can let that JPanel use any other layout manager which you prefer for the usercase. And yes, you could also write the code for the panel with the tables in it by hand if that is easier and still

Re: where have the stream inline hints gone?

2024-02-21 Thread Michael Bien
they have a hotkey now, see: "view -> Show inline Hints". under "options -> editor -> inline hints" you can configure what exactly is toggled on/off. -mbien On 21.02.24 12:59, Pieter van den Hombergh wrote: Gone with the wind? In some earlier netbeans version you could type things like    

Re: NetBeans 19 Performance Issues

2024-02-13 Thread Michael Bien
Hi Blaine, ~260 classes shouldn't cause any performance problems (I assume java classes or is this PHP?). I actually just opened all netbeans modules so that I can run some project wide cleanups, and that would be ~450 projects i think. I haven't timed it but it usually takes about 5mins of

Re: Apache NetBeans 20 released - Java Versions

2023-12-21 Thread Michael Bien
On 21.12.23 13:01, Judi Rastall wrote: One small niggle remains: when I start NB20, it complains it cannot find JDK8 and can it use the default. I click 'yes' and all is well. I have found how to point NB to JDK21 at project level but I cannot find a way to switch this at global level. Is

Re: GenAI for Netbeans

2023-12-21 Thread Michael Bien
On 20.12.23 21:01, Greenberg, Gary wrote: Are there any attempts to add GenAi, Github Copilot or ChatGPT to Netbeans? a NB ChatGPT plugin would be here: https://github.com/Hillrunner2008/netbeans-chatgpt don't know about any other plugin in that area (which doesn't mean they don't exist

Re: Apache NetBeans 20 released - Java Versions

2023-12-20 Thread Michael Bien
site. Cheers, Steve On 18 Dec 2023, at 19:04, Michael Bien wrote: On 18.12.23 18:22, Judi Rastall wrote: I go to my Java installation (which says it is Java v8 update 391), click on check for updates, and it tells me I have the latest version. java isn't going to

Re: [ANNOUNCE] Apache NetBeans 20 released

2023-12-18 Thread Michael Bien
On 18.12.23 18:22, Judi Rastall wrote: I go to my Java installation (which says it is Java v8 update 391), click on check for updates, and it tells me I have the latest version. java isn't going to update to the next major version on windows. I don't think the newer JDKs have even an updater

Re: Is there documentation for migrating projects from a previous version of NetBeans to NetBeans 20?

2023-12-15 Thread Michael Bien
Hi, NB 20 (you are using NB 10?!) has the jakarta transformer integrated which might assist somewhat with the migration: https://github.com/apache/netbeans/pull/5847 but if your project is still at J2EE 1.5 level, this certainly won't be possible in one step. It might be best to migrate it

Re: Cloned and floated window not behaving

2023-12-06 Thread Michael Bien
On 06.12.23 21:06, Ernie Rael wrote: > N views at once make that even more interesting. There are certainly ways > to improve this but I don't think there is a single/obvious way how it should > behave - it is somewhat context dependent. I can't think of a use case where you want a

Re: Adjusting to monitor resolution

2023-12-06 Thread Michael Bien
you can overwrite the logic with flags, in your case the easiest solution is probably to create two shortcuts for NetBeans, one which opens an instance which is meant to work on your large screen, and one which is meant to work on your lower res screen. netbeans --fontsize 16 changes just

Re: Cloned and floated window not behaving

2023-12-06 Thread Michael Bien
Hi Mitch, depends. This is a hard problem to solve, since it might be the right behavior in some cases, but not in others. example: ctrl-z will move the view to the change, in some situations this is very useful and exactly what is expected from the IDE, in other cases (e.g reverting

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

2023-12-05 Thread Michael Bien
On 06.12.23 00:32, Owen Thomas wrote: This matrix is just doing my head in, because all I can gather from the page disclosed is a mechanism - I don't understand why the mechanism needs to exist in the first place. because gradle uses kotlin and groovy as the config file format language,

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 02:20,

NB embedded tomcat, was: Re: Slack?

2023-12-03 Thread Michael Bien
the internal web server you can see listed in the services window is used for NetBeans internal features. For example for serving local javadoc when you open it in a browser. It is a cached tomcat instance essentially. https://github.com/apache/netbeans/pull/5530 also please use an

Re: [platform] RELEASE200

2023-11-27 Thread Michael Bien
you are probably experiencing this issue: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/122/ (NB 20 is also not released yet, the staged repositories are not permanent) regards, -mbien On 25.11.23 07:58, Patrik Karlström wrote: So I'm testing my maven platform

Re: Netbeans with Bookworm

2023-11-08 Thread Michael Bien
On 08.11.23 14:59, Neil C Smith wrote: On Wed, 8 Nov 2023 at 13:34, Phil L wrote: Is there a version of NB that runs in Bookworm? I'm thinking of a new Pi5, but it only runs Bookworm and other IDE's do not run in Bookworm. 32bit or 64bit? as sidenote: raspis can run 64bit OSes. My old

Re: Two finger swipe left - right makes editor go wild

2023-10-28 Thread Michael Bien
On 28.10.23 14:09, Laszlo Kishalmi wrote: On 10/28/23 04:52, Neil C Smith wrote: On Sat, 28 Oct 2023, 12:29 Neil C Smith, wrote: On Sat, 28 Oct 2023, 11:59 Laszlo Kishalmi, wrote: It would be good if somebody could test the Mouse Button layouts on

Re: Git hub master branch

2023-10-14 Thread Michael Bien
. On Sat, 2 Sept 2023 at 22:02, Michael Bien wrote: Hi, the initial branch name seems to be hard coded atm: https://github.com/apache/netbeans/blob/0322fce7c3f5c9335f2bcb00e5751de81fdb7ffb/ide/git/src/org/netbeans/modules/git/api/Git.java#L108 Better behavior would be to read out

Re: [**EXTERNAL**] Re: Apache NetBeans and Apache Struts 1?

2023-10-10 Thread Michael Bien
Hi Dill, without looking into it, its likely lib wrapper modules for ant projects, so that ant projects can depend on libs without having to setup repositories. Those wrappers can be also updated or replaced by the user and work like a local repository. (you can see the list via tools ->

NetBeans sample repo, was: JavaSE Deployment Tutorial Sample Code replacement

2023-09-09 Thread Michael Bien
Hi Stroud, I think the NetBeans project will need a git repo for sample code sooner or later. I cc this to the dev list, this might be something we can set up. best regards, michael On 09.09.23 20:30, Stroud Custer wrote: I put together a replacement for the sample code that is missing

Re: Git hub master branch

2023-09-02 Thread Michael Bien
Hi, the initial branch name seems to be hard coded atm: https://github.com/apache/netbeans/blob/0322fce7c3f5c9335f2bcb00e5751de81fdb7ffb/ide/git/src/org/netbeans/modules/git/api/Git.java#L108 Better behavior would be to read out the 'init.defaultBranch' git property and use it if it was set.

Re: Static Code Analysis Tutorial Review - FindBugs plugin not available

2023-08-27 Thread Michael Bien
Hi Stroud, the last pieces of FindBugs support were removed in NetBeans 13 (#3455) since it caused issues back then and wasn't maintained. FindBugs project itself is also EOL and got replaced by SpotBugs as already mentioned. The tutorial is out of date. Currently, NetBeans supports the

Re: externalOwners.properties

2023-08-18 Thread Michael Bien
On 18.08.23 19:31, Tilman Hausherr wrote: I found it thanks to a level zero answer (now 1): https://stackoverflow.com/a/73962585/535646 the file was at C:\Users\\AppData\Roaming\NetBeans\18\config\Preferences\org\netbeans\modules\maven\externalOwners.properties and also at

Re: externalOwners.properties

2023-08-18 Thread Michael Bien
Hi Tilman, this happens only on windows and indicates corrupted configuration files. It is not clear what the cause for the corruption is, but we added some mitigations to NetBeans 19 which should make it hopefully a bit more robust if the corruption is already there. you can read more

Re: Unused Element in Unit Tests

2023-08-09 Thread Michael Bien
https://github.com/apache/netbeans/pull/6277 should be in NB 20. -mbien On 09.08.23 17:48, Ulrich Mayring wrote: Netbeans generates an "Unused Element" hint in the sidebar and a wavy underline in the editor if I define a variable or method that goes unused. This is a very useful feature, but

Re: Sorting imports during "Fix Imports"?

2023-08-01 Thread Michael Bien
Hi Thomas, there are two actions: fix imports and organize imports I think fix imports will only try to make it compile, while organize imports is doing the sorting/formatting you are asking for. Regarding inserting new imports at the right place: I don't know tbh, could be potentially a

Re: Presentation and question about Local history

2023-06-28 Thread Michael Bien
-mbien On 28.06.23 14:14, David Baldo wrote: Hi again Michel, I tried to have a fresh install of nb17, and the toolbar magically appeared again. I never see exception logs. Thanks for your help. David. Il giorno mer 28 giu 2023 alle ore 13:46 Michael Bien ha scritto: Hi David

Re: Presentation and question about Local history

2023-06-28 Thread Michael Bien
a way to show it again. I'm not sure if the Source/History buttons were part of a plugin. Thanks again, David. Il giorno ven 23 giu 2023 alle ore 13:38 Michael Bien ha scritto: Hi David, what local history buttons are we talking about? File history should be available from within

Re: Apache NetBeans swag ready on the RedBubble storefront!

2023-06-28 Thread Michael Bien
great work, I esp like the first motive! -mbien On 26.06.23 01:58, Pyro MX wrote: Good day NetBeans users and devs, I am very pleased to announce that the NetBeans swag is now available on the ASF's RedBubble store front! Before I put the links however, I need to say this: Many many

Re: Presentation and question about Local history

2023-06-23 Thread Michael Bien
Hi David, what local history buttons are we talking about? File history should be available from within the editor tab where you can switch between source/history - some file types have more views. Right click context menu history -> show history should have it too. If it is still not

Re: Distribution of a NB app with a native library ?

2023-05-31 Thread Michael Bien
if this isn't a self contained lib on linux and it can't be easily shipped with your application your best chance is to simply ask the user to install it if your app can't find it. Seems to be a common lib and available in most package managers.

Re: Broken link in the comments of netbeans.conf

2023-05-25 Thread Michael Bien
this could potentially link to: https://github.com/apache/netbeans/#log-config-and-cache-locations -mbien On 25.05.23 17:33, Eric Barboni wrote: Thanks for reporting that. I guess there are a lot more of this old content not migrated to new page. Will try to make a PR out of that. Eric

Re: Log4J Critical Vulnerability issues in Apache NetBeans 17

2023-05-08 Thread Michael Bien
lets remove the security list from this conversation to not cause noise. release schedule is here: https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule -mbien On 09.05.23 07:44, Harshini Madurapperuma wrote: Thanks a lot for the reply

Re: How to run a program in Netbeans 17 with the -D option

2023-04-23 Thread Michael Bien
Tim, I can imagine you are excited about your program, but can you please stop advertising it on the NetBeans mailing lists? every single mail from you attempts to convince people to download it from your page. this is not a platform for advertisements. -mbien On 22.04.23 05:31, Tim de

Re: java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible:

2023-04-13 Thread Michael Bien
you are essentially running into this: https://cwiki.apache.org/confluence/display/NETBEANS/Java+Module+System+and+NetBeans+Platform+Applications -mbien On 13.04.23 20:23, ingrosariocirr...@libero.it.INVALID wrote: I upgraded my app from NB12 (java version 8) toNB17 (java version 20) Build and

Re: Maven indexing

2023-03-14 Thread Michael Bien
, a spindle of DVD's? Tim On 2023-03-14 7:20 p.m., Michael Bien wrote: On 14.03.23 13:29, Emma Atkinson wrote: I gave up on Maven a couple of years ago for the reasons already given.  No matter what size partition I used it would be too small within a year or so.  I used to grab the dependencies I

Re: Maven indexing

2023-03-14 Thread Michael Bien
On 14.03.23 13:29, Emma Atkinson wrote: I gave up on Maven a couple of years ago for the reasons already given.  No matter what size partition I used it would be too small within a year or so.  I used to grab the dependencies I needed and switched off the Maven Index download in NB. if your

Re: Maven indexing

2023-03-14 Thread Michael Bien
On 14.03.23 18:17, Neil C Smith wrote: On Tue, 14 Mar 2023 at 17:01, László Kishalmi wrote: Also one day the Gradle plugin may be smart enough to use that Maven index for its own good. Like offering a dependency to add when you add an import statement for a class... That would be great. I

Re: Maven indexing

2023-03-11 Thread Michael Bien
https://github.com/apache/netbeans/pull/5655 On 11.03.23 22:05, Glenn Holmer wrote: On 3/11/23 14:43, Michael Bien wrote: We could however, potentially tell maven-indexer to use a sub folder of tmp and clean that folder on IOException - just to be sure - as second fallback. i'll take a look

Re: Maven indexing

2023-03-11 Thread Michael Bien
On 11.03.23 17:29, Glenn Holmer wrote: On 3/9/23 23:52, Michael Bien wrote: Hi Glenn, the index is downloaded to tmp in compressed form and then imported into a lucene index which should be in the netbeans cache folder (about 1.9GB). The cache location can be changed via the regular

Re: Maven indexing

2023-03-09 Thread Michael Bien
Hi Glenn, the index is downloaded to tmp in compressed form and then imported into a lucene index which should be in the netbeans cache folder (about 1.9GB). The cache location can be changed via the regular netbeans_default_cachedir property (netbeans.conf or CLI flag). All temp files

Re: Netbeans 17 vertical alignment of rows

2023-03-07 Thread Michael Bien
Hi Andreas, first as a note: NB requires JDK 11 or later as runtime as you can see on the download page (and readme etc). NB 17 specifically was tested on 11, 17 and 19. NB 18 will support running on JDK 20 too. (update that first) But this might not fix this issue. I never saw that

Re: Netbeans platform project compiling with JDK 17

2023-02-19 Thread Michael Bien
Hi Toni, there was a thread about this a few days ago on the dev list: https://lists.apache.org/thread/djoy8qmoy6y0tt8314olbp6jj2y72639 short version:  yes, you are going to need those flags. The IDE itself uses the following flags:

Re: Broken links in output window with mvnd build

2023-02-16 Thread Michael Bien
wouldn't surprise me if the cause is indeed it being a multi-pom project. I don't think I tested that. At least NB 17 will have a working output window for *some* mvnd use cases, links didn't work at all in NB 16 due to the differences in formatting between maven and mvnd. there is always

Re: Broken links in output window with mvnd build

2023-02-15 Thread Michael Bien
yeah file an issue please with some example to reproduce it if possible this was supposed to fix this problem: https://github.com/apache/netbeans/pull/5099 does it help if you toggle "print maven output logging level" in the maven settings? -mbien On 15.02.23 21:14, Alexander Kronenwett

Re: How To Add a Custom Bug Report Feature to ErrorManager or Exceptions

2023-02-13 Thread Michael Bien
this sounds like your project was still configured to use JDK 11 while you tried to bump the language level (?). JDK version has to be >= language level, which is just a compiler setting (e.g --release=17 won't work on JDK 11 since it doesn't have the API and the compiler for that). best

Re: Payara 6 Plugin

2023-02-09 Thread Michael Bien
Hi Mike, On 09.02.23 14:04, Mike Ryan wrote: Hello, Does anyone know when a Payara 6 Jakarat EE 10 plugin will be available in NetBeans? Thanks, Mike not sure what you mean by Jakarta EE 10 plugin, but NB 17 will have better support for Jakarta EE. You can test it in 17rc3 if you like.

Re: Python development with NB

2023-01-31 Thread Michael Bien
On 30.01.23 21:46, Greenberg, Gary wrote: I already asked this question some time ago, but didn’t get any clear answers. No, NetBeans does not support Python at the moment. -mbien

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

2023-01-22 Thread Michael Bien
btw good that you brought this up since I found a UI bug while trying to reproduce the issue you encountered. https://github.com/apache/netbeans/pull/5343 best regards, michael On 22.01.23 15:49, Emma Atkinson wrote: Hello I'm using NB IDE 16 on UbuntuStudio and I have a minor problem with a

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

2023-01-22 Thread Michael Bien
what look and feel are you using for NetBeans? Did you change the default? the white items shouldn't be white, those should be "grayed out" to make the other versions stick out more. Red means no longer supported. -mbien On 22.01.23 15:49, Emma Atkinson wrote: Hello I'm using NB IDE 16 on

Re: --boot-classpath errors in NB 16

2023-01-14 Thread Michael Bien
On 14.01.23 16:55, Frank Griffin wrote: On 1/14/23 02:22, Mark Eggers wrote: Frank, That's a very old version of the maven-compiler-plugin. From version 3.6 of the compiler plugin, you can use the maven.compiler.release property, which sets the JDK >=9 --release option. So the

Re: Embedded Language Question

2023-01-08 Thread Michael Bien
this might be of interest for some here: https://github.com/apache/netbeans/pull/4885 dependent on the usecase this might be a quick && elegant way to embed other languages. -mbien On 08.01.23 21:59, Oliver Rettig wrote: Hi, I am also interested in such functionality to put code written in

Re: Python development

2023-01-05 Thread Michael Bien
Tim Boudreau has a mavenized copy of the old contrib cluster https://github.com/timboudreau/netbeans-contrib which includes the python modules which are known as nbPython I believe. I don't know how much of this still works or what the license situation is - I just know that it exists :)

Re: Old Problem - Pack200 - Compiling Netbeans Platform

2023-01-03 Thread Michael Bien
On 03.01.23 15:13, ad...@netcrystals.at.INVALID wrote: Hello, this may be an old problem and I already tried to find a solution in the internet but couldn’t find a usefull hint. After years I decided to continue my Netbeans project. In the meantime, the Pack200 Program from java.util seems

Re: Stack Trace hyperlinks no longer working in NetBeans

2022-12-13 Thread Michael Bien
like https://github.com/apache/netbeans/issues/4516 is what I’m experiencing.   My code gets compiled and placed into my local maven cache and run from there. Mark On Dec 12, 2022, at 3:09 AM, Michael Bien wrote: I suppose your project uses the java module system and maven? Is the link

Re: Stack Trace hyperlinks no longer working in NetBeans

2022-12-12 Thread Michael Bien
I suppose your project uses the java module system and maven? Is the link you are clicking on pointing to your code or third party deps? sounds like: https://github.com/apache/netbeans/issues/4516 regards, -mbien On 12.12.22 01:27, Mark J Koch wrote: Also grabbed the latest Open Java v19

Re: [java] Netbeans 16 platforms

2022-12-11 Thread Michael Bien
ows PC was defaulted to JDK17 (due to the switch to NB16) while the one on my Raspberry Pi was/is set to JDK11.  Changing the JDK for my Netbeans project on my Windows machine to JDK11 was in the end solving the issue. Best rgds, -- Geert On 2022/12/10 16:31:42 Michael Bien wrote: > how did

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: NetBeans release notes?

2022-12-08 Thread Michael Bien
On 07.12.22 22:08, Fred Welland wrote: an interesting surprise I don't know if this is the official release notes, but this has some info on it: https://github.com/apache/netbeans/releases/tag/16 yep, those notes are the official ones. On Wed, Dec 7, 2022 at 3:00 PM Thad Humphries

Re: What happened with Netbeans bug reporting?

2022-12-07 Thread Michael Bien
the most important part of an issue report is a minimal reproducer or steps how to reproduce the issue. Since the main user base of an IDE are devs, it is often possible to get good quality submissions in some cases. It is really difficult to automate this. Telemetry can do only so much and

Re: NetBeans `Convert to for (Iterator...) {}' suggestion

2022-11-28 Thread Michael Bien
Hi John, suggestions which are only active at the current line where your cursor is, don't necessary produce better code, they are just there to transform parts of it in case you want to change something. Internally they are hints of a kind called actions. The doc describes it well: "The

Re: Search for maven dependency

2022-11-10 Thread Michael Bien
late reply but: the maven central index does not contain class names anymore. So you will only see results there once you have the artifact in your local .m2 repository since NetBeans indexes that one too. so once you press build you will see results, since it downloads the dependencies

Re: Clicking on stack trace in output window

2022-11-08 Thread Michael Bien
Hi Will, is this from the output window or the "Analyze Stack" window? in any case.. would be good to file a bug report since this sounds like a bug. best regards, michael On 08.11.22 23:04, Will Hartung wrote: It seems that when developing code using the Java module system (i.e. using a

Re: Font too small

2022-10-31 Thread Michael Bien
ans script and scroll down) main challenge would be to detect when this is needed and when not. I suppose this isn't something to enable by default on linux. -mbien Thank you. On 31/10/2022 14:33, Michael Bien wrote: interesting. Since it was filed against JDK 11.0.5 which was a few u

Re: Font too small

2022-10-31 Thread Michael Bien
interesting. Since it was filed against JDK 11.0.5 which was a few updates ago. Was it not fixed/backported since then? A lot of those linked JDK bugs are marked resolved. -mbien On 31.10.22 07:58, negora wrote: Besides editing the "$NETBEANS_HOME/etc/netbeans.conf" file (to add the

Re: jre version issues

2022-10-26 Thread Michael Bien
oh. This sounds like you installed both, a 32bit and a 64bit JVM. Since windows keeps them separated in those two folders. java -version should show what is what in case of doubt. with JNI you have to be extra careful when the architecture changes. best regards, michael On 26.10.22 18:06,

Re: registering latest Payara

2022-10-01 Thread Michael Bien
Hi Glenn, there is a PR in the queue which is fixing this: https://github.com/apache/netbeans/pull/4695 saw many Jakarta EE related PRs recently targeted for NB 16. best regards, michael On 01.10.22 22:06, Glenn Holmer wrote: I haven't done much EE programming since I retired, but want to

Re: Unpacking the index for central repository is very long

2022-09-19 Thread Michael Bien
On 17.09.22 15:36, Neil C Smith wrote: On Thu, 15 Sept 2022 at 19:38, Michael Bien wrote: If IDEs provide functionality which uses data which is not available in your local maven repository they gonna have to use a web service or cache things just like netbeans does. There are pros and cons

Re: Unpacking the index for central repository is very long

2022-09-15 Thread Michael Bien
ien Best regards, Richard Le 15/09/2022 à 03:14, Michael Bien a écrit : Hi, 2h is indeed long. Last time i measured it was about 20mins on my workstation which is about 6 years old by now. Would be interesting to try to figure out what causes the such big difference. Was the download its

Re: NetBeans 14/15 not scanning for external changes on Mac

2022-09-14 Thread Michael Bien
On 07.09.22 23:33, Ludvík Michálek wrote: Update: I found the cause of the issue, finally (thanks Stan). 1) I've created a git repository where I saved "default" preferences created by fresh install of NB nice! i used to do that too for my whole etc folder once to debug OS issues. 2) next,

Re: Unpacking the index for central repository is very long

2022-09-14 Thread Michael Bien
Hi, 2h is indeed long. Last time i measured it was about 20mins on my workstation which is about 6 years old by now. Would be interesting to try to figure out what causes the such big difference. Was the download itself slow? This can happen of course due to outside factors. The good

Re: Simple navigation question

2022-08-18 Thread Michael Bien
ctrl+shift+1 opens/selects the file in the Projects window. 2 for Files, 3 for Favorites. On 18.08.22 21:37, Blake McBride wrote: Greetings, I am using NetBeans 14.  I have a simple navigation question (in Java). Let's say I have many classes in a package hierarchy.  I am editing a

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

2022-08-12 Thread Michael Bien
Hi Mike, when declaring the plugin you added the group ID of your project. This is not correct. GroupID + ArtifactID are the coordinates of a maven artifact, they belong together. The specific plugin you are using is a default plugin, so you don't have to declare the groupID, (but you can

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 the

Re: NB 14 IDE freezes on popup menu in Swing Navigator

2022-07-21 Thread Michael Bien
you and NB dev team! On Wednesday, July 20, 2022 at 10:41:03 PM GMT+3, Michael Bien wrote: On 20.07.22 21:20, Mike Hallan wrote: I'm using NB 14 and I've tried running the IDE on JDK 11 and 18, both from Adoptium, on Win 10. I've found that very often the IDE will freeze if in the Swing Na

Re: NB 14 IDE freezes on popup menu in Swing Navigator

2022-07-20 Thread Michael Bien
On 20.07.22 21:20, Mike Hallan wrote: I'm using NB 14 and I've tried running the IDE on JDK 11 and 18, both from Adoptium, on Win 10. I've found that very often the IDE will freeze if in the Swing Navigator, I select a component eg.a JPanel, then right-click on it and move the mouse over to

Re: Java Platform Javadoc

2022-07-11 Thread Michael Bien
Hi, On 11.07.22 06:56, Bradley Willcott wrote: Hi there. I am sure someone has asked this before, but I haven't found such as yet. How do I set-up NB 14 to access the online Javadocs for each JDK? I have every version since 1.5 installed. Whilst the older ones work fine, the newer ones don't.

Re: [IDE Font Size] in Netbeans 14

2022-06-29 Thread Michael Bien
something must be wrong with your netbeans_default_options list since this exception would happen if some of the module config flags are missing. you can simply launch netbeans with the font option bin/netbeans --fontsize 20 regards, michael On 29.06.22 23:35, Ing Sergio Basurto J. wrote:

Re: FlatLAF on NB 14

2022-06-28 Thread Michael Bien
awesome! thanks for posting how you solved it, since this is often not done these days. -mbien On 28.06.22 20:32, Mike Hallan wrote: Got it working. Don't do step 3) that I described because adding the dependencies as per step 4) will already include the relevant classes. On Monday,

Re: Beans Binding

2022-06-05 Thread Michael Bien
Hi Bill, keep in mind that JSR-295 is inactive. There haven't been any bugfix releases of beansbinding in over a decade. The last attempt I am aware of keeping beans binding alive was from Fabrizio Giudici in form of betterbeansbinding* unless you are maintaining an old project, I would

Re: setting default Java platform

2022-06-03 Thread Michael Bien
On 03.06.22 18:53, Glenn Holmer wrote: On 6/3/22 09:12, Michael Bien wrote: the default platform is the JDK NB is running on. If you don't define any platform that is what NB is going to use. I suppose NB could allow setting a different platform as default, but it can't do that atm, since

Re: setting default Java platform

2022-06-03 Thread Michael Bien
Hi Glen, the default platform is the JDK NB is running on. If you don't define any platform that is what NB is going to use. I suppose NB could allow setting a different platform as default, but it can't do that atm, since default means "runtime". changing it right now would require to set

  1   2   >