在线运行 Java 代码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1858150/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 23:20:56  来源:igfitidea点击:

Run Java Code Online

java

提问by Lennie De Villiers

codepad.org allow you to run C,C++,D etc code online but not Java... is there a site that I can use for Java?

codepad.org 允许您在线运行 C、C++、D 等代码,但不能在线运行 Java...是否有我可以用于 Java 的站点?

采纳答案by lumen

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

还有http://ideone.com/(支持多种语言)

回答by Don Kirkby

OpenCodeappears 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.

OpenCode似乎是麻省理工学院媒体实验室的一个项目,用于在 Web 浏览器界面中在线运行 Java 代码。多年前,我在TopCoder玩了很多。但是,它运行 Java Web Start 应用程序,因此您需要安装 Java 运行时。

回答by valli

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

Zamples 是另一个站点,您可以在其中编写 Java 代码并在线运行它。在这里您也可以选择 jdk 版本。 http://www.zamples.com/JspExplorer/index.jsp?format=jdk16cl

回答by Ritu

http://ideone.com/ideone/Index/submit/you can run your java code

http://ideone.com/ideone/Index/submit/你可以运行你的java代码

回答by pablo

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

我找到了这个在线 java 编译器和运行器。它也适用于线程并立即显示结果。http://www.browxy.com

回答by Love Hasija

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

Ideone 是在线代码运行、调试的最佳站点,它还提供额外的性能统计信息。

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.

如果没有注册,您最多可以运行 5 秒的代码,对于注册,最多可以运行 15 秒。而对于 Signup 来说,代码管理和历史记录也太好了。

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

但是,它对注册用户每月有一定的最大提交量。

www.ideone.com

www.ideone.com

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

它支持 40 多种语言,并与 SPOJ 和 RecruitCoders 集成。

回答by ren

rextesterruns java snippets

rextester运行 java 片段

Also accessible as runjavaonline.com

也可通过runjavaonline.com访问

回答by Patrick Hankinson

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!

Compiler 是一个在线 Java 编译器。它提供语法突出显示并将任何错误报告给您。这是我正在做的一个项目,所以如果您有任何反馈,请发表评论!

回答by srikanth

Some new java online compiler and runner:

一些新的java在线编译器和运行器:

  1. Java Launch
  2. Srikanthdaggumalli
  1. Java 启动
  2. 斯里坎特达古马利

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

这些网站正在开发中。但是你可以查看compilation errorsRuntime Exceptions通过点击TryItYourself链接,以及一个java程序的输出。