I used to develop flash games in as3, I really liked all the documentation and libraries available, but due to money problems real world called and I had to get a job, currently I'm programming java enterprise applications (boring stuff).

I want to start making some java games (browser stuff most likely) in my free time and I'm torn apart between LWJGL or libGDX, which one do you recommend. LibGDX seems higher level and has android deployment and on the other hand LWJGL is a lot more mature and getting to know how to program games on that library seems more valuable in the long term.

You can't compare libGDX and LWJGL because they are two different things. LWJGL just provides a simple binding to OpenGL in Java. libGDX is a framework developed around LWJGL for the desktop and also has an Android backend.

libGDX lets you use OpenGL without worrying about how OpenGL works. If you want to get something done quickly, use libGDX. To learn OpenGL, use LWJGL

In my experience people who do/did Flash usually like to focus on creating content and not delve too deep in technical stuff. If that's how you see it then pick libGDX since it is a higher level framework than LWJGL which is just a binding to OpenGL.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org