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 <[email protected]
<mailto:[email protected]>> 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 Kirtley <[email protected]
<mailto:[email protected]>> 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 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 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
<[email protected]
<mailto:[email protected]>> 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
<[email protected]
<mailto:[email protected]>> 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
<[email protected]
<mailto:[email protected]>> 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
<[email protected]
<mailto:[email protected]>> wrote:
On Mon, 30 Nov 2020 at 19:32, Peter Hull
<[email protected]
<mailto:[email protected]>> 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:
[email protected]
<mailto:[email protected]>
For additional commands, e-mail:
[email protected]
<mailto:[email protected]>
For further information about the NetBeans
mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists