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 know how that could have been set.

On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> 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 <owen.paul.tho...@gmail.com>
> wrote:
>
>> 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 there?
>>>
>>> Gj
>>>
>>> On Sat, 26 Dec 2020 at 06:10, Owen Thomas <owen.paul.tho...@gmail.com>
>>> wrote:
>>>
>>>> On Mon, 30 Nov 2020 at 19:32, Peter Hull <peterhul...@gmail.com> 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 like this before and it was down to the
>>>>> Java platform configuration.
>>>>>
>>>>
>>>> Hello again. Having acquired my new laptop, I am setting it up and have
>>>> encountered the same problem that I was having when I earlier installed
>>>> NetBeans 12.2 on another computer. The other was, and the new one is
>>>> running Ubuntu 20.04.
>>>>
>>>> I tried to create a new project, and I found that the error was also
>>>> occurring; namely that java.lang could not be found on almost every line of
>>>> source code.
>>>>
>>>> When I look at the Java Platforms dialogue as advised by Peter, it
>>>> presents two entries: "Java 14" and "Java 14 (Default)". The first entry
>>>> looks fine, but the second one appears to be amiss because as the attached
>>>> screenshot shows that it is missing apparent details. The remove option
>>>> also appears to be disabled, so I'm currently at a loss. How do I get rid
>>>> of this second entry?
>>>>
>>>>   Owen.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>

Reply via email to