I am trying to configure everything to develop a web application, but I am not expert about that and I am having problems to start Glassfish.
I installed Netbeans 10, JDK11 and Glassfish 5, but when I try to execute a basic "Hello World!", it returns an error saying "Glassfish server could not be started with JDK11. Please select another Java SE Platform".
Maybe, am I forgettig install something more?
Only the glassfish server no longer supports the java 11 platform
Therefore,the first you need to install java platform 8: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Then you install it.
Back to Netbean, go to Tools>>Java Platforms>>JDK 1.8
If you have JDK 1.8. you can run your project with JDK 1.8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With