[JAVA] [Win10] Build a JSF development environment with NetBeans

background

I haven't touched Java before, but suddenly I touched JSF, so I tried to get started. I'm going to output a memo of what I did because it's a big deal

First of all, make a note about building the development environment

way

Step1 Install the JDK Step2 Edit PATH Step3 Install NetBeans Step4 Try to make a project

Step1 Install Java

Download the JDK from the following site Java SE Development Kit 8 Downloads

At this time, download ** Java SE 8 ** instead of Java SE 10. If I install the latest 10 ones, I get an error when installing NetBeans Thanks to this guy, 30 minutes wasted ...

Once the download is complete, follow the installer and you're good to go

Step2 Edit PATH

Open "Control Panel"-> "System and Security"-> "System"-> "Advanced system settings" Click the "Environment variable (N) ..." button to open the environment variable setting screen.

There is a variable called "Path" in "System environment variables", so press the new button from the edit window and add the path of the bin directory of the location where you installed the JDK. Example: C: \ Program Files \ Java \ jdk1.8.0_181 \ bin

Launch a command prompt and check if the PATH is correct javacIf you enter and the following is displayed, it is ok

>javac
how to use: javac <options> <source files>
The available options are:
  -g Generate all debug information
  -g:none Do not generate debug information
  -g:{lines,vars,source}Generate only some debug information
  -nowarn do not raise a warning

~Omission~

  -J<flag>                   <flag>Pass directly to the execution system
  -Quit compilation when Werror warning occurs
  @<filename>Read from file options and filename

Next, add a new variable called JAVA_HOME to the system environment variables. The value will be the path where you installed the JDK Example: C: \ Program Files \ Java \ jdk1.8.0_181

Also, launch the command prompt again and check if it is set correctly. set java_homeIf you enter and the following is displayed, it is ok

>set JAVA_HOME
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181

Step3 Install NetBeans

Download the installer from the following site NetBeans IDE Download

There are several types of download bundles, but this time I downloaded "Java EE" Launch the installer when the download is complete

If Java SE 8 is installed and the PATH is set correctly, you can install it according to the installer without any problem.

Step4 Try to make a project

And, when the screen is displayed safely, the development environment construction memo ends here

Recommended Posts

[Win10] Build a JSF development environment with NetBeans
Build a PureScript development environment with Docker
Build a Wordpress development environment with Docker
Build a WordPress development environment quickly with Docker
Build a Java development environment with VS Code
[Environment construction] Build a Java development environment with VS Code!
Build jooby development environment with Eclipse
Build a "Spring Thorough Introduction" development environment with IntelliJ IDEA
Build a Java development environment on Mac
Build a simple Docker + Django development environment
Build a development environment for Django + MySQL + nginx with Docker Compose
Steps to build a Ruby on Rails development environment with Vagrant
Build a development environment for Docker + Rails6 + Postgresql
Let's get started with Java-Create a development environment ②
Let's get started with Java-Create a development environment ①
Build a Laravel / Docker environment with VSCode devcontainer
Build a hot reload development environment with Docker-compose using Realize of Go
I tried to build a Firebase application development environment with Docker in 2020
[Copy and paste] Build a Laravel development environment with Docker Compose Part 2
Build a simple Docker Compose + Django development environment
Build a development environment on AWS EC2 with CentOS7 + Nginx + pm2 + Nuxt.js
Build a development environment for Docker, java, vscode
How to build a Ruby on Rails development environment with Docker (Rails 5.x)
Template: Build a Ruby / Rails development environment with a Docker container (Ubuntu version)
[First team development ②] Build an environment with Docker
Template: Build a Ruby / Rails development environment with a Docker container (Mac version)
Create a Spring Boot development environment with docker
Build a development environment to create Ruby on Jets + React apps with Docker
Build Java development environment with VS Code on Mac
Build a Ruby on Rails development environment on AWS Cloud9
Easily build a Vue.js environment with Docker + Vue CLI
[Note] Build a Python3 environment with Docker in EC2
Build Java development environment with WSL2 Docker VS Code
How to build Java development environment with VS Code
[Docker] Build a Wordpress environment locally (Win, Mac) quickly
Try to build a Java development environment using Docker
Build Java program development environment with Visual Studio Code
Build docker environment with WSL
Ruby ① Build a Windows environment
Until you build a Nuxt.js development environment with Docker and touch it with VS Code
[Rails] [Docker] Copy and paste is OK! How to build a Rails development environment with Docker
Build a local development environment for Open Distro for Elasticsearch with multiple nodes using Docker
How to quit Docker for Mac and build a Docker development environment with Ubuntu + Vagrant
I tried to create a java8 development environment with Chocolatey
I made a development environment with rails6 + docker + postgreSQL + Materialize.
Build a CentOS 8 virtual environment on your Mac with VirtualBox
How to build Rails, Postgres, ElasticSearch development environment with Docker
Build a Node-RED environment with Docker to move and understand
I tried to create a padrino development environment with Docker
Build WebAPP development environment with Java + Spring with Visual Studio Code
Build a local development environment for Rails tutorials with Docker-Introduce Bootstrap and Font Awesome with Webpack-
Create a Vue3 environment with Docker!
Build Couchbase local environment with Docker
Build a Java project with Gradle
Prepare Java development environment with Atom
Build PlantUML environment with VSCode + Docker
Build environment with vue.js + rails + docker
Build Rails environment with Docker Compose
Build a web application with Javalin
Build Java development environment (for Mac)
Build a XAMPP environment on Ubuntu