You could set another Java TM for NetBeans to develop.
You should set The Java TM on Tools>Java Platform,and add the platform you 
need( you must install jdk8 on your machine),then you could select the Compile 
JDK for your project in Project Right Click >Build>Compile,Select JDK 
your want on the selection.then Enjoy your code.as the following picture,you 
could need.





------------------ Original ------------------
From: "Greenberg, Gary"<ggree...@visa.com.INVALID&gt;; 
Date: 2020??8??20??(??????) ????2:14
To: "users@netbeans.apache.org"<users@netbeans.apache.org&gt;; 
Subject: using older jdk with NB12



 
To run NB12 I installed OpenJDK14 on my machine and it was working OK for a 
while.
 
It never finds any dependencies in the Maven repository, so I always have to 
add them to the pom.xml manually.
 
I can live with it, although it is a nuisance.
 
&nbsp;
 
Couple days ago I got a to support project, that was created 3-4 years ago in 
Java 8.
 
The project is in production and working fine, but I do need to make some small 
changes.
 The project is not compiling as Java14 does not have a package javax.xml.ws
 
&nbsp;
 
Can someone tell me how can I make Netbeans, which is running on JDK14 to use 
JDK8 for this particular project?
 
Thank you.
 
Gary Greenberg
 
Staff Software Engineer
 
Data Product Development, BI-A
 
E: ggree...@visa.com
 
M: 650-269-7902
 
&nbsp;
 

 
&nbsp;

Reply via email to