Search code examples
spring-bootredisspring-session

Using Redis with any Java IDE on a Windows system


I have been finding it hard to configure spring session in spring boot. I have seen a lot of implementation using Redis and using gem-fire and H2 JDBC has not resulted in anything productive. Can I use Redis with IntelliJ on my Windows system, because I heard it is not supported on Windows?


Solution

  • It is true that there is no official support for Redis on Windows. From official docs:

    There is no official support for Windows builds, but Microsoft develops and maintains a Win-64 port of Redis.

    But as mentioned Microsoft has been maintaining it's own version for over a year now, where you can find new releases and well defined steps for setup on Windows.

    Tutorials:

    There is also a tutorial on how to build Redis using visual studio. You also should look into the JetBrains plugin iedis.

    Here is a tutorial for Redis with Spring, also here's an implementation of Spring Session with Redis.