[JAVA] I want to use NetBeans on Mac → I can use it!

In a programming class at a certain university, Java programming is done using NetBeans. If you put NetBeans in your machine, you can submit assignments (coding is done with VS Code), so I definitely want to put it in, but I can not use it on Mac no matter how hard I try. I've done it for the time being, so please help someone. ** Addition: It worked safely **

environment

Machine: MacBook 2017 OS:macOS Mojave

I tried installing the Oracle JDK

For the time being, I first installed the Oracle JDK with a GUI.

However, NetBeans has little response when the main window pops up, when I press a new project button or any other button.

The same phenomenon occurred when I installed multiple JDKs and JREs on Linux before, so I thought it was strange, so I deleted all JREs and JDKs and removed all Java execution systems from within the Mac.

I installed OpenJDK.

I tried to install only OpenJDK11 without JRE, but the symptom does not improve ... Now, write the location of openjdk11 in jdk-home in netbeans.conf.

Hmmm it won't improve

Try dropping the version of OpenJDK

I heard that JDK11 does not work with Netbeans 8.2, so I installed OpenJDK9,10. I also tried writing each in netbeans.conf.

Still, the symptom does not improve.

Try installing the development version of NetBeans

http://bits.netbeans.org/download/trunk/nightly/latest/ I installed the development version of NetBeans (Build 201804200002) here.

Well, it's added to LaunchPad, but when I try to launch it, the window doesn't appear ...

help

I've run out of measures.

If anyone knows how to deal with it, could you please tell me ...?

Postscript moved

https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Download jdk8 from here. Install normally,

netbeans.conf



#At the end
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home"

It worked by writing.

I'm glad that JDK 8 works on Mojave.

Recommended Posts

I want to use NetBeans on Mac → I can use it!
[Android Studio] I want to use Maven library on Android
I want to use FormObject well
I want to use screen sharing on the login screen on Ubuntu 18
I want to put the JDK on my Mac PC
I want to display background-ground-image on heroku.
I want to use swipeback on a screen that uses XLPagerTabStrip
I just want to write Java using Eclipse on my Mac
I want to use DBViewer with Eclipse 2018-12! !!
I want to install PHP 7.2 on Ubuntu 20.04.
I want to use @Autowired in Servlet
Steps to install Maven on Mac and use it in Eclipse
I want to use arrow notation in Ruby
I want to use java8 forEach with index
I want to use Combine in UIKit as well.
I want to use Clojure's convenient functions in Kotlin
I want to use fish shell in Laradock too! !!
I want to use ES2015 in Java too! → (´ ・ ω ・ `)
I want to use a little icon in Rails
I used jnr-ffi (made it easier to use, etc.)
I want to simplify the log output on Android
I want to implement it additionally while using kotlin on a site running Java
I can read it! RxJava
I want to convert characters ...
[Beginner] I want to modify the migration file-How to use rollback-
I want to use the Java 8 DateTime API slowly (now)
I want to use the sanitize method other than View.
I want to use FireBase to display a timeline like Twitter
I want to use Java Applet easily on the command line without using an IDE
Swift: I want to chain arrays
I want to connect SONY headphones WH-1000XM4 with LDAC on ubuntu 20.04! !!
Steps to run docker on Mac
I want to add a browsing function with ruby on rails
How to use Ruby on Rails
I tried to create a Spring MVC development environment on Mac
I want to convert InputStream to String
How to use Bio-Formats on Ubuntu 20.04
I want to docker-compose up Next.js!
Use Docker on your M1 Mac
Preparing to use electron-react-boilerplate on Ubuntu 20.4
I want to add the disabled option to f.radio_button depending on the condition
Use completion in Eclipse on mac
I want to download a file on the Internet using Ruby and save it locally (with caution)
[Rails + Webpacker] I want to use images of assets! Until you can view the image in Vue.js
I want to summarize Apache Wicket 8 because it is a good idea
eclipse I definitely want you to use Transcendental Recommended Shortcut Key (Windows)
[Java] I want to make it easier because it is troublesome to input System.out.println.
Homebrew on Mac allows you to use Tomcat right away without Eclipse
[Java Spring MVC] I want to use DI in my own class
I want you to use Enum # name () for the Key of SharedPreference
I want to develop a web application!
How to check Java installed on Mac
A memorandum on how to use Eclipse
How to use Apache Derby on Eclipse
I want to write a nice build.gradle
[Ruby on Rails] How to use CarrierWave
I want to make an ios.android app
How to install Eclipse (Photon) on Mac
I want to RSpec even at Jest!
I want to write a unit test!
I can't install rails on my mac