데이터 과학

JAVA Online compiler 본문

프로그래밍 언어론/JAVA 기초

JAVA Online compiler

티에스윤 2022. 8. 27. 17:11

JAVA 언어는 예제들을 작성해서 컴파일을 해봐야 학습이 됩니다.

 

과거에는 오라클 사이트에 가서 JDK를 다운로드하여 설치한 후에 에디터(editplus, Ultraedit)나 워드패드에서 소스를 작성해서 command 창을 (cmd) 열어 거기에 직접 javac example.java 이런 식으로 입력해서 컴파일을 했는데, 

실행은 java example

 

혹은, 이클립스를 다운로드 받아 거기서 에디터에서 코딩을 작성하여 실습합니다.

 

https://www.eclipse.org/downloads/

 

Eclipse Downloads | The Eclipse Foundation

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.

www.eclipse.org

 

 

요즘은 간단한 예제들은 온라인 자바 컴파일러에서 실습을 합니다. 

 

온라인 자바 컴파일러를 살펴보면 다음과 같습니다. 

 

 

jdoodle

 

https://www.jdoodle.com/online-java-compiler/

 

JDoodle - Online Compiler, Editor for Java, C/C++, etc

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.

www.jdoodle.com

 

쉽고 간단한 컴파일러입니다. 여러개의 클래스 창을 만들지는 못해서 정말 간단한 프로그램을 작성할 때 사용하세요. 

 

 

compliejava

 

https://www.compilejava.net/

 

Online Java IDE

 

www.compilejava.net

 

초기에 많이 사용했던 컴파일러입니다. 

특징이 아규먼트값을 넣을 수 있는 창이 있어 외부 값 입력해서 결과를 알아보는 프로그램을 작성할 수 있습니다. 

 

 

hashcode

 

https://hashcode.co.kr/code_runners

 

코드 실행기 | Hashcode

로그인하시겠습니까?

hashcode.co.kr

 

한국인이 만든 온라인 컴파일러입니다. 

커뮤니티에서 한글로 자바에 대해 토론할 수 있습니다. 

파이썬 지원됩니다. 

 

 

coding ground

 

https://www.tutorialspoint.com/compile_java_online.php

 

Online Java Compiler

/* Online Java Compiler and Editor */ public class HelloWorld{ public static void main(String []args){ System.out.println("Hello, World!"); } } Online Java Compiler (JDK 1.8.0) Online Java Compiler (JDK 1.8.0) helps you to Edit, Run and Share your Java Cod

www.tutorialspoint.com

터미널에 결과를 보면서 실행할 수 있습니다. 

 

 

browxy

 

https://www.browxy.com/

 

Online IDE and Compiler - Browxy

0x

www.browxy.com

 

온라인 컴파일러라고 하기엔 시스템적이네요. 프로젝트까지 가능한 컴파일러입니다. 

 

 

ideon

 

https://ideone.com/

 

Ideone.com

Ideone is something more than a pastebin; it's an online compiler and debugging tool which allows to compile and run code online in more than 40 programming languages.

ideone.com

 

 

onlinegdb

 

https://www.onlinegdb.com/

 

GDB online Debugger | Compiler - Code, Compile, Run, Debug online C, C++

Online GDB is online compiler and debugger for C/C++. You can compile, run and debug code with gdb online. Using gcc/g++ as compiler and gdb as debugger. Currently C and C++ languages are supported.

www.onlinegdb.com

 

 

 

paiza

 

https://paiza.io/en/projects/new?locale=en-us 

 

Online editor and compiler

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

paiza.io

 

많은 언어들을 선택해서 컴파일 할 수 있는 사이트입니다. 

 

 

replit

 

https://replit.com/@replit/Java-Beta?v=1#Main.java 

 

Java-Beta - Nix (beta) Repl

Java is a concurrent, class-based, statically typed object-oriented language.

replit.com

 

 

rextester

 

https://rextester.com/l/java_online_compiler

 

compile java online

 

rextester.com

흑백 화면이 운치가 있어 보입니다. 

 

 

 

온라인 컴파일러로 자바 예제들을 실습해 봅시다. 

이외에 Blue J라는 컴파일러도 과거에는 자주 사용했습니다. 지금도 이클립스와 같이 프로그래머들이 많이들 사용하고 있습니다. 

 

https://www.bluej.org/

 

BlueJ

BlueJ A free Java Development Environment designed for beginners, used by millions worldwide. Find out more... "One of my favourite IDEs out there is BlueJ"— James Gosling, creator of Java.

www.bluej.org

 

'프로그래밍 언어론 > JAVA 기초' 카테고리의 다른 글

제어문  (5) 2022.09.04
연산자 예제, 상속과 캐스팅  (0) 2022.09.02
For each  (0) 2022.08.22
연산자  (2) 2022.08.21
class 와 method 정의  (8) 2022.08.14