在线 Java 编译器(多文件支持)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10387357/
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-10-31 00:49:56  来源:igfitidea点击:

Online Java Compiler (Multiple File Support)

javafilecompiler-construction

提问by odin

I was wondering if anyone knows of a java compiler online that supports multiple files. I have tried using the JXXX compiler(http://www.innovation.ch/java/java_compile.html) but it only has enough space for 5 source files. The program I am working on has over 10 files and the computer I am using for some reason the security program makes it unable to unzip files meaning the JDK and JRE will not work properly. If anyone knows about an online compiler that supports 10+ java files please respond or leave a link.

我想知道是否有人知道支持多个文件的在线 Java 编译器。我曾尝试使用 JXXX 编译器 ( http://www.innovation.ch/java/java_compile.html) 但它只有 5 个源文件的足够空间。我正在处理的程序有超过 10 个文件,我使用的计算机出于某种原因安全程序使其无法解压缩文件,这意味着 JDK 和 JRE 将无法正常工作。如果有人知道支持 10 多个 java 文件的在线编译器,请回复或留下链接。

回答by ionFish

If anyone is still looking for an online Java compiler with multi-file support and is simple to useplease look at http://www.compilejava.net/

如果有人仍在寻找具有多文件支持且易于使用的在线 Java 编译器,请查看http://www.compilejava.net/

回答by Tsuneo Yoshioka

https://paiza.IO/online compiler works with multiple files, supporting Java 9.

https://paiza.IO/在线编译器适用于多个文件,支持 Java 9。

回答by HymanDaniels

Codiva.io online Java compilersupports multiple files.

Codiva.io 在线 Java 编译器支持多文件。

  1. Codiva supports multiple files and packages, sub packages.
  2. You can run interactive programs.
  3. Compiles as you type and has auto completion
  1. Codiva 支持多个文件和包、子包。
  2. 您可以运行交互式程序。
  3. 在您键入时编译并具有自动完成功能

回答by Tekle

I have used this in the past and works well give it a try Java Online Compiler

我过去使用过它并且效果很好,请尝试一下Java Online Compiler

回答by Gavriel Feria

Try doing this. First compile each 5 *.java groups at a time, and compile a 5 *.jar groups, to create a single jar, etc., etc.

尝试这样做。先每次编译5个*.java组,再编译5个*.jar组,创建单个jar,等等。