java 如何下载一些java jar库文件

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

how to download some java jar library files

javaandroid

提问by manju

Has anyone migrated a an application using Java AWT library to run on Android? How do you do this? I am using these packages.

有没有人使用 Java AWT 库迁移应用程序以在 Android 上运行?你怎么做到这一点?我正在使用这些软件包。

 java.awt.AWTException;
 java.awt.Robot;
 java.awt.Rectangle;
 java.awt.Toolkit;
 java.awt.image.BufferedImage;
 java.io.*;
 javax.imageio.ImageIO;

采纳答案by zengr

Download the AWT jar here: http://duckduckgo.com/?q=!jar+awt

在此处下载 AWT jar:http: //duckduckgo.com/?q=!jar+ awt

rt.jar (in your JDK setup) has java.awt package. It has all the core java packages.

rt.jar(在您的 JDK 设置中)有 java.awt 包。它拥有所有的核心 java 包。

Try this in android: http://code.google.com/p/awt-android-compat/

在 android 中试试这个:http: //code.google.com/p/awt-android-compat/

回答by free_easy

all those classes are part of the standard JDK. http://download.oracle.com/javase/6/docs/api/

所有这些类都是标准 JDK 的一部分。http://download.oracle.com/javase/6/docs/api/

What kind and version of Java are you using?

您使用的是哪种类型和版本的 Java?