Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Laszlo Kishalmi
NetBeans installer asks where to look for the JVM during the install. Or you could use the Snap package, for the most carefree installation on Ubuntu (and other Linuxes as well) sudo snap install netbeans --classic On 12/26/20 9:04 AM, Bayless Kirtley wrote: This is how Netbeans installed by

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley
Looks like I am running open jdk 11 rather than 14 On 12/26/20 7:40 AM, Geertjan Wielenga wrote: Strange. Well, if it works, there’s no problem that needs to be fixed. Gj On Sat, 26 Dec 2020 at 14:39, Bayless Kirtley > wrote: No. On 12/26/20 7:37 AM, Geertja

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Geertjan Wielenga
Strange. Well, if it works, there’s no problem that needs to be fixed. Gj On Sat, 26 Dec 2020 at 14:39, Bayless Kirtley wrote: > No. > > > On 12/26/20 7:37 AM, Geertjan Wielenga wrote: > > Is there another character at the start of that line? > > Gj > > On Sat, 26 Dec 2020 at 14:35, Bayless Kir

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley
No. On 12/26/20 7:37 AM, Geertjan Wielenga wrote: Is there another character at the start of that line? Gj On Sat, 26 Dec 2020 at 14:35, Bayless Kirtley > wrote: That's very interesting. I just checked my netbeans.conf file and it shows netbeans_jdkhome="/

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Geertjan Wielenga
Is there another character at the start of that line? Gj On Sat, 26 Dec 2020 at 14:35, Bayless Kirtley wrote: > That's very interesting. I just checked my netbeans.conf file and it shows > > netbeans_jdkhome="/usr" > > I am running Netbeans 12.0 on Mint 20.0 and I don't have any problems with >

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley
That's very interesting. I just checked my netbeans.conf file and it shows netbeans_jdkhome="/usr" I am running Netbeans 12.0 on Mint 20.0 and I don't have any problems with it. Bayless On 12/26/20 3:18 AM, Owen Thomas wrote: No. Now that you mention it, the value doesn't seem reasonable to

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Owen Thomas
No. Now that you mention it, the value doesn't seem reasonable to me either. So, I changed it to /usr/lib/jvm/java-14-openjdk-amd64 and the problems go away. Thanks Geertjan - hopefully that's the end of that. I'm sure I just downloaded and installed NetBeans without thinking too hard, so I don't

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Geertjan Wielenga
netbeans_jdkhome="/usr" That's what I see in your file above and that can't be right, can it? Gj On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas wrote: > Sure Geertjan, here is netbeans.conf from ~/netbeans-12.2/netbeans/etc > which is the default directory in which NetBeans was installed. > > On

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-25 Thread Owen Thomas
Sure Geertjan, here is netbeans.conf from ~/netbeans-12.2/netbeans/etc which is the default directory in which NetBeans was installed. On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Can you send your netbeans.conf file here so we can see what is in th

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-25 Thread Geertjan Wielenga
Can you send your netbeans.conf file here so we can see what is in there? Gj On Sat, 26 Dec 2020 at 06:10, Owen Thomas wrote: > On Mon, 30 Nov 2020 at 19:32, Peter Hull wrote: > >> I would check: >> 1. Does your Java platform setup look reasonable? (in Tools | Java >> Platforms ) >> 2. Does th

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-25 Thread Owen Thomas
On Mon, 30 Nov 2020 at 19:32, Peter Hull wrote: > I would check: > 1. Does your Java platform setup look reasonable? (in Tools | Java > Platforms ) > 2. Does this error occur for a new project or just existing ones? (e.g. > set up a new "Java with Ant" application) > I think I've seen something l

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-30 Thread Peter Hull
I would check: 1. Does your Java platform setup look reasonable? (in Tools | Java Platforms ) 2. Does this error occur for a new project or just existing ones? (e.g. set up a new "Java with Ant" application) I think I've seen something like this before and it was down to the Java platform configura

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-29 Thread Geertjan Wielenga
Most applicable is this: what must someone do to see the problem, please? Gj On Sun, 29 Nov 2020 at 10:52, Owen Thomas wrote: > Which log files are applicable? > > On Sun, 29 Nov 2020 at 20:51, Owen Thomas > wrote: > >> Yes, my apologies Geertjan. It's Ubuntu 20.04.1. >> >> On Sun, 29 Nov 2020

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-29 Thread Owen Thomas
Which log files are applicable? On Sun, 29 Nov 2020 at 20:51, Owen Thomas wrote: > Yes, my apologies Geertjan. It's Ubuntu 20.04.1. > > On Sun, 29 Nov 2020 at 19:53, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> What is the operating system on the new laptop you have acquir

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-29 Thread Owen Thomas
Yes, my apologies Geertjan. It's Ubuntu 20.04.1. On Sun, 29 Nov 2020 at 19:53, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > What is the operating system on the new laptop you have acquired? > > Can you include that information every time you write to this mailing list? > > Gj >

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-29 Thread Geertjan Wielenga
What is the operating system on the new laptop you have acquired? Can you include that information every time you write to this mailing list? Gj On Sun, 29 Nov 2020 at 08:18, Owen Thomas wrote: > When removing NetBeans 12 prior to reinstallation. I find a folder in my > home folder called .nbi

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-28 Thread Owen Thomas
When removing NetBeans 12 prior to reinstallation. I find a folder in my home folder called .nbi. This looks like something NetBeans created, so I removed it too. After reinstallation, and noting that the .nbi folder had appeared as expected, I started NetBeans and found no change. NetBeans is sti

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-28 Thread Owen Thomas
I actually installed Open JDK 11 because version 12 doesn't exist. I didn't do anything to my NetBeans install... perhaps I'll reinstall it again... I've observed no change, and I have no idea. Help appreciated. On Sun, 29 Nov 2020 at 16:48, Owen Thomas wrote: > I did find something on Stack Ov

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-28 Thread Owen Thomas
I did find something on Stack Overflow about using a JDK that is later than the installed version of NetBeans. I have installed OpenJDK 14. I think this advice is dubious,

