[JAVA] I stumbled when I tried using neo4j in the jenv environment, so make a note

I stumbled when I tried to use neo4j in brew, so make a note It was due to the jenv and Java versions

Conclusion

--Use Java 8 --Set $ JAVA_HOME even if you are using jenv

environment

Symptoms

From [http: // localhost: 7474](http: // localhost: 7474) username: neo4j password: neo4j I can't connect even if I access with The error message looks like this ServiceUnavailable: WebSocket connection failure even on localhost

Apparently WebSocket isn't saying well

Countermeasures

#First install Java 8
#After installation, add to jenv and set to global
$ jenv add /path/to/jdk1.8/Contents/Home/
$ jenv global 1.8
# $JAVA_HOME automatic setting
$ jenv enable-plugin export
#Reboot the terminal 1.Check if it is 8
$ echo $JAVA_HOME
#neo4j reboot
$ neo4j restart
$ open http://localhost:7474

Recommended Posts

I stumbled when I tried using neo4j in the jenv environment, so make a note
[When using MiniMagick] A memorandum because I stumbled in the CircleCI test environment.
I read the readable code, so make a note
After learning Progate, I tried to make an SNS application using Rails in the local environment
I summarized the points to note when using resources and resources in combination
[JAVA] Project Euler, I got stuck in Q8, so make a note
I tried to make a talk application in Java using AI "A3RT"
I tried to make a sample program using the problem of database specialist in Domain Driven Design
[Note] Execute java program in the integrated development environment Eclipse-I tried using git
I tried using a database connection in Android development
I tried to make a login function in Java
Note that I stumbled upon building the Rails environment
I tried using the GitHub repository as a library server
I tried JAX-RS and made a note of the procedure
I tried using Hotwire to make Rails 6.1 scaffold a SPA
I tried to build the environment little by little using docker
I tried to make a client of RESAS-API in Java
I tried to illuminate the Christmas tree in a life game
I passed the Java test level 2 so I will leave a note
[Unity] I tried to make a native plug-in UniNWPathMonitor using NWPathMonitor
Build a browser test environment using Capybara in the Docker development environment
I tried using JWT in Java
[Java] I tried to make a maze by the digging method ♪
I tried to make a parent class of a value object in Ruby
I tried to make a simple face recognition Android application using OpenCV
A story I was addicted to when testing the API using MockMVC
I tried to build a Firebase application development environment with Docker in 2020
I tried to make full use of the CPU core in Ruby
I tried a calendar problem in Ruby
I tried the new era in Java
Creating a Servlet in the Liberty environment
I tried the AutoValue library in Intellij
I tried embedding a formula in Javadoc
A story when I tried to make a video by linking Processing and Resolume
What I tried when I wanted to get all the fields of a bean
(Capistrano) After deploying, I get a We're sorry… error in the production environment.
I was a little addicted to the S3 Checksum comparison, so I made a note.
A note when I'm addicted to using Docker Hub Vault in server mode
[Small story] I tried to make the java ArrayList a little more convenient
I stumbled on the Java version in Android Studio, so I will summarize it
I tried using Docker for the first time
[For beginners] I tried using DBUnit in Eclipse
[For beginners] I tried using JUnit 5 in Eclipse
I tried to organize the session in Rails
A note when the heroku command becomes unavailable
A note when you want Tuple in Java
I wanted to make (a == 1 && a == 2 && a == 3) true in Java
[API] I tried using the zip code search API
[Note] Struts2 environment construction using Gradle in Eclipse
I tried to implement a server using Netty
I tried using the profiler of IntelliJ IDEA
When making a personal app, I was wondering whether to make it using haml
I tried using Docker because I don't want to pollute the local environment in Microsoft Teams tab development of MS Learn
Create a Java development environment using jenv on Mac
I tried to organize the cases used in programming
I tried using the Server Push function of Servlet 4.0
I get Mysql2 :: Error :: ConnectionError in the production environment
I tried using Google Cloud Vision API in Java
I tried to decorate the simple calendar a little
# 2 [Note] I tried to calculate multiplication tables in Java.
I tried using the Migration Toolkit for Application Binaries