在线运行 Java 代码

Codepad.org 允许你在线运行 C、 C + + 、 D 等代码,但不能运行 Java... ... 有没有我可以用 Java 的网站?

199951 次浏览

OpenCode appears to be a project at the MIT Media Lab for running Java Code online in a web browser interface. Years ago, I played around a lot at TopCoder. It runs a Java Web Start app, though, so you would need a Java run time installed.

Zamples is another site where you write a java code and run it online. Here you have possibility to choose jdk version also. http://www.zamples.com/JspExplorer/index.jsp?format=jdk16cl

there is also http://ideone.com/ (supports many languages)

I found this online java compiler and runner. It work also with threads and showing results immediately. http://www.browxy.com

Ideone is the best site for the online code running, debugging and it provides extra performance stats also.

Without Sign Up, you can run code upto of maximum 5 sec, and for signup, upto a max of 15 sec. And for Signup, the code management and history is also too good.

However, it has some maximum amount of submissions per month for registered users.

www.ideone.com

It supports more than 40 languages, and is integrated with SPOJ and RecruitCoders.

rextester runs java snippets

Also accessible as runjavaonline.com

Compilr is an online java compiler. It provides syntax highlighting and reports any errors back to you. It's a project I'm working on, so if you have any feedback please leave a comment!

Some new java online compiler and runner:

  1. Java Launch
  2. Srikanthdaggumalli

These sites are in under development. But you can view the compilation errors, Runtime Exceptions as well as output of a java program by clicking on the TryItYourself link.