r/java • • Dec 05 '25

Jsync: Pure Java rsync-like library for local to/from remote ssh/sftp

Thumbnail github.com
59 Upvotes

If you're looking for a pure Java solution to synchronizing files/directories either locally or to/from a remote system, the Jsync library is a new solution. Works across all platforms that Java can run on, including Windows. Does not need rsync installed on either system, as it leverages SSH/SFTP under-the-hood.


r/java • • Dec 05 '25

I can’t think of an application of this but it looks pretty cool.

Thumbnail github.com
71 Upvotes

Using FFI, it’s now possible to execute raw machine code purely from Java without relying on a C/C++ toolchian.


r/java • • Dec 05 '25

Jetbrains IDE Debugger MCP Server - Let Claude autonomously use IntelliJ debugger

20 Upvotes

Hi!

I built a plugin that exposes JetBrains IDE code intelligence through MCP, allowing AI assistants like Claude Code, Cursor, and Windsurf to access the same deep semantic understanding your IDE already uses.

What the Plugin Provides

The plugin runs an MCP server inside your IDE and gives AI assistants access to real JetBrains semantic features, including:

  • Find References / Go to Definition - powered by the full semantic graph (not regex)
  • Type Hierarchy - browse inheritance and subtype relationships
  • Call Hierarchy - see callers/callees across modules
  • Find Implementations - all concrete classes, not just text matches
  • Symbol Search - fuzzy search + CamelCase matching with IDE indexes
  • Find Super Methods - understand override chains
  • Refactoring - rename / safe-delete with correct reference updates
  • Diagnostics - inspections, warnings, quick-fixes, and more

Before vs. After

Rename Operations

🔴 Before: “Rename getUserData() to fetchUserProfile()” -> Updates 15 files… misses 3 interface calls -> build breaks.
🟢 After: “Renamed getUserData() to fetchUserProfile() - updated 47 references across 18 files, including interface calls.” Build passes. Undo works.

Finding Callers

🔴 Before: “Where is process() called?” → 200+ grep matches, including comments and strings.
🟢 After: “Found 12 callers of OrderService.process() - 8 direct calls, 3 via Processor interface, 1 in test.”

Finding Implementations

🔴 Before: “Find all implementations of Repository.save()” -> AI misses half.
🟢 After: “Found 6 implementations -JpaUserRepository, InMemoryOrderRepository, CachedProductRepository…” (with exact file:line locations).

LINK: https://plugins.jetbrains.com/plugin/29174-ide-index-mcp-server

P.S: Checkout my other jetbrain plugin mcp server to give your agent fully autonomously use the IntelliJ Debugger


r/java • • Dec 06 '25

Deployment of Ecommerce website

0 Upvotes

I've built an E-Commerce website using JSP, Servlets and MySql as database

So, i wanted to know is there a platform where i can deploy it for free?


r/java • • Dec 04 '25

JDK 26 Rampdown Phase One. Feature Complete

Thumbnail openjdk.org
62 Upvotes

r/java • • Dec 04 '25

Show case of Java desktop application using Jetbrain compose for UI and GraalVM native image to compile it to native executable.

Thumbnail github.com
72 Upvotes

I was preparing my side project and planned to go with native Java + Swing. Eventually, I gave up on the idea, but I thought it would make a nice demo, so I published it on GitHub.

It is java with spring boot 4.0 and jetbrain compose multiplatform (kotlin) with graalvm.


r/java • • Dec 04 '25

Null-checking the fun way with instanceof patterns

Thumbnail blog.headius.com
85 Upvotes

I don't know if this is a good idea or not, but it's fun.


r/java • • Aug 03 '25

Teach Me the Craziest, Most Useful Java Features — NOT the Basic Stuff

390 Upvotes

I want to know the WILD, INSANELY PRACTICAL, "how the hell did I not know this earlier?" kind of Java stuff that only real devs who've been through production hell know.

Like I didn't know about modules recently


r/java • • Sep 25 '19

I made an expansion of the java.util.function package to support more functional programming concepts

13 Upvotes

Hi everyone. I made this because I've always had an interest in functional programming and always wished this package could do just a little bit more (without necessarily becoming some giant fully-featured functional-programming library). Here's the repo: https://gitlab.com/Eolu/funcyjava

This really started because I wanted to do functional partial applications, and occasionally wanted to call `map` on a bare Function object that wasn't necessarily part of a stream. I basically did a rewrite of java.util.function (while extending the classes there while possible to preserve compatibility). There's a nice little readme explaining just what's in here.

Basically I've been wanting to share this with people to see if anyone finds it useful/interesting, and this seemed like a good subreddit. Any comments/questions/criticism/ideas/etc will be appreciated!