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

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,

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

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

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

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. > >

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

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

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

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

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

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

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

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

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

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.