Netbeans 12.1: Cannot access java.lang?

2020-11-28 Thread Owen Thomas
Hello. I've just installed 12.1 on a new computer I have acquired. When I restart NetBeans after deleting my cache, I get the attached error telling me the IDE cannot find java.lang. I have no idea why this error is appearing, and would appreciate some advice. Thanks in advance for your help.

Re: What happened to "Enable Annotation Processing in Editor" in Apache Netbeans 12.1?

2020-11-20 Thread Laszlo Kishalmi
Well, something went south. It is fixed in 12.2 though. On 11/20/20 7:18 PM, Mark A. Flacy wrote: Greetings, Not so many moons ago, you could configure Netbeans to use Project Lombok. Despite https://netbeans.apache.org/kb/docs/java/annotations-lombok.html, there is no way to allow annot

What happened to "Enable Annotation Processing in Editor" in Apache Netbeans 12.1?

2020-11-20 Thread Mark A. Flacy
Greetings, Not so many moons ago, you could configure Netbeans to use Project Lombok. Despite https://netbeans.apache.org/kb/docs/java/annotations-lombok.html[1], there is no way to allow annotation processing in the editor. I would really like to be proven wrong. I have a gradle project at wo

Re: Error? Netbeans QuickStart Java Project on Netbeans 12.1 Tutorial

2020-11-15 Thread Geertjan Wielenga
Can you be a lot more specific and provide a link to the tutorial you are referring to? And the exact error you are getting? Gj On Sun, 15 Nov 2020 at 20:39, Iatros55 wrote: > I cannot get this program to work. I keep getting an error trying to > compile MyApp and MyLib. I suspect the problem

Error? Netbeans QuickStart Java Project on Netbeans 12.1 Tutorial

2020-11-15 Thread Iatros55
I cannot get this program to work.  I keep getting an error trying to compile MyApp and MyLib.  I suspect the problem is a change in the path of the files.  Several posts point to changes in netbeans.conf.  I cannot find netbeans.conf on my Mac Pro anywhere, and the Search app cannot find it e

Re: JDK 15: Netbeans 12.1 thinks text blocks are still preview

2020-11-11 Thread Chad Preisler
che.org/mod_mbox/netbeans-dev/202011.mbox/%3cfc423e41-bd3c-e7be-0d26-a4741f6b2...@gmail.com%3E > > Gj > > On Wed, 11 Nov 2020 at 23:00, Chad Preisler wrote: > > > Netbeans 12.1 appears to still think text blocks are still a preview > > feature while using JDK 15. I wanted to

Re: JDK 15: Netbeans 12.1 thinks text blocks are still preview

2020-11-11 Thread Geertjan Wielenga
...@gmail.com%3E Gj On Wed, 11 Nov 2020 at 23:00, Chad Preisler wrote: > Netbeans 12.1 appears to still think text blocks are still a preview > feature while using JDK 15. I wanted to get this on your radar. Is there > any way to make the IDE see the text block as valid without preview tu

JDK 15: Netbeans 12.1 thinks text blocks are still preview

2020-11-11 Thread Chad Preisler
Netbeans 12.1 appears to still think text blocks are still a preview feature while using JDK 15. I wanted to get this on your radar. Is there any way to make the IDE see the text block as valid without preview turned on? I'm using a maven project and the project compiles fine without pr

NetBeans 12.1

