Java ACM package(Java ACM 包)
问题描述
我正在尝试在 Eclipse 中编写一个 java 应用程序.
I'm trying to write a java application in Eclipse.
我真的很想使用 ACM.Program 包,但是,我的 Eclipse 副本没有安装它!
I'm really wanting to use the ACM.Program package, however, my copy of Eclipse doesn't have it installed!
我在网上找遍了,我找不到 ACM 包的单个下载.
I've looked all over the net, and I can't find a single download for the ACM package.
更多信息:每当我尝试代码时:
More info: Whenever I try the code:
package helloGeiodo;
import acm.program.*;
public class Add2 extends Program {
public void run() {
println("This program adds two numbers.");
int n1 = readInt("Enter n1: ");
int n2 = readInt("Enter n2: ");
int total = n1 + n2;
println("The total is " + total + ".");
}
}
我在 ying-yang 上下都有错误,都暗示没有acm.program"这样的东西.
I get errors up and down the ying-yang, all implying that there is no such thing as "acm.program".
无论如何,我需要知道在哪里可以找到 ACM 包,以及如何安装它.
Anyways, I need to know where to find the ACM package, and, how to install it.
谢谢!
--弗林
推荐答案
您可以从 acm.jar"nofollow">ACM Java 工作组 然后 将它添加到你的类路径.
You can download acm.jar
from the ACM Java Task Force and then add it to your classpath.
看来之前的链接已经失效了.这些文件仍然可以在 Eric Roberts 的斯坦福页面上找到.
It appears that the previous link is dead. The files are still available at Eric Roberts' Stanford page.
这篇关于Java ACM 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Java ACM 包


基础教程推荐
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 降序排序:Java Map 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01