像 jsfiddle 这样的在线 Java 暂存器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17945256/
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
Online Java scratchpad like jsfiddle
提问by Husman
I am looking for something like jsfiddle but for java, so that code snippets and classes can be shared and tested.
我正在寻找类似 jsfiddle 的东西,但对于 java,以便可以共享和测试代码片段和类。
At the moment, I am using a combination of pastebin and compileonline.com. I would rather not sign up for a huge online compiler service, just a quick and dirty code sharing/testing platform, that provides unique URL's for my code snippets.
目前,我正在使用 pastebin 和 compileonline.com 的组合。我宁愿不注册一个庞大的在线编译器服务,而是一个快速而肮脏的代码共享/测试平台,它为我的代码片段提供唯一的 URL。
I have seen other people asking similar questions: https://stackoverflow.com/questions/15320286/is-there-online-compiler-for-java-like-jsfiddle
我见过其他人问类似的问题:https: //stackoverflow.com/questions/15320286/is-there-online-compiler-for-java-like-jsfiddle
But there doesn't seem to be just the right tool. Anyone provide any pointers?
但似乎没有合适的工具。任何人提供任何指针?
回答by Ostap Andrusiv
I tried using http://ideone.com/. It supports a bunch of languages, including Java.
我尝试使用http://ideone.com/。它支持多种语言,包括 Java。