Just delete and uninstall everything and install the JDK from scratch. Don’t set up NetBeans until you can run java and javac from the command line.
Gj Sent from my iPhone > On 4 Jun 2019, at 17:11, Eef Custers <[email protected]> wrote: > > Hi Geertjan, > > Concerning the jdk directory, I didnot use the standard directory. This > "c:\java_lib" directory also contains the javafx libraries. > > In a command-box I ran: > > C:\Tools\netbeans-11.0\bin>javac -version > javac 12.0.1 > > C:\Tools\netbeans-11.0\bin>java -version > java version "1.8.0_212" > Java(TM) SE Runtime Environment (build 1.8.0_212-b10) > Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode) > > This is wrong, because I have removed the java version 8 settings from the > configuration. Now I found out that the Oracle Java RTE settings override my > settings. I changed the sequence int the PATH variable and moved the Oracle > javapath below the JAV_HOME\bin setting. > Result: > > C:\Users\ecusters>java -version > openjdk version "12.0.1" 2019-04-16 > OpenJDK Runtime Environment (build 12.0.1+12) > OpenJDK 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing) > > Now again I removed the cache settings of the user and run Netbeans again. > Unfortunately, the change did not solved the problem. I included the log file > again. > > Regards, > > Eef > > > > > Op di 4 jun. 2019 om 16:12 schreef Geertjan Wielenga <[email protected]>: >> I believe that that indicated something about Linux, while you're on Windows. >> >> Maybe your JDK distribution is for Linux, and this looks strange too, in >> your netbeans.conf: >> >> netbeans_jdkhome="c:\java_lib\jdk-12.0.1\" >> >> I.e., are you sure Java is installed correctly? >> >> What happens when you run 'javac -version' and/or 'java version' on the >> command line? >> >> Gj >> >>> On Tue, Jun 4, 2019 at 4:08 PM Geertjan Wielenga <[email protected]> >>> wrote: >>> One thing that looks strange is this in messages.log: >>> >>> java.io.FileNotFoundException: C:\proc\self\exe (The system cannot find the >>> path specified) >>> at java.base/java.io.RandomAccessFile.open0(Native Method) >>> at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:347) >>> at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:261) >>> at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:216) >>> at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:129) >>> at com.sun.jna.ELFAnalyser.runDetection(ELFAnalyser.java:109) >>> at com.sun.jna.ELFAnalyser.analyse(ELFAnalyser.java:36) >>> [catch] at com.sun.jna.Platform.isSoftFloat(Platform.java:259) >>> >>> Gj >>> >>>> On Tue, Jun 4, 2019 at 3:37 PM Eef Custers <[email protected]> wrote: >>>> Hi Geertjan, >>>> >>>> I deleted the Netbeans cache directories and started Netbeans again. I ran >>>> into the same problem. In this mail you will find the requested files. >>>> Regards, >>>> >>>> Eef >>>> >>>> >>>> Op di 4 jun. 2019 om 09:08 schreef Geertjan Wielenga <[email protected]>: >>>>> Should be fine at this point, try it, we’ll update that documentation. >>>>> >>>>> Gj >>>>> >>>>>> On Tue, 4 Jun 2019 at 07:47, Alexander Faust <[email protected]> >>>>>> wrote: >>>>>> Hello, >>>>>> >>>>>> Is it possible to build the Apache Netbeans Application Platform with >>>>>> Java / Open JDK 11? >>>>>> >>>>>> The "Building from source" tutorial still shows: Oracle’s Java 8 or Open >>>>>> JDK v8. >>>>>> https://netbeans.apache.org/download/nb110/nb110.html >>>>>> >>>>>> The problem is i can't change the source level of any module above Java >>>>>> 8 of our Netbeans Application Platform, otherwise a warning in the >>>>>> Output window shows that a higher version is not supported. >>>>>> >>>>>> Thanks Alex >>>> >>>> >>>> -- >>>> Met vriendelijke groeten, >>>> >>>> E. Custers, >>>> Oracle & Java Ontwikkelaar / Senior Oracle DBA >>>> OrendaFlex BV >>>> Orenda iT Services BV >>>> 00 31 6 5499 2250 >>>> ==================================== >>>> Oracle database Beheer & Data Management >>>> ==================================== > > > -- > Met vriendelijke groeten, > > E. Custers, > Oracle & Java Ontwikkelaar / Senior Oracle DBA > OrendaFlex BV > Orenda iT Services BV > 00 31 6 5499 2250 > ==================================== > Oracle database Beheer & Data Management > ====================================