2020-09-17 Thread Leo Donahue
My first observation is fantastic work everyone! Downloaded NetBeans-12.1-bin.zip Running on Windows 10 Pro 1903 Java(TM) SE Runtime Environment (build 1.8.0_241-b07) Tool/Options/Java/Java Debugger downloaded and activated java and nb-javac without an issue. I downloaded wildfly-20.0.1

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
] From: Bradley Willcott Sent: Sunday, August 30, 2020 9:03 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 Have you checked this? Tools>Options>Java>Maven>Index: "Completely disable indexing". The Visa security may have turned this on.

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Bradley Willcott
e...@visa.com <mailto:ggree...@visa.com> > > M: 650-269-7902 > > EmailSig-TaglineVersion > > *From:*Geertjan Wielenga <mailto:geert...@apache.org>> > *Sent:* Sunday, August 30, 2020 2:50 PM > *To:* Greenberg, Gary <mailto:ggree...@visa.com.invalid>> > *

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread HRH
; > Gary Greenberg > > Staff Software Engineer > > Data Product Development, BI-A > > E: ggree...@visa.com > > M: 650-269-7902 > > EmailSig-TaglineVersion > > *From:*Geertjan Wielenga > *Sent:* Sunday, August 30, 2020 2:50 PM > *To:* Greenberg, Gary > *Cc:*

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Ernie Rael
EmailSig-TaglineVersion *From:*Geertjan Wielenga *Sent:* Sunday, August 30, 2020 2:50 PM *To:* Greenberg, Gary *Cc:* users@netbeans.apache.org *Subject:* Re: Try out and vote for Apache NetBeans 12.1 You must have an .m2 folder somewhere, delete it. NetBeans might not be using the latest M

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
ent, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Sunday, August 30, 2020 2:50 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 You must have an .m2 folder somewhere, delete it. NetBe

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Geertjan Wielenga
ftware Engineer > > > Data Product Development, BI-A > > > E: ggree...@visa.com > > > M: 650-269-7902 > > > > > > [image: EmailSig-TaglineVersion] > > > > > > *From:* Geertjan Wielenga > > > > > *Sent:* Sunday, August 30, 20

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
, August 30, 2020 2:14 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 Well, sounds like something is wrong with your Maven installation. I recommend you uninstall, remove the .m2 folder, and set up Maven again completely from scratch. Gj

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Geertjan Wielenga
Well, sounds like something is wrong with your Maven installation. I recommend you uninstall, remove the .m2 folder, and set up Maven again completely from scratch. Gj On Sun, Aug 30, 2020 at 11:05 PM Greenberg, Gary wrote: > I found out what was wrong with it. > Apparently security update remo

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
I found out what was wrong with it. Apparently security update removed almost half of jars in JDK1.8 (my project is using this platform). Why did it do so, I do not know. Anyway, I reinstalled Java 8 JDK (and upgraded from build 251 to 265 along the way). Hanging and problems with opening files d

Re: Try out and vote for Apache NetBeans 12.1

2020-08-29 Thread aristides villarreal
nie Rael > Sent: Friday, August 28, 2020 8:49 PM > To: users@netbeans.apache.org > Subject: Re: Try out and vote for Apache NetBeans 12.1 > > So the > > java.lang.AssertionError cannot be found on the bootclasspath: > ... Changing source level to 1.3

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Ernie Rael Sent: Friday, August 28, 2020 8:49 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 So the java.lang.AssertionError cannot be

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Ernie Rael
for Apache NetBeans 12.1 On 8/28/2020 5:57 PM, Greenberg, Gary wrote: I did try it before it hangs and still no thread dump. So you're unable to take a thread dump, independent of the hang. I'm on Win7, I got thread dumps with both jdk1.8 and jdk-14. I entered ctrl-break in the w

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
t, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Ernie Rael Sent: Friday, August 28, 2020 6:39 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 On 8/28/2020 5:57 PM, Greenberg, Gary wrote: > I did try it before it hangs a

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Ernie Rael
ree...@visa.com M: 650-269-7902 -Original Message- From: Ernie Rael Sent: Friday, August 28, 2020 5:25 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 The "reflective access" warnings are not unusual. Not being able to get a threa

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
g Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Ernie Rael Sent: Friday, August 28, 2020 5:25 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 The "reflective access" warnings

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Ernie Rael
1:41 PM *Cc:* users@netbeans.apache.org *Subject:* RE: Try out and vote for Apache NetBeans 12.1 No it is just today. Yesterday and before it was OK. Actually, I quit Netbeans and removed userdir and I am back to normal. I.e. can open source files and edit them. Gary Greenberg Staff Software Eng

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
Subject: RE: Try out and vote for Apache NetBeans 12.1 No it is just today. Yesterday and before it was OK. Actually, I quit Netbeans and removed userdir and I am back to normal. I.e. can open source files and edit them. Gary Greenberg Staff Software Engineer Data Product Development, BI-A

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
-TaglineVersion] From: Geertjan Wielenga Sent: Friday, August 28, 2020 1:34 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 You've never been able to open a file in NetBeans before? Gj On Fri, Aug 28, 2020 at 10:31 PM Greenberg, Gary mailto:

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Geertjan Wielenga
n] > > > > *From:* Laszlo Kishalmi > *Sent:* Friday, August 28, 2020 1:06 PM > *To:* users@netbeans.apache.org > *Subject:* Re: Try out and vote for Apache NetBeans 12.1 > > > > Do not use one-drive mapped files it messes up the filesystem operations > NetBeans

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Laszlo Kishalmi Sent: Friday, August 28, 2020 1:06 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 Do not use one-drive mapped files it messes up the filesystem operations NetBeans is trying to

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Laszlo Kishalmi
gt;> *Cc:* neilcsm...@apache.org <mailto:neilcsm...@apache.org> *Subject:* Re: Try out and vote for Apache NetBeans 12.1 Just create your own GitHub repo. Gj On Fri, 28 Aug 2020 at 00:55, Greenberg, Gary

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Geertjan Wielenga
02 > > > > > > [image: EmailSig-TaglineVersion] > > > > > > *From:* Geertjan Wielenga > > > > > *Sent:* Thursday, August 27, 2020 9:30 PM > > > *To:* Greenberg, Gary > > > *Cc:* neilcsm...@apache.org > > > *Subject:* Re

