Sotirios-Efstathios Maneas

About Sotirios-Efstathios Maneas

Sotirios-Efstathios (Stathis) Maneas is a postgraduate student at the Department of Informatics and Telecommunications of The National and Kapodistrian University of Athens. His main interests include distributed systems, web crawling, model checking, operating systems, programming languages and web applications.

Online Java Compiler – What options are there

In this tutorial we will discuss about online Java compilers. Online Java compilers offer the ability to develop programs online, compile them, execute them and finally, download them. In case you don’t have the Java Runtime Environment (JRE) or the Java Development Kit (JDK) installed on your local machine, online compilers can help you overcome this situation by providing a text editor and an online compiler.

Moreover, online compilers can be useful when you don’t have the required permissions to install Java on a local machine and you do want to quickly execute a Java application. However, notice than an online compiler is not able to match the capabilities of an IDE, but is able to support a subset of an IDE’s operations. In the rest of this tutorial, we will discuss about a number of existing online Java compilers and their characteristics.

Compile Online

Compile Online provides the capability of online compilation and execution of a large number of programming languages, including Java. The interface for the Java programming language can be found here. The Java Virtual Machine (JVM) is being executed using the following parameters:

-Xmx128M -Xms16M

Thus, you should be careful while allocating memory for your application.

This website also provides the following features:

  • Creation of multiple Java files.
  • Command Line arguments.
  • Stdin input parameters.
  • Source code download.

Ideone

Ideone is an online compiler and debugging tool which allows you to compile source code and execute it online. Alongside with Java, Ideone also supports a large number of programming languages. Ideone imposes the following rules about online compilation:

  • Duration of compilation: 10 seconds.
  • Duration of execution: 5 seconds for logged in users and 15 seconds for registered users.
  • Total memory usage: 256 MB.

Ideone also provides the following capabilities:

  • Syntax highlighting.
  • Stdin input parameters.
  • Source code download.

JDoodle

JDoodle provides an easy way to compile and execute Java code online. JDoodle contains a very attractive interface that offers the following features for execution:

  • Command Line arguments.
  • Stdin input parameters.
  • Source code download.
  • Auto completion.

Compile Java

Compile Java is a fast and functional online Java compiler that always runs the latest version of Java. Compile Java automatically splits multiple public classes to separate files.

Compile Java is able to provide the following features:

  • Optional command-line arguments.
  • Download compiled source files (.java, .class, .jar).
  • Online download link.
  • Syntax highlighting.

RexTester

RexTester provides a simple interface to compile and execute Java code that also offers the following features:

  • Stdin input parameters.
  • Source code download.

 
This was a tutorial about Java online compilers.

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

JPA Mini Book

Learn how to leverage the power of JPA in order to create robust and flexible Java applications. With this Mini Book, you will get introduced to JPA and smoothly transition to more advanced concepts.

JVM Troubleshooting Guide

The Java virtual machine is really the foundation of any Java EE platform. Learn how to master it with this advanced guide!

Given email address is already subscribed, thank you!
Oops. Something went wrong. Please try again later.
Please provide a valid email address.
Thank you, your sign-up request was successful! Please check your e-mail inbox.
Please complete the CAPTCHA.
Please fill in the required fields.
Examples Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy | Contact
All trademarks and registered trademarks appearing on Examples Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Examples Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close