Well, if you are looking for Online IDE that support both C++ and Java. Here are some excellent option that I would like to suggest.

  1. JDoodle
  2. Online IDE Pro
  3. CodeHS IDE

If i have to suggest i would recommend pick JDoodle because it is very beginner-friendly and you donโ€™t need intsall anything just open the browser and start coding. It support both C++ and Java and has very useful features.

Hope this will help.

Answer from Mamta Bankoti on Stack Exchange
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ compilers โ€บ online-java-compiler.htm
Online Java Compiler & IDE - Write, Run & Debug Java Code
Free online Java Compiler and IDE. Write, compile, run and debug Java code online. No installation required. Supports debugging, code sharing, and multiple examples.
๐ŸŒ
Apache NetBeans
netbeans.apache.org โ€บ front โ€บ main โ€บ index.html
Welcome to Apache NetBeans
It highlights source code syntactically and semantically, lets you easily refactor code, with a range of handy and powerful tools. ... Apache NetBeans provides editors, wizards, and templates to help you create applications in Java, PHP and many other languages.
๐ŸŒ
Reddit
reddit.com โ€บ r/compilers โ€บ any free, or cheap, online compilers for python and java?
r/Compilers on Reddit: Any free, or cheap, online compilers for Python and Java?
October 13, 2023 -

I'm trying to make an online editor and compiler for my students to run code on. Yes, there are some out there but they don't fit my needs.

I've been able to use OneCompiler's API through RapidAPI but it costs a bit too much. Is there an open source compiler I can run on a server and connect to? I've tried use Codex-API but can't get the darn thing to work. It needs me to setup a docker container and such but I get errors. Not sure if it's a me thing or not so I'm looking for guidance from y'all with other possible solutions that I might be missing. Thanks.

๐ŸŒ
Reddit
reddit.com โ€บ r/learnjava โ€บ free online java ide as alternative to visual studio code
r/learnjava on Reddit: Free online JAVA IDE as alternative to Visual studio code
February 9, 2024 -

Hello there

Are you guys aware of any good online JAVA IDE that supports coding suggestions and error corrections highlighting like Visual studio code?

I have very old Macbook pro (2011 edition) that does not support latest Visual studio code and as Im trying to learn Java on my own, I am looking for any online alternatives for writing and testing any java code or program that works just as well as Visual studio code.

Thank you in advance and have a good weekend.

๐ŸŒ
JDoodle
jdoodle.com โ€บ online-java-compiler
Online Compiler and Editor/IDE for Java, C, C++, PHP, Python, Ruby, Perl - Code and Run Online
JDoodle is an Online Compiler, Editor, IDE for Java, C, C++, PHP, Perl, Python, Ruby and many more. You can run your programs on the fly online, and you can save and share them with others. Quick and Easy way to compile and run programs online.
๐ŸŒ
Replit
webflow.replit.com โ€บ language โ€บ online-java-compiler
Java Online Compiler & Interpreter | Replit
Create, debug, share and run Java code online. ... Monaco Editor with comprehensive Java syntax highlighting for classes, interfaces, methods, and annotations
๐ŸŒ
Domsignal
domsignal.com โ€บ home โ€บ java online compiler | write and test java code online with ease
Java Online Compiler | Write and Test Java Code Online with Ease
Run Java code online without installing any software on your computer. Domsignal Java compiler is a free tool and can be accessed from anywhere.
Find elsewhere
๐ŸŒ
Oracle Java
dev.java โ€บ playground
The Java Playground - Dev.java
Copyright ยฉ 2026 Oracle and/or its affiliates. All rights reserved. Terms of Use | Privacy | Trademarks
๐ŸŒ
Programiz
programiz.com โ€บ java-programming โ€บ online-compiler
Online Java Compiler - Programiz
// Online Java Compiler // Use this editor to write, compile and run your Java code online class Main { public static void main(String[] args) { System.out.println("Try programiz.pro"); } }
๐ŸŒ
Paiza
paiza.io โ€บ en โ€บ languages โ€บ online-java-compiler
Online PHP/Java/C++... editor and compiler | paiza.IO
Paiza.IO is online editor and compiler. Java, Ruby, Python, PHP, Perl, Swift, JavaScript... You can use for learning programming, scraping web sites, or writing batch
๐ŸŒ
CoderPad
coderpad.io โ€บ languages โ€บ java
Java Online IDE & Code Editor for Technical Interviews
September 5, 2025 - import org.junit.*; import org.junit.runner.*; public class Solution { @Test public void testNoop() { Assert.assertTrue(true); } public static void main(String[] args) { JUnitCore.main("Solution"); } } Code language: Java (java)
๐ŸŒ
Microsoft
visualstudio.microsoft.com
Visual Studio: IDE and Code Editor for Software Development
Visual Studio dev tools & services make app development easy for any developer, on any platform & language. Develop with our code editor or IDE anywhere for free.
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ languages โ€บ java
Java in Visual Studio Code
November 3, 2021 - Support for Java in Visual Studio Code is provided through a wide range of extensions. Combined with the power of core VS Code, these extensions give you a lightweight and performant code editor that also supports many of the most common Java ...
๐ŸŒ
Codeanywhere
codeanywhere.com โ€บ languages โ€บ java
Java Online IDE, Compiler, Interpreter & Code Editor ยท AI Cloud IDE ยท Codeanywhere
You can code, learn, build, run, deploy and collaborate on your Java projects instantly from our online browser based Cloud IDE.
๐ŸŒ
Google Play
play.google.com โ€บ store โ€บ apps โ€บ details
Compile Java - Run .java Code - Apps on Google Play
Interactive Java Programming IDE with Code Editing and Syntax Highlighting
Rating: 2.7 โ€‹ - โ€‹ 292 votes
๐ŸŒ
Python Tutor
pythontutor.com โ€บ java.html
Visualize Java Code - Java Visualizer, Tutor, and Debugger with AI Help
Free online Java compiler and visual debugger. Step-by-step visualization with AI tutoring to learn object-oriented programming.
๐ŸŒ
JetBrains
jetbrains.com โ€บ idea
The Leading IDE for Professional Java and Kotlin Development
2 weeks ago - IntelliJ IDEA is the JetBrains IDE for pro development in Java and Kotlin. Built for your comfort, it unlocks productivity, ensures quality code, supports cutting-edge tech, and protects your privacy.
๐ŸŒ
OnlineGDB
onlinegdb.com โ€บ online_java_compiler
Online Java Compiler - online editor
/****************************************************************************** Online Java Compiler. Code, Compile, Run and Debug java program online. Write your code in this editor and press "Run" button to execute it.