Re: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Geertjan Wielenga
-269-7902 > > > > [image: EmailSig-TaglineVersion] > > > > *From:* Geertjan Wielenga > *Sent:* Thursday, August 27, 2020 10:36 AM > *To:* Greenberg, Gary > *Cc:* Neil C Smith ; NetBeans Mailing List < > users@netbeans.apache.org> > *Subject:* Re: Try out

RE: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Greenberg, Gary
, Gary Cc: Neil C Smith ; NetBeans Mailing List Subject: Re: Try out and vote for Apache NetBeans 12.1 Just tried that, works perfectly. You'll need to put a project that has this problem on GitHub so someone can take a look. Probably not when you say things like "but nobody cared

Re: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Geertjan Wielenga
rg, Gary < > ggree...@visa.com> > Cc: NetBeans Mailing List > Subject: Re: Try out and vote for Apache NetBeans 12.1 > > On Thu, 27 Aug 2020 at 17:42, Geertjan Wielenga > wrote: > > On Thu, Aug 27, 2020 at 6:37 PM Greenberg, Gary > wrote: > >> > >> Looks

Re: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Neil C Smith
On Thu, 27 Aug 2020 at 17:42, Geertjan Wielenga wrote: > On Thu, Aug 27, 2020 at 6:37 PM Greenberg, Gary > wrote: >> >> Looks like Maven dependencies search still won’t work in NB 12.1. >> When it is planned to restore it? > > What does it mean, what are the steps, what is the issue number? Yes

Re: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Geertjan Wielenga
eer > > Data Product Development, BI-A > > E: ggree...@visa.com > > M: 650-269-7902 > > > > [image: EmailSig-TaglineVersion] > > > > *From:* Geertjan Wielenga > *Sent:* Wednesday, August 26, 2020 11:09 PM > *To:* NetBeans Mailing List > *Subj

RE: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Greenberg, Gary
[EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Wednesday, August 26, 2020 11:09 PM To: NetBeans Mailing List Subject: Try out and vote for Apache NetBeans 12.1 Hi all, Over on the dev mailing list, please join in and try out the 12.1 voting candidate and vote: https://lists.apache.org

Re: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Geertjan Wielenga
Geertjan Wielenga >> wrote: >> >>> Hi all, >>> >>> Over on the dev mailing list, please join in and try out the 12.1 voting >>> candidate and vote: >>> >>> >>> https://lists.apache.org/thread.html/r336e05a551f56a5b20

Re: Try out and vote for Apache NetBeans 12.1

2020-08-26 Thread Geertjan Wielenga
ase join in and try out the 12.1 voting >> candidate and vote: >> >> >> https://lists.apache.org/thread.html/r336e05a551f56a5b20dc3070f9ddf470cdd3a166c55272ed128d6c39%40%3Cdev.netbeans.apache.org%3E >> >> Main new enhancements: >> >> https://cwiki.

Re: Try out and vote for Apache NetBeans 12.1

2020-08-26 Thread Owen Thomas
dev.netbeans.apache.org%3E > > Main new enhancements: > > https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+12.1 > > Schedule: > > https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule > > Thanks, > > Gj >

Try out and vote for Apache NetBeans 12.1

2020-08-26 Thread Geertjan Wielenga
/NETBEANS/Apache+NetBeans+12.1 Schedule: https://cwiki.apache.org/confluence/display/NETBEANS/Release+Schedule Thanks, Gj